From patchwork Sun Mar 21 11:43:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 405903 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2791985jai; Sun, 21 Mar 2021 04:43:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2H8/nJeRbqypgLFOKzTAq4pUd4/HJbyXSLw9jFMtc3ry2zHIIbC9ukrIKk0wurwNqi6af X-Received: by 2002:a65:64ce:: with SMTP id t14mr18605412pgv.36.1616327032796; Sun, 21 Mar 2021 04:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616327032; cv=none; d=google.com; s=arc-20160816; b=G/lkM4ZWrbPsWHpXmIj4vstrX2uyXdI7JXFjYgcT7+zoGbhxnxOVLVkAsCtAIumnlg flv7O8aRLrbUSQ1BPQNYb3bSfh0Gua/FCaAYNP2DNAUtggqIg3gVKG4aq6UY+MDZxbbl RkCcAQ/vrGT3LH1dY6Qczb/XOuKBDQMcei1LTb/Oh+QUASjNuVm1DSrLmZzDnbkeKSoA FQ0chXUS7DYwWR1/SqoIsTcLL7WQpATsFaS8nvWJxZu08BpvLBoib59+a4oXaRr9NQHL 5jPTgPi4GvA6K7BcTPGNKIGQ+AmMAJKeJpOhNpHlICZPM7AR85Mo2FEEhU+eNdXf+4YS AuCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=xpHkJMawnozhF2hV+cA9aKQhhNHSQjY1864LB3YJLOU=; b=CyongM87uW4XJfLZ7yynQ3Uf+4wWO3oE2/aDEvRq0+rc45g6I99XrZAXcAFLo9/5EC JUC0febVa5syQwrCO5ae8M7JP1zqxNx4XcP7oYQo2hii9vgsfO935nKojD5hKpeuR7Ky kcWt4pwjmrcs1Eq+Mm2swvM6K2yegXO422dFES9aJdhQ7kZAFCMVNlR69na7PzrAqH25 Xwm7FsBJj0SVJEnhUA+32vmkUHsH5ydcxw/amCx9O7wIZcsFcMtE3QpQNcxfwEkehve6 uzhaFAti4Nn2/Xx9LRaUJaEhpY8Iq6o5heeu16DoSHswG90TT8z1HoKRkcH0y+lerac/ qEFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BuUqCPP3; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g6si11906535pju.160.2021.03.21.04.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Mar 2021 04:43:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BuUqCPP3; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F1E546E1BB; Sun, 21 Mar 2021 11:43:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8111B6E1BB for ; Sun, 21 Mar 2021 11:43:48 +0000 (UTC) Received: by mail-lj1-x230.google.com with SMTP id f16so17584138ljm.1 for ; Sun, 21 Mar 2021 04:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yC6sQQpeQv3wXPmtPXFBTvqQOQNp1qqEx00Cra5b8ho=; b=BuUqCPP3xC7RYch7SvgeAfdPBSSG7JYM9Ky6w5s1R5pn5SzbghNf3X0OCsDyJdD7FN gN2fCD5iLmuM8/pEqlGvtmj5/Tl9B0EZsr7HNLQVRrwPCtFG4ArwLXdKEt3aO74UPYn/ Z42yLdpSljo4Dkj9xnnPEjAjfo1/tSFMQG++pOZfYV7F2424jOTMnfZYuE3DFJtXOde/ N9eakYFE+btBuNRksbD++mfOxRlILtcQCGzUkfgdyLJ9zYeS+1nliDDmpQWlDy0Uasi9 CXEe/mW+dE6TmgQRBnRQTOLAWpqbOH2MFPq2GIzji5Z+vQq2gydFcVyTlvs8PNfS0p5A HgLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yC6sQQpeQv3wXPmtPXFBTvqQOQNp1qqEx00Cra5b8ho=; b=Xc2Arv7KFRDb8urjSxO1pqp4+0PwyAgg/tRDUiYLiOaB5to/BKv2OT24I8zImvq4Tp i+XNlz8UrIlByrkJWV887kIsSm2IO3fXHA90QpHaYZjWtYH5xEllhA83VtqpK2qOdMgU 3Z/oaFOSkt6smx3XdC99Z6iTbX+ae9g05oxqBqNJ0y34PrtvIoxyTvUemfgFM+iYPBUP bcZWzY02UYJfFaYIEW+K4MhptNde6UoRQs2o1YbRHh0WRikqgJwDB8T+dUQw5Lmcsidb myrVAR0JNHeDki9Pfifol6OIjsk9p5S5oB9UkuRB0997uPskvgRPzvSsFnCHsGjw7S+y KDrg== X-Gm-Message-State: AOAM531ZI66bDCpgKC8CCchkxjRHcOb5ZNUnj+tNhbqU1Qu3gCBSjPMn citKPmBL9VsExERuhqDXhqAr+zOny/+IM81d06g= X-Received: by 2002:a2e:9d8f:: with SMTP id c15mr6507117ljj.494.1616327026901; Sun, 21 Mar 2021 04:43:46 -0700 (PDT) Received: from localhost.localdomain (c-d7cb225c.014-348-6c756e10.bbcust.telenor.se. [92.34.203.215]) by smtp.gmail.com with ESMTPSA id 197sm1484419ljf.70.2021.03.21.04.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Mar 2021 04:43:46 -0700 (PDT) From: Linus Walleij To: Lee Jones , Daniel Thompson , Jingoo Han , dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] dt-bindings: backlight: Add Kinetic KTD259 bindings Date: Sun, 21 Mar 2021 12:43:40 +0100 Message-Id: <20210321114341.944696-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The KTD259 is just a newer version of the KTD253 and works all the same. Signed-off-by: Linus Walleij --- .../bindings/leds/backlight/kinetic,ktd253.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.29.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml index 7a6ec1f8c0f3..73fa59e62181 100644 --- a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml @@ -4,13 +4,13 @@ $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Kinetic Technologies KTD253 one-wire backlight +title: Kinetic Technologies KTD253 and KTD259 one-wire backlight maintainers: - Linus Walleij description: | - The Kinetic Technologies KTD253 is a white LED backlight that is + The Kinetic Technologies KTD253 and KTD259 are white LED backlights controlled by a single GPIO line. If you just turn on the backlight it goes to maximum backlight then you can set the level of backlight using pulses on the enable wire. This is sometimes referred to as @@ -21,7 +21,10 @@ allOf: properties: compatible: - const: kinetic,ktd253 + items: + - enum: + - kinetic,ktd253 + - kinetic,ktd259 enable-gpios: description: GPIO to use to enable/disable and dim the backlight.