Re: [PATCH 1/3] arm64: dts: meson-g12a: Add IR nodes

From: Kevin Hilman
Date: Wed May 08 2019 - 19:06:54 EST


Neil Armstrong <narmstrong@xxxxxxxxxxxx> writes:

> Amlogic G12A SoCs uses the exact same IR decoder as previous
> families, add the IR node and the pintctrl setting.
>
> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
> index 734c5ee60efa..9cb76d325bb7 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
> @@ -559,6 +559,13 @@
> mux {
> groups = "pwm_ao_d_e";
> function = "pwm_ao_d";
> + };
> + };

nit: you had applied this based on top of the PWM series, but didn't
mention that in the cover letter.

Kevin

> + remote_input_ao_pins: remote-input-ao {
> + mux {
> + groups = "remote_ao_input";
> + function = "remote_ao_input";
> bias-disable;
> };
> };
> @@ -623,6 +630,13 @@
> status = "disabled";
> };
>
> + ir: ir@8000 {
> + compatible = "amlogic,meson-gxbb-ir";
> + reg = <0x0 0x8000 0x0 0x20>;
> + interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
> + status = "disabled";
> + };
> +
> saradc: adc@9000 {
> compatible = "amlogic,meson-g12a-saradc",
> "amlogic,meson-saradc";
> --
> 2.21.0