[PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible

Andre Przywara andre.przywara at arm.com
Tue Apr 23 03:15:02 PDT 2024


On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <andre.przywara at arm.com> wrote:

Hi,

> From: James McGregor <jamcgregor at protonmail.com>
> 
> The Allwinner H616 SoC has an LRADC which is compatible with the
> versions in existing SoCs.
> Add a compatible string for H616, with the R329 fallback. This is the
> same as the D1, so put them into an enum.
> 
> Signed-off-by: James McGregor <jamcgregor at protonmail.com>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Compared the descriptions in the manual between the R392 and the H616, they
look the same:

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

> ---
>  .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml        | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
> index c384bf0bb25d..8cb5820774e0 100644
> --- a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
> +++ b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
> @@ -22,7 +22,9 @@ properties:
>            - const: allwinner,sun8i-a83t-r-lradc
>        - const: allwinner,sun50i-r329-lradc
>        - items:
> -          - const: allwinner,sun20i-d1-lradc
> +          - enum:
> +              - allwinner,sun50i-h616-lradc
> +              - allwinner,sun20i-d1-lradc
>            - const: allwinner,sun50i-r329-lradc
>  
>    reg:




More information about the linux-arm-kernel mailing list