dt-bindings: gpio: Convert ti,keystone-dsp-gpio to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: gpio: Convert ti,keystone-dsp-gpio to DT schema
Convert the TI Keystone DSP GPIO binding to DT schema format. The "ti,syscon-dev" property was wrong and should be "gpio,syscon-dev" instead.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../bindings/gpio/gpio-dsp-keystone.txt | 39 ----------- .../bindings/gpio/ti,keystone-dsp-gpio.yaml | 65 +++++++++++++++++++ 2 files changed, 65 insertions(+), 39 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-dsp-keystone.txt create mode 100644 Documentation/devicetree/bindings/gpio/ti,keystone-dsp-gpio.yaml
Documentation/devicetree/bindings/gpio/gpio-dsp-keystone.txt deleted +0 -39
@@ -1,39 +0,0 @@ -Keystone 2 DSP GPIO controller bindings - -HOST OS userland running on ARM can send interrupts to DSP cores using -the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core. -This is one of the component used by the IPC mechanism used on Keystone SOCs. - -For example TCI6638K2K SoC has 8 DSP GPIO controllers: - - 8 for C66x CorePacx CPUs 0-7 - -Keystone 2 DSP GPIO controller has specific features: -- each GPIO can be configured only as output pin; -- setting GPIO value to 1 causes IRQ generation on target DSP core; -- reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still - pending. - -Required Properties: -- compatible: should be "ti,keystone-dsp-gpio" -- ti,syscon-dev: phandle/offset pair. The phandle to syscon used to - access device state control registers and the offset of device's specific - registers within device state control registers range. -- gpio-controller: Marks the device node as a gpio controller. -- #gpio-cells: Should be 2. - -Please refer to gpio.txt in this directory for details of the common GPIO -bindings used by client devices. - -Example: - dspgpio0: keystone_dsp_gpio@2620240 { - compatible = "ti,keystone-dsp-gpio"; - ti,syscon-dev = <&devctrl 0x240>; - gpio-controller; - #gpio-cells = <2>; - }; - - dsp0: dsp0 { - compatible = "linux,rproc-user"; - ... - kick-gpio = <&dspgpio0 27>; - };
Documentation/devicetree/bindings/gpio/ti,keystone-dsp-gpio.yaml new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.47.2
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 5 lines · Rob Herring (Arm)
Convert the TI Keystone DSP GPIO binding to DT schema format. The "ti,syscon-dev" property was wrong and should be "gpio,syscon-dev" instead.
Applied, thanks!
[1/1] dt-bindings: gpio: Convert ti,keystone-dsp-gpio to DT schema
https://git.kernel.org/brgl/linux/c/aff0a1701b020c8e6b172f28828fd4f3e6eed41a
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>