Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp345890rdb; Fri, 6 Oct 2023 05:30:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHe4Xo65v9VuBei6r0BQwwNLEGcAs4ji+k6U0hySBcinOWsvE9jpfUdsLqd/e+niP20peoY X-Received: by 2002:a9d:6e09:0:b0:6b9:ed64:1423 with SMTP id e9-20020a9d6e09000000b006b9ed641423mr8007460otr.2.1696595440789; Fri, 06 Oct 2023 05:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696595440; cv=none; d=google.com; s=arc-20160816; b=Z7sUcEIszQVhd+z5rk0di3zyzYTvqziK+YHiht3dABy1VSCFfdSyH5G5To/rBr3qb/ THg+HNpkw6p9rvuYaeMA1Dx/w8C+p1Bd9KlL3eXLAnI9FVwONhr4gKjRRuBTi9kRz0CP jQBLuNK/Awph2i69eLVAHfmg14PgRW2PNC7kAySEBWW+QszOGegmnILVZL74nGTadIfP JG022Lo9CzbaD0E4Q+C4rzbBfWMiJbAgDHmJa/br3IcMoXBl4hYuHjau/vrsveUKnO4i YNf0D3WoenMwLL4zNgrbo1e+LnGSCQ44TvcJTJqcUqtK/cdo1e2o0E1Eu2mC1ulWiUdA dMyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sYSZgor/RBGjf4wuXsOz+ucEbF12Vj/yAHNRuHZ3l+Q=; fh=T7VToVkBY0RlFBnl1dKTDNB+y5uxcr1vWjkB8BrQ4hE=; b=Q9F84F+AmIRWmHw/vSlbLZa7p4/YpXjRaos3hTKCtluBi2OkTUXuhLtsL0VvhORa0W QUIwFeks1eDYs7LIs5gjzqDwrLobykpOIb24K6PTw8Bp403fVRh0bVcL6E2+oXieFjC9 ETI/kaZ0YRoUg33XR3EKvo7braSZzl4dEBIF5hoPE6l7qvP5zW3YuLLmZrjUo/d34Q7u ISXrCHLtcdbFvdetjn3hw4FXxHG+yJ6YHvIMgYCey/3vLp79f2x2nAp2z1QUfPHq8bmh gSFnhfYf4DYHu5ML3y59jaq4VzWNiIBueg+Qt6yTaLjxh4u9wZxE6yXYtLwzze3IT8Vq P9Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i2mlEtJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id z16-20020a656650000000b00578fcbfebdasi3607129pgv.734.2023.10.06.05.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 05:30:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i2mlEtJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 10EAE805A580; Fri, 6 Oct 2023 05:30:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231603AbjJFMab (ORCPT + 99 others); Fri, 6 Oct 2023 08:30:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjJFMa2 (ORCPT ); Fri, 6 Oct 2023 08:30:28 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A840129 for ; Fri, 6 Oct 2023 05:30:18 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-533d31a8523so3819576a12.1 for ; Fri, 06 Oct 2023 05:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696595417; x=1697200217; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=sYSZgor/RBGjf4wuXsOz+ucEbF12Vj/yAHNRuHZ3l+Q=; b=i2mlEtJrA7fE5xNLnVS42Kxq7T87YxagT0s9Bdw76j2ejWhNdyBX3+3j3NLxrVP8wV +FRzwA37aXtuiSKsOxqgS0Tj81X6C8JnZaJkrbfD50KwyeafelCUedU9+ogwmiCOZ/tO gojugn+AEy/C5/E/1kHQ2paOQcU748fZtErmhCEEzrBFFbGDOJYopfKtL4/9RG0kYQvR 45+PR/bvWAHlCprhCaMR+FMGYgr4oe743UmWA4OcrYPvZtTvR9n83IY7trakfPe9sHdA CQHRc1g6ZHgIh4FUdJK0tiq5n0nmN17zh3XlseHWoV548/asSm2fLvsBZk1PJ00NRv7c Mlqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696595417; x=1697200217; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sYSZgor/RBGjf4wuXsOz+ucEbF12Vj/yAHNRuHZ3l+Q=; b=Pe4oVVvX6X363TeXtym1CUJgDAjSeJC178q7yoQih+LQY82VGK+O/buuCHKZp5yCy3 +oak212Py12RiJxInJzIXvPW8ghXAhWL/rN4Mp907KIDTYJNaYXhbOa7B1B/jJM6BAwD 14t+so6HfGvswvxLItPv+Zwns8OanR9ds6wualvtxcGJHjQnyDD0wXGes+pHr2U9Q060 f4k5LcJrV9JE86TaGV6YSjvtsno7nqp3om6Td/SSzHfLnIWRo7IwFo0DwnDMfgSKUKjj eQNWmV1tBvbSsUEP8D4vv5VS2YxwH1PuOgss20PsklJoYxA9yBhoSyM9uJgSVPkFLCkA Ntxw== X-Gm-Message-State: AOJu0YxqHZlG0e0UjOuyyNUMttjA14A6OMh4HalgvbJ2GIzdvtRp07kf u+qXGCvG+9Nllw+RzCnMQbTyKg== X-Received: by 2002:a50:ee91:0:b0:51e:53eb:88a3 with SMTP id f17-20020a50ee91000000b0051e53eb88a3mr6699147edr.25.1696595417011; Fri, 06 Oct 2023 05:30:17 -0700 (PDT) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id v4-20020aa7d9c4000000b0052284228e3bsm2511897eds.8.2023.10.06.05.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 05:30:16 -0700 (PDT) Date: Fri, 6 Oct 2023 13:30:14 +0100 From: Daniel Thompson To: Duje =?utf-8?Q?Mihanovi=C4=87?= Cc: Lee Jones , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller , Karel Balej , dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: Re: [PATCH 1/2] dt-bindings: backlight: add Kinetic KTD2801 binding Message-ID: <20231006123014.GA96854@aspen.lan> References: <20231005-ktd2801-v1-0-43cd85b0629a@skole.hr> <20231005-ktd2801-v1-1-43cd85b0629a@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231005-ktd2801-v1-1-43cd85b0629a@skole.hr> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 05:30:38 -0700 (PDT) X-Spam-Level: ** On Thu, Oct 05, 2023 at 08:49:08PM +0200, Duje Mihanović wrote: > Add the dt binding for the Kinetic KTD2801 backlight driver. > > Signed-off-by: Duje Mihanović > --- > .../bindings/leds/backlight/kinetic,ktd2801.yaml | 46 ++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > > diff --git a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd2801.yaml b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd2801.yaml > new file mode 100644 > index 000000000000..970d54bac18e > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd2801.yaml > @@ -0,0 +1,46 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd2801.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Kinetic Technologies KTD2801 one-wire backlight > + > +maintainers: > + - Duje Mihanović > + > +description: | > + The Kinetic Technologies KTD2801 is a LED backlight driver controlled > + by a single GPIO line. The driver can be controlled with a PWM signal > + or by pulsing the GPIO line to set the backlight level. This is called > + "ExpressWire". > + > +allOf: > + - $ref: common.yaml# > + > +properties: > + compatible: > + const: kinetic,ktd2801 > + > + enable-gpios: > + maxItems: 1 Why "enable"? This is the line we are going to us to bitbang the ExpressWire protocol. Doesn't that make it a control or data pin? Daniel.