Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp829054rwd; Tue, 13 Jun 2023 00:30:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wuIGfyPlNgHChshUnXgSW0Q9oMQhxydYj678DPfNPe4989zLFkjVO1CaoiXUX2Yo1nC4a X-Received: by 2002:a17:90a:8d12:b0:253:8260:f9aa with SMTP id c18-20020a17090a8d1200b002538260f9aamr9413950pjo.6.1686641447055; Tue, 13 Jun 2023 00:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686641447; cv=none; d=google.com; s=arc-20160816; b=yryn8OKXJIpPt5Xi2iqPOGESZ7rbhaXCxwFrkcafnSBC+PHVYnO4H2iIHjKJmgXmyP ao1MYRQC8XjHRtlg43v0mVeGQqwTs/CLLqn1LnubAmzm6iBkdJHgajH9AZQ6VTn3swvl Nc+7+r/NOiuQALdNhw+GO7OZSp6ok9mS9TdZE5KauVs81+PggW2Y2QI6H77DlqYr6kmc qKOq1BJMLZieWid+AQlsXqi05+ErfJLQ2RYrPLK68g8e1IDDF4YM6BaRRKRFIfJAhtAD gEy1MptQB+VnZAebu4LXpjme9O2PsP+zkW3YjQuTxlzbbk1XHSecYBZyw6t9sVdywjMW 9iiQ== 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=kUom7HJpVJoM9u75rT8LlJsMQ4Qj71rU7ZteFE9/Wg4=; b=sA0g9o907vqLwnotDkDmKUAGQGyGwVHMZTAsl9T100puI0ttJvYs8+udKI7UaIhgCf J1f94pkgRi0BCH5aZLNnDqiNcWIKb1LkXGHP6f0zy+PiC3ZFI+Cj6YZA82GSzsLStmpv s7ogYlrOdS6gAADNiJe/N9TGnjFPSq62Cd3a9iyOayr2jh2x+zhLoxIt/c7nEhtH5530 P4VN9ClYA5f5zUei0yDtY2Z97VY4+M4J3DAmj/n+mozpzu5xKC8b411hsvgUGhMc4SJE 7sS0j/2nWrG1udVIq2S45Ccumrn8xmect/9ixizmvP/JnpUWAbW3zlJ8I/Wwz1eMCsaA OLXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m4XzXJjC; 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 m22-20020a17090ade1600b00250cb2a2000si8420090pjv.113.2023.06.13.00.30.34; Tue, 13 Jun 2023 00:30:47 -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=m4XzXJjC; 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 S234129AbjFMG7b (ORCPT + 99 others); Tue, 13 Jun 2023 02:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240278AbjFMG71 (ORCPT ); Tue, 13 Jun 2023 02:59:27 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A6431738 for ; Mon, 12 Jun 2023 23:59:20 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5187a6158d4so42957a12.2 for ; Mon, 12 Jun 2023 23:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686639559; x=1689231559; 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=kUom7HJpVJoM9u75rT8LlJsMQ4Qj71rU7ZteFE9/Wg4=; b=m4XzXJjCD1NIVb9noSZsYX0RV1+q1j2eA+ujnldMADVT4a/YPUejB686DxU0MrB12a 6xlADstB9BqKJjw0Ycf0q+rp1TmOJhWnx3O4KwWpG3np2APHC4Gt0N4FKF0EhylROSn3 PMUs6RxF0qdZpBNlUkkVl1veBkafWg4GYikDVMSNSpd3fUiZMBlb6GjZp29gndbi/Cny r6dHIZa1orIXnVbh3imeut7O6l7U6P1ii42k+7if+UtlUxfVMv55lPJ1DsXuL6yFLINw A035ibIFPeSNNxXySyxGwzgnZkFCMgvUSjF0i8LZgES5bRQ5Wg5NB7dNI2HNCvI0EO5r 1IRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686639559; x=1689231559; 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=kUom7HJpVJoM9u75rT8LlJsMQ4Qj71rU7ZteFE9/Wg4=; b=J/T44UPYOg3jW72H/vij/LkHFfz4NNSc62SePvro8ZG499Afj6TKUA4Pi6H1nngRBQ GosaoOvxlOTByKgDk+9nAOpy5jBK7V8KW83PZAu/Ge/bQTKtUFA0+LHS4jTF9tQu80Ih BBoo3qeJxMJgJ3oobLhIq1iR0hMUwrX2KpfP5KIh4Zvw1byOA6l93HR5FptjyPLGlcQI svefW3Mrp0D05LEEoh49dn+GRLAQW3pC3LxpioTSb0H8GHudGe/SVzB0bdhiUq7jugv/ dEzvWpj5L415g5+WzgxaCJvRI1uL7QVJ8E13xqlSvp9pL1flyRusv4FmKRsPKmWmQd5B 10Yg== X-Gm-Message-State: AC+VfDwRQ9v4uF0v0mq4xKEi1m8CgaTwc5Pa2xsQuVa6ptIBdug8i31E wNkgIySQxrxs29XyToqhsIwgzA== X-Received: by 2002:a17:906:fe0a:b0:977:d048:ff9c with SMTP id wy10-20020a170906fe0a00b00977d048ff9cmr9967874ejb.31.1686639558860; Mon, 12 Jun 2023 23:59:18 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id l14-20020a170906a40e00b0097382ed45cbsm6151099ejz.108.2023.06.12.23.59.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 23:59:18 -0700 (PDT) Message-ID: Date: Tue, 13 Jun 2023 08:59:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 3/8] dt-bindings: leds: leds-mt6323: Support WLED output Content-Language: en-US To: AngeloGioacchino Del Regno , pavel@ucw.cz Cc: lee@kernel.org, sean.wang@mediatek.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20230601110813.2373764-1-angelogioacchino.delregno@collabora.com> <20230601110813.2373764-4-angelogioacchino.delregno@collabora.com> <75d78713-fc8f-24a9-a422-2b4d57c5d488@linaro.org> <88f37d33-6545-d307-17a9-896e86d0ed50@collabora.com> From: Krzysztof Kozlowski In-Reply-To: <88f37d33-6545-d307-17a9-896e86d0ed50@collabora.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=ham 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 09/06/2023 09:51, AngeloGioacchino Del Regno wrote: > Il 02/06/23 10:32, Krzysztof Kozlowski ha scritto: >> On 01/06/2023 13:08, AngeloGioacchino Del Regno wrote: >>> Some PMICs have a separated WLED string output: add a property >>> `mediatek,is-wled` to indicate which LED string is a WLED. >>> >>> Signed-off-by: AngeloGioacchino Del Regno >>> --- >>> Documentation/devicetree/bindings/leds/leds-mt6323.txt | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/Documentation/devicetree/bindings/leds/leds-mt6323.txt b/Documentation/devicetree/bindings/leds/leds-mt6323.txt >>> index 052dccb8f2ce..904b2222a5fe 100644 >>> --- a/Documentation/devicetree/bindings/leds/leds-mt6323.txt >>> +++ b/Documentation/devicetree/bindings/leds/leds-mt6323.txt >>> @@ -30,6 +30,7 @@ Optional properties for the LED child node: >>> - label : See Documentation/devicetree/bindings/leds/common.txt >>> - linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt >>> - default-state: See Documentation/devicetree/bindings/leds/common.txt >>> +- mediatek,is-wled: LED string is connected to WLED output >> >> Why would it matter to what the output is connected to? > > When this property is present, the MT6323 LEDs are managed through different > hardware registers which are specific to WLEDs: if we have no indication of > whether this is a WLED or a LED, we would program the wrong registers. > OK, so it is rather the choice of output in the device? What is "LED string" in this context? Best regards, Krzysztof