Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1246338iol; Fri, 10 Jun 2022 03:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJz2I6FugDv4gPJlToF8TTPc6u9TdQIiWObgM3WJoHDkVQ//oIc66Js/jYDq6bqv4daKCA X-Received: by 2002:a05:6a00:15c6:b0:51c:1878:4946 with SMTP id o6-20020a056a0015c600b0051c18784946mr26618717pfu.23.1654857278359; Fri, 10 Jun 2022 03:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654857278; cv=none; d=google.com; s=arc-20160816; b=bU7pXmt1104+uyTBlxaN1d9GMDu4JdmvURwnEMOvT/9MPLkUfcMTVXnbxdUG07/+9o lAEKMO/qe8uyIYsm/v2pwuKxQLCPRr2HgDNjRkgVgCNEbnZHgyhMJ2tcMIl9LgzHPXV+ GkiYFkd+6ced+cH5dWtSrDkTiNdkTCBhwOi6bMKoHsUhsA0G1PFFHyyvq45rOTqHnLJ2 h2uhHmA6qc4cTCR4Tamv0h9QSuoRg5i5WnGGttxfoiPrbRPKOadSJbH+xeCk6J+TQSl5 1JcPTuIBIZot9Ze/xsaSHkTYUbPSRElfLAPHvZBB8iREDbR6vjaywSMhSSf+9CinsXfG g25w== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=p/i2+crL1L43GiLXITg/vt3Q+0CXjjKGYscQg4ugrbw=; b=0kXHbuYDw8mcvobNIVl2LO9aW2ZfJNlu3Gc/LDgs22QpOpPuGdfEm6oiJNd+cVzIwd FF9gTxzx0+wt2ZQkpctWpvCfPEEi/Ot5Gsp1/EMslgqDQY5xi7aWfG3K+P89GCK6GjGo HHwOOBYncg6N8KjfSEZR9Czr0uCO3FOjmGaFSAs04BCkge/ZvtWiDMD8Ci9lLWEOqE+E BXJoG6YSgGER/b0KGMHN7ISI6dkNU9eDPMMoJY7lLDjdQAREh8Sbn7bOyqnTMavIENeq 5VNjWDrBUD/wPav0BjTsBKwzoBta0IqALeOpWPYZZ29GfFljXxNRrIKYqMIdNn2QAklh b2mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m3xGe026; 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 pc12-20020a17090b3b8c00b001d6d8ba05a5si3217138pjb.125.2022.06.10.03.34.25; Fri, 10 Jun 2022 03:34:38 -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=m3xGe026; 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 S1347667AbiFJKMd (ORCPT + 99 others); Fri, 10 Jun 2022 06:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348103AbiFJKMb (ORCPT ); Fri, 10 Jun 2022 06:12:31 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60407F68A7 for ; Fri, 10 Jun 2022 03:12:28 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id v1so41839783ejg.13 for ; Fri, 10 Jun 2022 03:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=p/i2+crL1L43GiLXITg/vt3Q+0CXjjKGYscQg4ugrbw=; b=m3xGe026GsgzFKujBkFBMFTkrEv5ifTPmlL1JL3mqH3lHNTdAOtZJhFSrHdfi59Mhn Cp1pRHFfW4UfO9HOOz02ophvsooVXfRTrZcSj1TMpmtD+KKIfFjU5uLdIWfMJpEMtSTo u30C92w2vqpO6VTxPdDGd/nHD8zIZF4E8WCsj5KhxGfpnFUhVhodhQuiO6H8WS1UlytO l1JAP9X4Jb0hF2a1/U8nRhg76b27eKJ+L0R6o6xtEnUzSENi7jvrwLHgUMVPT4BKSMfZ g0EOQ8Qq7KTbFLuyZpzNZq31vaoGMSKhgD51YNEnjVsOeIIej0NyZr8X610KaMPPOAyu SYfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=p/i2+crL1L43GiLXITg/vt3Q+0CXjjKGYscQg4ugrbw=; b=ZHlnKKqgJQxvsk0JqFYqvqtpyT9QuNsAc/YiPdoVO+FPWMmuWHd0viMQCHMYI0b8MF ZVpocRLospKzaqG8N5sk8BkIHWMI3sVY6blrbuwXTRxtOYj003NG1tmOlhmuh/hrqErz C4UZ+r+JgAm8YTx59K/8sPHI2DcF2+ElaoS1KLw2eI3GtTBe2/ALnk0F/092Zr81lghO YUZqpY14jmZXF0eB4LuoiFDyn4s+UwQzhKxykF3JbAeZJV4zx9KgTpL+ZRMFRU0pLSnI KlPGwhB9WNNlmJEie/RFSuwlaYsA6P4oXwZhKuZdoSj5Jhs3FqfFj0rIKiB1ZmVwEVXn zpzQ== X-Gm-Message-State: AOAM531LYsf0lCLd6KNKfvsY2eR4PdCHz2GUiVo964TBis+Aw/+q/ZJO kyYdpHu4YQWoi4myZNYGEOZrjA== X-Received: by 2002:a17:907:2d87:b0:711:dd41:1e72 with SMTP id gt7-20020a1709072d8700b00711dd411e72mr17399697ejc.742.1654855946970; Fri, 10 Jun 2022 03:12:26 -0700 (PDT) Received: from [192.168.0.202] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id x25-20020a170906b09900b006f52dbc192bsm12048266ejy.37.2022.06.10.03.12.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jun 2022 03:12:26 -0700 (PDT) Message-ID: <410c5c97-8ff7-2303-5e19-d6053d3779dd@linaro.org> Date: Fri, 10 Jun 2022 12:12:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 1/3] dt-bindings: leds: skyworks,aat1290: convert to dtschema Content-Language: en-US To: Jacek Anaszewski , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org References: <20220607085343.72414-1-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 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 09/06/2022 22:28, Jacek Anaszewski wrote: > Hi Krzysztof, > > On 6/7/22 10:53, Krzysztof Kozlowski wrote: >> Convert the Skyworks Solutions, Inc. AAT1290 Current Regulator bindings >> to DT Schema. >> >> Signed-off-by: Krzysztof Kozlowski > [...] >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + >> + // Ct = 220 nF, Rset = 160 kOhm >> + led-controller { >> + compatible = "skyworks,aat1290"; >> + flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; >> + enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; >> + >> + pinctrl-names = "default", "host", "isp"; >> + pinctrl-0 = <&camera_flash_host>; >> + pinctrl-1 = <&camera_flash_host>; >> + pinctrl-2 = <&camera_flash_isp>; >> + >> + led { >> + label = "flash"; > > Why are you adding label? It is deprecated, Eh, so it should be marked as deprecated:true, not just mentioned in the description (common.yaml). > but has the precedence over > new function and color for backwards compatibility, so it would make > those unused by the driver now. Please drop the label from this example. I synced the example with DTS, but I can drop it. No problem. Best regards, Krzysztof