/openbmc/linux/Documentation/devicetree/bindings/reset/ |
H A D | hisilicon,hi3660-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wei Xu <xuwei5@hisilicon.com> 15 The reset controller registers are part of the system-ctl block on 21 - items: 22 - const: hisilicon,hi3660-reset 23 - items: 24 - const: hisilicon,hi3670-reset [all …]
|
H A D | microchip,rst.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/microchip,rst.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steen Hegelund <steen.hegelund@microchip.com> 11 - Lars Povlsen <lars.povlsen@microchip.com> 16 - One Time Switch Core Reset (Soft Reset) 20 pattern: "^reset-controller@[0-9a-f]+$" 24 - microchip,sparx5-switch-reset 25 - microchip,lan966x-switch-reset [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | canaan,k210-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Damien Le Moal <dlemoal@kernel.org> 20 - const: canaan,k210-sysctl 21 - const: syscon 22 - const: simple-mfd 29 clock-names: 31 - const: pclk [all …]
|
/openbmc/linux/drivers/reset/hisilicon/ |
H A D | reset-hi3660.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2016-2017 Linaro Ltd. 4 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. 7 #include <linux/mfd/syscon.h> 12 #include <linux/reset-controller.h> 15 struct reset_controller_dev rst; member 20 container_of(_rst, struct hi3660_reset_controller, rst) 30 return regmap_write(rc->map, offset, mask); in hi3660_reset_program_hw() 32 return regmap_write(rc->map, offset + 4, mask); in hi3660_reset_program_hw() 70 offset = reset_spec->args[0]; in hi3660_reset_xlate() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/intel/ |
H A D | socfpga_agilex.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/agilex-clock.h> 13 compatible = "intel,socfpga-agilex"; 14 #address-cells = <2>; 15 #size-cells = <2>; 17 reserved-memory { [all …]
|
/openbmc/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/stratix10-clock.h> 12 compatible = "altr,socfpga-stratix10"; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 reserved-memory { 17 #address-cells = <2>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_stratix10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 11 compatible = "altr,socfpga-stratix10"; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-a53", "arm,armv8"; [all …]
|
H A D | socfpga_arria10.dtsi | 17 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 21 #address-cells = <1>; 22 #size-cells = <1>; 25 tick-timer = &timer2; 26 u-boot,dm-pre-reloc; 30 #address-cells = <1>; 31 #size-cells = <0>; 32 enable-method = "altr,socfpga-a10-smp"; 35 compatible = "arm,cortex-a9"; [all …]
|
H A D | socfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/reset/altr,rst-mgr.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 24 enable-method = "altr,socfpga-smp"; 27 compatible = "arm,cortex-a9"; 30 next-level-cache = <&L2>; 33 compatible = "arm,cortex-a9"; [all …]
|
H A D | stih407-family.dtsi | 9 #include "stih407-pinctrl.dtsi" 10 #include <dt-bindings/mfd/st-lpc.h> 11 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/reset/stih407-resets.h> 13 #include <dt-bindings/interrupt-controller/irq-st.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 18 reserved-memory { 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_arria10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 enable-method = "altr,socfpga-a10-smp"; 19 compatible = "arm,cortex-a9"; 22 next-level-cache = <&L2>; [all …]
|
H A D | socfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/reset/altr,rst-mgr.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 24 enable-method = "altr,socfpga-smp"; 27 compatible = "arm,cortex-a9"; 30 next-level-cache = <&L2>; 33 compatible = "arm,cortex-a9"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | starfive,jh7110-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/starfive,jh7110-dwmac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Emil Renner Berthing <kernel@esmil.dk> 12 - Samin Guo <samin.guo@starfivetech.com> 19 - starfive,jh7110-dwmac 21 - compatible 26 - enum: 27 - starfive,jh7110-dwmac [all …]
|
H A D | hisilicon-hns-dsaf.txt | 4 - compatible: should be "hisilicon,hns-dsaf-v1" or "hisilicon,hns-dsaf-v2". 5 "hisilicon,hns-dsaf-v1" is for hip05. 6 "hisilicon,hns-dsaf-v2" is for Hi1610 and Hi1612. 7 - mode: dsa fabric mode string. only support one of dsaf modes like these: 8 "2port-64vf", 9 "6port-16rss", 10 "6port-16vf", 11 "single-port". 12 - interrupts: should contain the DSA Fabric and rcb interrupt. 13 - reg: specifies base physical address(es) and size of the device registers. [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | aspeed_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/clk-provider.h> 29 #include <linux/mfd/syscon.h> 117 struct reset_control *rst; member 178 struct device_node *syscon; in aspeed_adc_set_trim_data() local 183 syscon = of_find_node_by_name(NULL, "syscon"); in aspeed_adc_set_trim_data() 184 if (syscon == NULL) { in aspeed_adc_set_trim_data() 185 dev_warn(data->dev, "Couldn't find syscon node\n"); in aspeed_adc_set_trim_data() 186 return -EOPNOTSUPP; in aspeed_adc_set_trim_data() 188 scu = syscon_node_to_regmap(syscon); in aspeed_adc_set_trim_data() [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | stm32_rproc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved 8 #include <linux/arm-smccc.h> 9 #include <linux/dma-mapping.h> 13 #include <linux/mfd/syscon.h> 81 struct reset_control *rst; member 99 struct stm32_rproc *ddata = rproc->priv; in stm32_rproc_pa_to_da() 102 for (i = 0; i < ddata->nb_rmems; i++) { in stm32_rproc_pa_to_da() 103 p_mem = &ddata->rmems[i]; in stm32_rproc_pa_to_da() 105 if (pa < p_mem->bus_addr || in stm32_rproc_pa_to_da() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/can/ |
H A D | bosch,c_can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Dario Binacchi <dariobin@libero.it> 15 - $ref: can-controller.yaml# 20 - enum: 21 - bosch,c_can 22 - bosch,d_can 23 - ti,dra7-d_can 24 - ti,am3352-d_can [all …]
|
/openbmc/linux/drivers/clk/visconti/ |
H A D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/mfd/syscon.h> 26 const struct visconti_reset_data *data = &reset->resets[id]; in visconti_reset_assert() 27 u32 rst = BIT(data->rs_idx); in visconti_reset_assert() local 31 spin_lock_irqsave(reset->lock, flags); in visconti_reset_assert() 32 ret = regmap_update_bits(reset->regmap, data->rson_offset, rst, rst); in visconti_reset_assert() 33 spin_unlock_irqrestore(reset->lock, flags); in visconti_reset_assert() 41 const struct visconti_reset_data *data = &reset->resets[id]; in visconti_reset_deassert() 42 u32 rst = BIT(data->rs_idx); in visconti_reset_deassert() local 46 spin_lock_irqsave(reset->lock, flags); in visconti_reset_deassert() [all …]
|
/openbmc/linux/drivers/phy/socionext/ |
H A D | phy-uniphier-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-uniphier-pcie.c - PHY driver for UniPhier PCIe controller 12 #include <linux/mfd/syscon.h> 63 struct reset_control *rst, *rst_gio; member 80 writel(data, priv->base + PCL_PHY_TEST_I); in uniphier_pciephy_testio_write() 81 readl(priv->base + PCL_PHY_TEST_O); in uniphier_pciephy_testio_write() 82 readl(priv->base + PCL_PHY_TEST_O); in uniphier_pciephy_testio_write() 87 u32 val = readl(priv->base + PCL_PHY_TEST_O); in uniphier_pciephy_testio_read() 126 val = readl(priv->base + PCL_PHY_RESET); in uniphier_pciephy_assert() 129 writel(val, priv->base + PCL_PHY_RESET); in uniphier_pciephy_assert() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | synopsys-dw-mshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 16 - altr,socfpga-dw-mshc 17 - img,pistachio-dw-mshc 18 - snps,dw-mshc 33 clock-names: 35 - const: biu [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | syna.txt | 3 According to https://www.synaptics.com/company/news/conexant-marvell 7 --------------------------------------------------------------- 16 Please refer to Documentation/devicetree/bindings/ABI.rst for a definition of a 19 --------------------------------------------------------------- 30 "marvell,berlin2cd" for Marvell Armada 1500-mini (BG2CD, 88DE3005) 32 "marvell,berlin2q" for Marvell Armada 1500-pro (BG2Q, 88DE3114) 38 model = "Sony NSZ-GS7"; 39 compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin"; 50 - compatible: should be "marvell,berlin-cpu-ctrl" 51 - reg: address and length of the register set [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stih407-family.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "stih407-pinctrl.dtsi" 7 #include <dt-bindings/mfd/st-lpc.h> 8 #include <dt-bindings/phy/phy.h> 9 #include <dt-bindings/reset/stih407-resets.h> 10 #include <dt-bindings/interrupt-controller/irq-st.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 reserved-memory { 16 #address-cells = <1>; [all …]
|
/openbmc/linux/drivers/reset/sti/ |
H A D | reset-syscfg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Inspired by mach-imx/src.c 15 #include <linux/mfd/syscon.h> 17 #include "reset-syscfg.h" 20 * struct syscfg_reset_channel - Reset channel regmap configuration 31 * struct syscfg_reset_controller - A reset controller which groups together 35 * @rst: base reset controller structure. 41 struct reset_controller_dev rst; member 47 container_of(_rst, struct syscfg_reset_controller, rst) 52 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_program_hw() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | writing-bindings.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Documentation/devicetree/bindings/submitting-patches.rst 17 - DO attempt to make bindings complete even if a driver doesn't support some 21 - DON'T refer to Linux or "device driver" in bindings. Bindings should be 24 - DO use node names matching the class of the device. Many standard names are 27 - DO check that the example matches the documentation especially after making 30 - DON'T create nodes just for the sake of instantiating drivers. Multi-function 34 - DON'T use 'syscon' alone without a specific compatible string. A 'syscon' 42 - DO make 'compatible' properties specific. DON'T use wildcards in compatible 47 - DO use a vendor prefix on device-specific property names. Consider if [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | uniphier-sd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2017-2018 Socionext Inc. 10 #include <linux/dma-mapping.h> 11 #include <linux/mfd/syscon.h> 59 * IP is extended to support various features: built-in DMA engine, 63 /* RX channel of the built-in DMA controller is broken (Pro5) */ 71 struct reset_control *rst; member 84 return container_of(host->pdata, struct uniphier_sd_priv, tmio_data); in uniphier_sd_priv() 99 dma_async_issue_pending(priv->chan); in uniphier_sd_external_dma_issue() 109 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback() [all …]
|