Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2371503rwd; Wed, 14 Jun 2023 01:41:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ64Ipn8roz6+ldjsN4Z1gVFdR6XNdD0XavrHpUUcJgDX4W4wuL4Jy3H8yWb1wOXrbfc5Fwi X-Received: by 2002:a05:620a:800a:b0:75e:bcef:aa35 with SMTP id ee10-20020a05620a800a00b0075ebcefaa35mr17145113qkb.40.1686732091303; Wed, 14 Jun 2023 01:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686732091; cv=none; d=google.com; s=arc-20160816; b=GaA85NOXYDfLFn/KtEerIwmSDGhwjl1/qkGZjYnliLllyE7ei6ruDC1PNrurTyhVtM Wkd3MEey+TZLvvA2T7PQX0DYYpQpQXESc94fuxB4t6n9g/kYCpddG/tvQ9ZeqpfO0Ovh QZ/pGcLGmjNLQ+dhNeloghhNtXRDqWv8ZR/hKXmnX8HSBaQvDSATly0udNk1iHqfKcUN +o60SmpzDYnZAb/fiBswDOJ7YOkMPaKgwfj029SfQiuUmwo9LHgdNAd5hFf89bo+mMh4 caXasoRMna+k7EB8go4Bmkog+xEWsWKqvicT3V1trr/JIZjEruWA3RZMGDggSLIcN6bb 4xxQ== 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=hZSZGvBvwhyK8bZKUQmXqJfk39dTMMe0zvT9wnDYAa8=; b=DPFePbL6cOQvzxWQzzJQVlSLjmRYGxh4B4wNWwqnx13FvmO8Ge9dp+eCYuLaQKIakB SdJEouA+pmTAQd7zqJxe477hcacmjzsubaYwJrAfNkcoz27OJfUN8JiRyWw9oYNwKEq3 TNdsJTTXAUkz1lMJK0DK1TltVE8uUjAgDmAL8PuaC5O44i7gstjrcy3T+b3f9mWHyYwc E2eA7Pay1jX8QxpvnP5m1JgSheZhXo/lG3ps12T8MfWs95mV/ZWQ0GDifOZmzLJh3jMr 1zqlQOHBh0BYFtdtClpY84CekPJUTvb8LppsSqfLXGg2TZgoqtBx4bBUMia+z/o/BMcO 9Fkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="UabF4q/A"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020aa79a4a000000b0064d2b0cc8f2si7620015pfj.150.2023.06.14.01.41.19; Wed, 14 Jun 2023 01:41:31 -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=@collabora.com header.s=mail header.b="UabF4q/A"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243636AbjFNIdS (ORCPT + 99 others); Wed, 14 Jun 2023 04:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243263AbjFNIdP (ORCPT ); Wed, 14 Jun 2023 04:33:15 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFC7B1985; Wed, 14 Jun 2023 01:33:13 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2] (unknown [IPv6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id EA0EB6606F13; Wed, 14 Jun 2023 09:33:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686731592; bh=O4wceCLCcU4ElsM9C74KpJfkq3+lvd+dFw6bAs1GHuI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UabF4q/AwVwNZNBrPx33yKyXzurYBJFapho6dYnLVtDEWtAxSdHWo8zd0MbGkWVuz kLNHFkQq9vPSkVS3bq6uQzKJkEN3o6Wbbjl2D6DGjm/Ha9rOGjOruUW+aieZp1CAt0 eP1CjrKxLJIto7O7nBt72xAiakCihCQA9bdFsJPs6mZw1+5lkad/5pdnaNNRoGt7do tL8RxHK8tG0luAGntFRK7ObLFpuyxtgvsDUsGJL0qrE0dnP36XKwcsbeWDBfGc3oM+ TFUvyZu0fRoSCaKgurJNAarfJBlVnpgeXBTRbx2vxIQFfIq0GqafeSLEVTypJ7plkc mBf618f6rVFVQ== Message-ID: <6daa58c7-055f-bcef-f82d-c83c0941d13c@collabora.com> Date: Wed, 14 Jun 2023 10:33:09 +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: Krzysztof Kozlowski , 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: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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,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 Il 13/06/23 08:59, Krzysztof Kozlowski ha scritto: > 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? > "LED string" is a term that is commonly used to refer to an array of LEDs. Usually, in the context of displays (so, WLED!), it refers to the LEDs array that forms the backlight. And yes, it's choice of output in the HW. Cheers, Angelo