| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | meson,pinctrl.txt | 1 == Amlogic Meson pinmux controller == 4 - compatible: one of "amlogic,meson8-cbus-pinctrl" 5 "amlogic,meson8b-cbus-pinctrl" 6 "amlogic,meson8m2-cbus-pinctrl" 7 "amlogic,meson8-aobus-pinctrl" 8 "amlogic,meson8b-aobus-pinctrl" 9 "amlogic,meson8m2-aobus-pinctrl" 10 "amlogic,meson-gxbb-periphs-pinctrl" 11 "amlogic,meson-gxbb-aobus-pinctrl" 12 "amlogic,meson-gxl-periphs-pinctrl" [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | amlogic,meson-pinctrl-a1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson A1 pinmux controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: amlogic,meson-pinctrl-common.yaml# 18 - amlogic,c3-periphs-pinctrl 19 - amlogic,meson-a1-periphs-pinctrl 20 - amlogic,meson-s4-periphs-pinctrl [all …]
|
| D | amlogic,meson-pinctrl-g12a-aobus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson G12 AOBUS pinmux controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: amlogic,meson-pinctrl-common.yaml# 18 - amlogic,meson-g12a-aobus-pinctrl 21 - compatible 24 "^bank@[0-9a-z]+$": [all …]
|
| D | amlogic,meson-pinctrl-g12a-periphs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson G12 PERIPHS pinmux controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: amlogic,meson-pinctrl-common.yaml# 18 - amlogic,meson-g12a-periphs-pinctrl 21 - compatible 24 "^bank@[0-9a-z]+$": [all …]
|
| D | amlogic,meson8-pinctrl-cbus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-cbus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: amlogic,meson-pinctrl-common.yaml# 18 - enum: 19 - amlogic,meson8-cbus-pinctrl 20 - amlogic,meson8b-cbus-pinctrl 21 - amlogic,meson-gxbb-periphs-pinctrl [all …]
|
| D | amlogic,meson8-pinctrl-aobus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-aobus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: amlogic,meson-pinctrl-common.yaml# 18 - enum: 19 - amlogic,meson8-aobus-pinctrl 20 - amlogic,meson8b-aobus-pinctrl 21 - amlogic,meson-gxbb-aobus-pinctrl [all …]
|
| D | amlogic,meson-pinctrl-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson pinmux controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 - $ref: pinctrl.yaml# 18 "#address-cells": 21 "#size-cells": 25 - ranges [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxbb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gx.dtsi" 7 #include "meson-gx-mali450.dtsi" 8 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 9 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 10 #include <dt-bindings/clock/gxbb-clkc.h> 11 #include <dt-bindings/clock/gxbb-aoclkc.h> 12 #include <dt-bindings/reset/gxbb-aoclkc.h> 15 compatible = "amlogic,meson-gxbb"; 19 compatible = "amlogic,meson-gxbb-usb2-phy"; [all …]
|
| D | meson-gxl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gx.dtsi" 8 #include <dt-bindings/clock/gxbb-clkc.h> 9 #include <dt-bindings/clock/gxbb-aoclkc.h> 10 #include <dt-bindings/gpio/meson-gxl-gpio.h> 11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 14 compatible = "amlogic,meson-gxl"; 18 compatible = "amlogic,meson-gxl-usb-ctrl"; 21 #address-cells = <2>; 22 #size-cells = <2>; [all …]
|
| D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905x-p212.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; [all …]
|
| D | meson-gxm-khadas-vim2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxm.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "khadas,vim2", "amlogic,s912", "amlogic,meson-gxm"; 24 stdout-path = "serial0:115200n8"; 32 adc-keys { 33 compatible = "adc-keys"; 34 io-channels = <&saradc 0>; [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/meson/ |
| D | pinctrl-meson8-pmx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * First generation of pinmux driver for Amlogic Meson SoCs 18 #include "pinctrl-meson.h" 19 #include "pinctrl-meson8-pmx.h" 22 * meson8_pmx_disable_other_groups() - disable other groups using a given pin 24 * @pc: meson pin controller device 26 * @sel_group: index of the selected group, or -1 if none 29 * selected one. If @sel_group is -1 all groups are disabled, leaving 39 for (i = 0; i < pc->data->num_groups; i++) { in meson8_pmx_disable_other_groups() 40 group = &pc->data->groups[i]; in meson8_pmx_disable_other_groups() [all …]
|
| D | pinctrl-meson.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Pin controller and GPIO driver for Amlogic Meson SoCs 17 * struct meson_pmx_group - a pinmux group 20 * @pins: pins in the group 21 * @num_pins: number of pins in the group 29 const unsigned int *pins; member 35 * struct meson_pmx_func - a pinmux function 48 * struct meson_reg_desc - a register descriptor 54 * pull-enable, direction, etc. for a single pin 62 * enum meson_reg_type - type of registers encoded in @meson_reg_desc [all …]
|
| D | pinctrl-meson-axg-pmx.c | 2 * Second generation of pinmux driver for Amlogic Meson-AXG SoC. 10 * SPDX-License-Identifier: (GPL-2.0+ or MIT) 15 * Meson-AXG SoC and later series, which use 4-width continuous 26 #include "pinctrl-meson.h" 27 #include "pinctrl-meson-axg-pmx.h" 34 struct meson_axg_pmx_data *pmx = pc->data->pmx_data; in meson_axg_pmx_get_bank() 36 for (i = 0; i < pmx->num_pmx_banks; i++) in meson_axg_pmx_get_bank() 37 if (pin >= pmx->pmx_banks[i].first && in meson_axg_pmx_get_bank() 38 pin <= pmx->pmx_banks[i].last) { in meson_axg_pmx_get_bank() 39 *bank = &pmx->pmx_banks[i]; in meson_axg_pmx_get_bank() [all …]
|
| D | pinctrl-meson8-pmx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * First generation of pinmux driver for Amlogic Meson SoCs 25 .pins = grp ## _pins, \ 35 .pins = (const unsigned int[]){ gpio }, \
|
| D | pinctrl-meson.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Pin controller and GPIO driver for Amlogic Meson SoCs 9 * The available pins are organized in banks (A,B,C,D,E,X,Y,Z,AO, 12 * variable number of pins. 14 * The AO bank is special because it belongs to the Always-On power 19 * control the following properties of the pins: 28 * Since Meson G12A SoC, the ao register ranges for gpio, pull enable 47 #include <linux/pinctrl/pinconf-generic.h> 56 #include "../pinctrl-utils.h" 57 #include "pinctrl-meson.h" [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/meson/ |
| D | pinctrl-meson8-pmx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * First generation of pinmux driver for Amlogic Meson SoCs 18 #include "pinctrl-meson.h" 19 #include "pinctrl-meson8-pmx.h" 22 * meson8_pmx_disable_other_groups() - disable other groups using a given pin 24 * @pc: meson pin controller device 26 * @sel_group: index of the selected group, or -1 if none 29 * selected one. If @sel_group is -1 all groups are disabled, leaving 39 for (i = 0; i < pc->data->num_groups; i++) { in meson8_pmx_disable_other_groups() 40 group = &pc->data->groups[i]; in meson8_pmx_disable_other_groups() [all …]
|
| D | pinctrl-meson.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Pin controller and GPIO driver for Amlogic Meson SoCs 20 * struct meson_pmx_group - a pinmux group 23 * @pins: pins in the group 24 * @num_pins: number of pins in the group 32 const unsigned int *pins; member 38 * struct meson_pmx_func - a pinmux function 51 * struct meson_reg_desc - a register descriptor 57 * pull-enable, direction, etc. for a single pin 65 * enum meson_reg_type - type of registers encoded in @meson_reg_desc [all …]
|
| D | pinctrl-meson-axg-pmx.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Second generation of pinmux driver for Amlogic Meson-AXG SoC. 14 * Meson-AXG SoC and later series, which use 4-width continuous 25 #include "pinctrl-meson.h" 26 #include "pinctrl-meson-axg-pmx.h" 33 struct meson_axg_pmx_data *pmx = pc->data->pmx_data; in meson_axg_pmx_get_bank() 35 for (i = 0; i < pmx->num_pmx_banks; i++) in meson_axg_pmx_get_bank() 36 if (pin >= pmx->pmx_banks[i].first && in meson_axg_pmx_get_bank() 37 pin <= pmx->pmx_banks[i].last) { in meson_axg_pmx_get_bank() 38 *bank = &pmx->pmx_banks[i]; in meson_axg_pmx_get_bank() [all …]
|
| D | pinctrl-meson8-pmx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * First generation of pinmux driver for Amlogic Meson SoCs 25 .pins = grp ## _pins, \ 35 .pins = (const unsigned int[]){ gpio }, \
|
| D | pinctrl-meson.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Pin controller and GPIO driver for Amlogic Meson SoCs 9 * The available pins are organized in banks (A,B,C,D,E,X,Y,Z,AO, 12 * variable number of pins. 14 * The AO bank is special because it belongs to the Always-On power 19 * control the following properties of the pins: 28 * Since Meson G12A SoC, the ao register ranges for gpio, pull enable 46 #include <linux/pinctrl/pinconf-generic.h> 56 #include "../pinctrl-utils.h" 57 #include "pinctrl-meson.h" [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "meson-gxl-s905x-p212.dtsi" 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1710000>; [all …]
|
| D | meson-gxbb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gx.dtsi" 7 #include "meson-gx-mali450.dtsi" 8 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 9 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 10 #include <dt-bindings/clock/gxbb-clkc.h> 11 #include <dt-bindings/clock/gxbb-aoclkc.h> 12 #include <dt-bindings/reset/gxbb-aoclkc.h> 15 compatible = "amlogic,meson-gxbb"; 19 compatible = "amlogic,meson-gxbb-usb2-phy"; [all …]
|
| D | meson-gxl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gx.dtsi" 8 #include <dt-bindings/clock/gxbb-clkc.h> 9 #include <dt-bindings/clock/gxbb-aoclkc.h> 10 #include <dt-bindings/gpio/meson-gxl-gpio.h> 11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 14 compatible = "amlogic,meson-gxl"; 18 compatible = "amlogic,meson-gxl-usb-ctrl"; 21 #address-cells = <2>; 22 #size-cells = <2>; [all …]
|
| D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/gpio/meson-g12a-gpio.h> 9 #include <dt-bindings/sound/meson-g12a-toacodec.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 18 dio2133: audio-amplifier-0 { 19 compatible = "simple-audio-amplifier"; 20 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 21 VCC-supply = <&vcc_5v>; 22 sound-name-prefix = "U19"; [all …]
|