Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2403344rwb; Fri, 20 Jan 2023 02:26:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXuh+dXg2gFwSLfcYTwSAHM9Wm4zkGEvFQQwaBrnJ+Gw3i3Cz0asxw356hmIWCRZzqE7uGUO X-Received: by 2002:a17:90b:3a82:b0:22b:b67b:3266 with SMTP id om2-20020a17090b3a8200b0022bb67b3266mr486655pjb.19.1674210410129; Fri, 20 Jan 2023 02:26:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674210410; cv=none; d=google.com; s=arc-20160816; b=pcLtKJK52IAuVUJsdydO8R1TMFWgpkRbTydN2vF7YtBThXCyW0FSzaXjteIIfDY+Cr UPcRf9H9t8X1ZvKmWYQ/elqir3FGk7jrH+UpXYCVXp1zq/G7pOq14/DQLM0ezxWK5nqT J11az1pXd43u8qryHpUxGBtskQ9W0Pq8qXcHGlU8xDIhHkq3CayTDJXbjmt8oyJuDb3M trpuMM/5nS6CynAYj+LiTI75Ea4KxVGQtYVchqnAutwyZqd+ZCD+/99j7FdTRp81eEHM is6TG2ZtLdX6CYRF6CyDh65B+XSn5Nf2nfhXgDbhsljIzUfhiE8Wha5SG7ZJqu+rIly7 1lOg== 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=d8BcJzXSs607af8t7kqUBgjRke129BH5lCDD+YUTH7w=; b=V4b2aAN4b3+zvG9FEc/UIHux2Ltl0HW2ro6Q6vugmu7ZM4PyG6YIRYiZEnE8wrkC/+ y3ItTlPij3VO8kLoCRyPdNAJfzNxlxOEaZ1HRFN0ZAydPod4qQuutB1M5keW+RfRg/T5 4MKHA1DUXq2NACCUFoNBeIXojelBAaYlRIdo1rpOLjJmiGDd0oqOPKTLw1/RJC+7lOC2 w9DFwul05CVVXETzRAebfhF88DTel2Mnbs3j34eDpAZkOrb9mlyBcwiFd9Nt2scmPp3F bjfuhU0c5nDJjfu4aij+ljSWQ6h+8YeoiTTygsblJvjfOBpVNAAxv6sHxdmrCsq92e9d uADQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LpfSiNlt; 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 c2-20020a17090a8d0200b002298af2eebbsi2163786pjo.1.2023.01.20.02.26.43; Fri, 20 Jan 2023 02:26:50 -0800 (PST) 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=LpfSiNlt; 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 S229631AbjATKTJ (ORCPT + 48 others); Fri, 20 Jan 2023 05:19:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjATKTD (ORCPT ); Fri, 20 Jan 2023 05:19:03 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DA50577C6 for ; Fri, 20 Jan 2023 02:19:01 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id b5so4450652wrn.0 for ; Fri, 20 Jan 2023 02:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=d8BcJzXSs607af8t7kqUBgjRke129BH5lCDD+YUTH7w=; b=LpfSiNltaoV7bWfi3yQR6wIwTKqlLH7Cjtwa/XneNU61Ua5EWCgWLAmqQW4ko0k8hT 7nuNnorRsj8t9/48i19w6P2TUdPkm4CyGE2Yz2+MfpMRt0T7BdOQ55DOkkwsEVlOCXzE hS5JDPHJU3BA2gZU16GZAw37kzK3q/u9bQQ0UtRPyu/TLBIhpD6usPD828f08UdUSxXS YySKUR3JB5bmEdzRIKnZps+lJwVscq4/xFDjvBmGNpVL0ybJO9d2/TfrNZYppcH6tnfS GxiR3AYWsyaulrms7NLKr3R/Ms8Bs/W4errDUbskI+8/qTbdpiSCp4oZIPL+CCIB5nEp T9WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=d8BcJzXSs607af8t7kqUBgjRke129BH5lCDD+YUTH7w=; b=wWx6gZxUnPmHkAhiRrgNhVCp18PlKAOL+hu6SzV6W4D5sCwqE1Z/a+uW3fc59+2Lbz UeKF56MHTGplX2reqUuHX6RCebklmR9g3BKmdirsS4P3Pv6so3L0aE6W290Dz33kzmj5 +WQXY2NdnuWqxkF6jdFrNwcYjgmoyTGaFt0XqWl9oq7aTwYiDR36vO2bNb4dI/K6OssJ 0voUspj5Gb34if5G0+7gt5Vw+EV/7R4SkcpG2OlAIpM3pnZjU4ALf6KK15gGkk7qTdiO hFVnJG2l0iBIXGmdOgpsOo9DayciggctXxcHbzMOaRHUd+mh+pLEdgrxW+PUq4YOo+X+ AafA== X-Gm-Message-State: AFqh2kpRQGpzGDZKo/qPbVdh4pvHEgwciRUPxBn1KobJBtsAEkoqeiGp xjYv6wswpf0VQ86b8jnclMEgwQ== X-Received: by 2002:adf:f0cd:0:b0:2bd:d783:377 with SMTP id x13-20020adff0cd000000b002bdd7830377mr12934188wro.22.1674209939686; Fri, 20 Jan 2023 02:18:59 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id r9-20020adff709000000b00291f1a5ced6sm14862170wrp.53.2023.01.20.02.18.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 02:18:59 -0800 (PST) Message-ID: Date: Fri, 20 Jan 2023 11:18:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH v7 1/2] dt-bindings: leds: backlight: Add Kinetic KTZ8866 backlight Content-Language: en-US To: Jianhua Lu , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Helge Deller Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org References: <20230120094728.19967-1-lujianhua000@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230120094728.19967-1-lujianhua000@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 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 20/01/2023 10:47, Jianhua Lu wrote: > Add Kinetic KTZ8866 backlight binding documentation. > > Signed-off-by: Jianhua Lu > --- > Changes in v2: > - Remove "items" between "compatible" and "const: kinetic,ktz8866". > - Change "additionalProperties" to "unevaluatedProperties". > > Changes in v3: > - Add Krzysztof's R-b. > > Changes in v4: > - Drop Krzysztof's R-b. > - Add some new properties. > > Changes in v5: > - Add missing enum under property description. > - Rename uncorrect properties. > > Changes in v6: > - Correct wrong property suffix and description. > > Changes in v7: > - Add vddpos and vddeg supply. > - Use enable-gpios instead of defining enable pin. > > .../leds/backlight/kinetic,ktz8866.yaml | 74 +++++++++++++++++++ > 1 file changed, 74 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml > > diff --git a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml > new file mode 100644 > index 000000000000..b1d0ade0dfb6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml > @@ -0,0 +1,74 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Kinetic Technologies KTZ8866 backlight > + > +maintainers: > + - Jianhua Lu > + > +description: | > + The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks > + led backlight with dual lcd bias power. > + https://www.kinet-ic.com/ktz8866/ > + > +allOf: > + - $ref: common.yaml# > + > +properties: > + compatible: > + const: kinetic,ktz8866 > + > + vddpos-supply: > + description: positive boost supply regulator. > + > + vddneg-supply: > + description: negative boost supply regulator. > + > + enable-gpios: > + description: GPIO to use to enable/disable the backlight (HWEN pin). > + maxItems: 1 > + > + current-num-sinks: > + description: number of the LED current sinks' channels. > + enum: [1, 2, 3, 4, 5, 6] > + > + current-ramping-time-ms: > + description: LED current ramping time in milliseconds. > + enum: [2, 4, 8, 16, 32, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640] kinetic,current-ramp-delay-ms > + > + led-ramping-time-ms: kinetic,led-enable-ramp-delay-ms So both are similar to existing regulator properties. Best regards, Krzysztof