/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,kirkwood-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,88f6180-pinctrl", 8 "marvell,88f6190-pinctrl", "marvell,88f6192-pinctrl", 9 "marvell,88f6281-pinctrl", "marvell,88f6282-pinctrl", 10 "marvell,98dx4122-pinctrl", "marvell,98dx1135-pinctrl" 11 - reg: register specifier of MPP registers 14 It also support the 88f6281-based variant in the 98dx412x Bobcat SoCs. 16 Available mpp pins/groups and functions: 22 name pins functions 24 mpp0 0 gpio, nand(io2), spi(cs) [all …]
|
H A D | qcom,msm8960-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8960-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 18 const: qcom,msm8960-pinctrl 26 gpio-reserved-ranges: 30 gpio-line-names: 34 "-state$": [all …]
|
H A D | mediatek,mt8192-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8192-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 13 The MediaTek's MT8192 Pin controller is used to control SoC pins. 17 const: mediatek,mt8192-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 28 gpio-ranges: [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8192-asurada.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/spmi/spmi.h> 25 stdout-path = "serial0:115200n8"; 33 backlight_lcd0: backlight-lcd0 { 34 compatible = "pwm-backlight"; 36 power-supply = <&ppvar_sys>; 37 enable-gpios = <&pio 152 0>; 38 brightness-levels = <0 1023>; [all …]
|
H A D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { 36 compatible = "pwm-backlight"; [all …]
|
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8750.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8750-gcc.h> 8 #include <dt-bindings/clock/qcom,sm8750-tcsr.h> 9 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interconnect/qcom,icc.h> 12 #include <dt-bindings/interconnect/qcom,sm8750-rpmh.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/mailbox/qcom-ipcc.h> [all …]
|
H A D | x1e80100.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h> 11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/interconnect/qcom,icc.h> 14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h> [all …]
|
H A D | sdx75.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,rpmh.h> 10 #include <dt-bindings/clock/qcom,sdx75-gcc.h> 11 #include <dt-bindings/dma/qcom-gpi.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interconnect/qcom,icc.h> 14 #include <dt-bindings/interconnect/qcom,sdx75.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/mailbox/qcom-ipcc.h> 17 #include <dt-bindings/power/qcom,rpmhpd.h> [all …]
|
H A D | sar2130p.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sar2130p-gcc.h> 8 #include <dt-bindings/clock/qcom,sar2130p-gpucc.h> 9 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 11 #include <dt-bindings/dma/qcom-gpi.h> 12 #include <dt-bindings/interconnect/qcom,icc.h> 13 #include <dt-bindings/interconnect/qcom,sar2130p-rpmh.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
H A D | ipq5424-rdp466.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 16 compatible = "qcom,ipq5424-rdp466", "qcom,ipq5424"; 22 gpio-keys { 23 compatible = "gpio-keys"; 24 pinctrl-0 = <&gpio_keys_default>; 25 pinctrl-names = "default"; 27 button-wps { [all …]
|
H A D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 9 #include <dt-bindings/clock/qcom,sm8550-camcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 11 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 12 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 13 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 14 #include <dt-bindings/dma/qcom-gpi.h> [all …]
|
H A D | sm8650.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/clock/qcom,sm8650-camcc.h> 9 #include <dt-bindings/clock/qcom,sm8650-dispcc.h> 10 #include <dt-bindings/clock/qcom,sm8650-gcc.h> 11 #include <dt-bindings/clock/qcom,sm8650-gpucc.h> 12 #include <dt-bindings/clock/qcom,sm8650-tcsr.h> 13 #include <dt-bindings/clock/qcom,sm8650-videocc.h> 14 #include <dt-bindings/dma/qcom-gpi.h> [all …]
|
/linux/drivers/pinctrl/sunxi/ |
H A D | pinctrl-suniv-f1c100s.c | 2 * Allwinner new F-series F1C100s SoC (suniv) pinctrl driver. 12 * Copyright (C) 2014 Chen-Yu Tsai 14 * Chen-Yu Tsai <wens@csie.org> 18 * Maxime Ripard <maxime.ripard@free-electrons.com> 30 #include "pinctrl-sunxi.h" 38 SUNXI_FUNCTION(0x6, "spi1")), /* CS */ 45 SUNXI_FUNCTION(0x6, "spi1")), /* MOSI */ 53 SUNXI_FUNCTION(0x6, "spi1")), /* CLK */ 70 SUNXI_FUNCTION(0x6, "spi1")), /* CS */ 78 SUNXI_FUNCTION(0x6, "spi1")), /* MOSI */ [all …]
|
H A D | pinctrl-sun50i-h5.c | 6 * Based on pinctrl-sun8i-h3.c, which is: 9 * Based on pinctrl-sun8i-a23.c, which is: 10 * Copyright (C) 2014 Chen-Yu Tsai <wens@csie.org> 11 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com> 23 #include "pinctrl-sunxi.h" 69 SUNXI_FUNCTION(0x2, "sim"), /* CLK */ 101 SUNXI_FUNCTION(0x2, "spi1"), /* CS */ 107 SUNXI_FUNCTION(0x2, "spi1"), /* CLK */ 113 SUNXI_FUNCTION(0x2, "spi1"), /* MOSI */ 136 SUNXI_FUNCTION(0x2, "i2s0"), /* CLK */ [all …]
|
H A D | pinctrl-sun8i-h3.c | 6 * Based on pinctrl-sun8i-a23.c, which is: 7 * Copyright (C) 2014 Chen-Yu Tsai <wens@csie.org> 8 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com> 20 #include "pinctrl-sunxi.h" 66 SUNXI_FUNCTION(0x2, "sim"), /* CLK */ 98 SUNXI_FUNCTION(0x2, "spi1"), /* CS */ 104 SUNXI_FUNCTION(0x2, "spi1"), /* CLK */ 110 SUNXI_FUNCTION(0x2, "spi1"), /* MOSI */ 133 SUNXI_FUNCTION(0x2, "i2s0"), /* CLK */ 153 SUNXI_FUNCTION(0x3, "spi0")), /* MOSI */ [all …]
|
H A D | pinctrl-sun8i-a23.c | 4 * Copyright (C) 2014 Chen-Yu Tsai 6 * Chen-Yu Tsai <wens@csie.org> 10 * Maxime Ripard <maxime.ripard@free-electrons.com> 22 #include "pinctrl-sunxi.h" 28 SUNXI_FUNCTION(0x2, "spi1"), /* CS */ 34 SUNXI_FUNCTION(0x2, "spi1"), /* CLK */ 40 SUNXI_FUNCTION(0x2, "spi1"), /* MOSI */ 115 SUNXI_FUNCTION(0x3, "spi0")), /* MOSI */ 125 SUNXI_FUNCTION(0x3, "spi0")), /* CLK */ 130 SUNXI_FUNCTION(0x3, "spi0")), /* CS */ [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-clearfog-gtr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Rabeeh Khoury <rabeeh@solid-run.com>, based on Russell King clearfog work 9 SERDES mapping - 10 0. SATA1 on CON18, or optionally mini PCIe CON3 - PCIe0 12 2. SATA0 on CON17, or optionally mini PCIe CON4 - PCIe1 14 4. mini PCIe CON2 - PCIe2 17 USB 2.0 mapping - 18 0. USB 2.0 - 0 USB pins header CON12 19 1. USB 2.0 - 1 mini PCIe CON2 20 2. USB 2.0 - 2 to USB 3.0 connector (used with SERDES #3) [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8960-cdp.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8960.dtsi" 9 compatible = "qcom,msm8960-cdp", "qcom,msm8960"; 16 stdout-path = "serial0:115200n8"; 19 ext_l2: gpio-regulator { 20 compatible = "regulator-fixed"; 21 regulator-name = "ext_l2"; 23 startup-delay-us = <10000>; 24 enable-active-high; [all …]
|
H A D | qcom-msm8960-samsung-expressatt.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/reset/qcom,gcc-msm8960.h> 5 #include "qcom-msm8960.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 12 model = "Samsung Galaxy Express SGH-I437"; 14 chassis-type = "handset"; 23 stdout-path = "serial0:115200n8"; [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7870-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Exynos7870 SoC pin-mux and pin-config device tree source 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include "exynos-pinctrl.h" 13 etc0: etc0-gpio-bank { 14 gpio-controller; 15 #gpio-cells = <2>; 17 interrupt-controller; 18 #interrupt-cells = <2>; 21 etc1: etc1-gpio-bank { [all …]
|
/linux/drivers/spi/ |
H A D | spi-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/clk.h> 16 #include <linux/dma-mapping.h> 22 #include <linux/platform_data/spi-davinci.h> 39 #define SPIPC0_DOFUN_MASK BIT(10) /* MOSI */ 40 #define SPIPC0_CLKFUN_MASK BIT(9) /* CLK */ 106 struct clk *clk; member 136 if (dspi->rx) { in davinci_spi_rx_buf_u8() 137 u8 *rx = dspi->rx; in davinci_spi_rx_buf_u8() 139 dspi->rx = rx; in davinci_spi_rx_buf_u8() [all …]
|
H A D | spi-microchip-core.c | 1 // SPDX-License-Identifier: (GPL-2.0) 5 * Copyright (c) 2018-2022 Microchip Technology Inc. and its subsidiaries 12 #include <linux/clk.h> 104 struct clk *clk; member 118 return readl(spi->regs + reg); in mchp_corespi_read() 123 writel(val, spi->regs + reg); in mchp_corespi_write() 145 spi->rx_len -= spi->n_bytes; in mchp_corespi_read_fifo() 147 if (!spi->rx_buf) in mchp_corespi_read_fifo() 150 if (spi->n_bytes == 4) in mchp_corespi_read_fifo() 151 *((u32 *)spi->rx_buf) = data; in mchp_corespi_read_fifo() [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-dove.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/clk.h> 20 #include "pinctrl-mvebu.h" 23 #define INT_REGS_MASK ~(SZ_1M - 1) 68 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_get() 86 unsigned long pmu = readl(data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 90 writel(pmu & ~BIT(pid), data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 94 writel(pmu | BIT(pid), data->base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 126 return -EINVAL; in dove_mpp4_ctrl_get() 157 return -EINVAL; in dove_mpp4_ctrl_set() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/px30-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|