Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7940343rwp; Wed, 19 Jul 2023 02:45:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWpnguhZfrnc2ZVapHztTsy1ctewHjh3R5T2r9XIJxhAVn/Cv5cEEOkWDsXQDLUe89cf2L X-Received: by 2002:a05:6358:5e1d:b0:132:f2dc:e961 with SMTP id q29-20020a0563585e1d00b00132f2dce961mr2053891rwn.10.1689759932440; Wed, 19 Jul 2023 02:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689759932; cv=none; d=google.com; s=arc-20160816; b=MLGvcX9z3utbFzDQBQ5uTxcK1Ad7i3HrfnplqgMOBBjG52l6IjeoB/TWptXkdBHY4b zH4DzoYF1qU6eQkTmm/zudQw2n4rhk0dssddULo5oP9YKq8Xh1Lcwc57/T6fOKQMVm23 Eztpa3av4fEuaLFCdI4RTFfmEfCAjwIinpVDnpUk3KfloNgw5QsZI/Hy/TlIy4PQPQ8A /O7ojrZ3OT9CLMnwTyKjK9qk0xb83e84P9JnL+YKcn52b4NQZsdhhQdi6+i2+PswzAZe F3hk5OU+fieMnd8b0J/qkvtrGuGjc1FGlDorKTtJcd36tPp9pU5HTcWQe4U1uBE5zb5h XJ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vbFAUTqn4J/1uXGDz1Y+p40GpYX5buZBByhfIvb+XTw=; fh=HP5c0A5UNaA2BHMEsLwiUM5lOTohdhMsCm/84vR/frU=; b=K8094pqRbwWY5WawSppSvkJ4ncIqvPAWL0bUKSg7wayDgLqm3cEfXXZAt1bozAn3dG 0zsfMMDJPHqroK2rVdbRz+VIQeHxN+k1pdPPxA1uYYHWhD7F5g1wTJT6x/jPkwc6/5W7 Ac/Tc3rjdXDQtkfROKnaXuuVHcjeNdxemqV0dpI63XJP+1MjoXq4ucghpa8WrvRoaZRH F4cWhqlvIrSRRZg/zftZSoytPWWFvcah2a/RpyUBccwm+eTQ0xMklWsvNIkILZR6slvx oD5DOHyT1YcY4g72s/KmBdS9MZRtzEhYWC8D5huJM7/ihE2/BWQ6r/csU8T8pMQjPx+J Qxtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pWC6FgUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w17-20020a63c111000000b0054f73ee92basi3049200pgf.8.2023.07.19.02.45.19; Wed, 19 Jul 2023 02:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pWC6FgUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231264AbjGSJRe (ORCPT + 99 others); Wed, 19 Jul 2023 05:17:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230291AbjGSJRc (ORCPT ); Wed, 19 Jul 2023 05:17:32 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29BD2121 for ; Wed, 19 Jul 2023 02:17:30 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-51e48e1f6d1so9071327a12.1 for ; Wed, 19 Jul 2023 02:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689758248; x=1692350248; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vbFAUTqn4J/1uXGDz1Y+p40GpYX5buZBByhfIvb+XTw=; b=pWC6FgUMIYeP779sWAqgtzO3nU1XJ6nhP75SPD12kn5z7GaOdQUHJSr1oj+fpvsMzu 1olNjVI5wRWrn45bUPuYJyc5Bco8Iwi76p6mGXk8gdDHJ8p+VfH0Y9Ob/M/hmJowz1Gc J+pNlH0r5n+VARIHACKHBpFtJ+fkdhK77/Ra2Fb2lW0F96NuMi3yPmIb8SIxEbJT+vJ4 NbT2hiKo+epWuNBHDFljYudEOU8wGGY0fV8Na+/YoGH0+S92GxieXHMoNGOhVnIdlO7o mBmS3hhhglibp+4T6hBrbrEi0hI9yP9Rr6ZhyVA0T7CkDbC5e5ZxaRjLFEr2TUPH/EFx M6bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689758248; x=1692350248; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vbFAUTqn4J/1uXGDz1Y+p40GpYX5buZBByhfIvb+XTw=; b=fbPt+dbF0HY5IrK1vEcoREc2BJnbVj9HJLPtIOW4Tz2pchKoJBlT8hj2uHlZR7S0Bk gIPqh1oBQ/UE4qyj+imew57pEiTmjY6IWLFug1+ysXIzgEE9L7NP+s9DWl3MTvWZWYeO 0Kvsq8CSQR0+6dTcYa+p2dRRZDaM5sweJUjdC4L/gmNMi71Sq2s/dxaVizSp3OJ2Z0Vm jmPYdIeuLaZ/7EtBiKwTBbn35b/2aJGg4vOF3l+gsIoBanN8HtLM9OJg0SGs2P78nByV 2FIxtPDB3d8Bs3oz25XH0bLdSB8lTF5PG0FmX/b2It/QnTlj5UtwawwGao/Ob4k1u9Cd Jxvw== X-Gm-Message-State: ABy/qLZl7o/1n8uFZuvu9oWyF/6pFDPpbpWpm4lGmRrP09EGLt2DH8ci MYJf2PiAhj2s1gmLezvGASSk+w== X-Received: by 2002:aa7:d384:0:b0:51b:ec86:b49a with SMTP id x4-20020aa7d384000000b0051bec86b49amr2063330edq.7.1689758248587; Wed, 19 Jul 2023 02:17:28 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id k26-20020a056402049a00b0051e186a6fb0sm2422099edv.33.2023.07.19.02.17.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 02:17:28 -0700 (PDT) Message-ID: <3c291f6a-7e9a-b863-9c34-c486647edbf7@linaro.org> Date: Wed, 19 Jul 2023 11:17:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 5/7] ARM: dts: exynos: k3g: Add notification LED support Content-Language: en-US To: Markuss Broks Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230716220644.22158-1-markuss.broks@gmail.com> <20230716220644.22158-7-markuss.broks@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230716220644.22158-7-markuss.broks@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/07/2023 00:05, Markuss Broks wrote: > This device has a Texas Instruments LP5562 LED controller > which controls the LEDs which are used as notification lights. > It has three colors which can be combined, supports pulse mode > and other various features. > > Signed-off-by: Markuss Broks > --- > arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 47 ++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts > index b3576a745054..813dbf0438de 100644 > --- a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts > +++ b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include > #include "exynos5800.dtsi" > #include "exynos5422-cpus.dtsi" > > @@ -131,6 +132,52 @@ touchkey@20 { > }; > }; > > + i2c-led { > + compatible = "i2c-gpio"; > + > + sda-gpios = <&gpy3 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > + scl-gpios = <&gpy3 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; > + i2c-gpio,delay-us = <2>; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + lp5562@30 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Most likely this is led-controller Best regards, Krzysztof