Message ID | 20241021230414.2632428-1-quic_molvera@quicinc.com |
---|---|
Headers | show |
Series | pinctrl: qcom: Introduce pinctrl for SM8750 | expand |
On Mon, Oct 21, 2024 at 04:04:13PM GMT, Melody Olvera wrote: > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8750-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8750-tlmm.yaml [..] > +examples: > + - | > + #include <dt-bindings/interrupt-controller/arm-gic.h> > + tlmm: pinctrl@f100000 { > + compatible = "qcom,sm8750-tlmm"; > + reg = <0x0f100000 0x300000>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-ranges = <&tlmm 0 0 211>; I know it's just an example, but I think this number should be 216. Please also correct it in the dtsi, where you made it 220. Regards, Bjorn > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; > + > + gpio-wo-state { > + pins = "gpio1"; > + function = "gpio"; > + }; > + > + uart-w-state { > + rx-pins { > + pins = "gpio60"; > + function = "qup1_se7"; > + bias-pull-up; > + }; > + > + tx-pins { > + pins = "gpio61"; > + function = "qup1_se7"; > + bias-disable; > + }; > + }; > + }; > +... > -- > 2.46.1 >
On Mon, Oct 21, 2024 at 04:04:13PM -0700, Melody Olvera wrote: > Add documentation for the Qualcomm sm8750 tlmm. > > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> > --- > .../bindings/pinctrl/qcom,sm8750-tlmm.yaml | 138 ++++++++++++++++++ > 1 file changed, 138 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8750-tlmm.yaml > With issue pointed out by Bjorn: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 10/22/2024 8:22 PM, Bjorn Andersson wrote: > On Mon, Oct 21, 2024 at 04:04:13PM GMT, Melody Olvera wrote: >> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8750-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8750-tlmm.yaml > [..] >> +examples: >> + - | >> + #include <dt-bindings/interrupt-controller/arm-gic.h> >> + tlmm: pinctrl@f100000 { >> + compatible = "qcom,sm8750-tlmm"; >> + reg = <0x0f100000 0x300000>; >> + gpio-controller; >> + #gpio-cells = <2>; >> + gpio-ranges = <&tlmm 0 0 211>; > I know it's just an example, but I think this number should be 216. > Please also correct it in the dtsi, where you made it 220. Will do. >> + interrupt-controller; >> + #interrupt-cells = <2>; >> + interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; >> + >> + gpio-wo-state { >> + pins = "gpio1"; >> + function = "gpio"; >> + }; >> + >> + uart-w-state { >> + rx-pins { >> + pins = "gpio60"; >> + function = "qup1_se7"; >> + bias-pull-up; >> + }; >> + >> + tx-pins { >> + pins = "gpio61"; >> + function = "qup1_se7"; >> + bias-disable; >> + }; >> + }; >> + }; >> +... >> -- >> 2.46.1 >>