[{"id":3189474,"web_url":"http://patchwork.ozlabs.org/comment/3189474/","msgid":"<169591034632.1624130.7939810399934804656.b4-ty@kernel.org>","list_archive_url":null,"date":"2023-09-28T14:12:26","subject":"Re: (subset) [PATCH v2 0/3] Rewrite GPIO LED trigger to use\n trigger-sources","submitter":{"id":65833,"url":"http://patchwork.ozlabs.org/api/people/65833/","name":"Lee Jones","email":"lee@kernel.org"},"content":"On Tue, 26 Sep 2023 23:48:10 +0200, Linus Walleij wrote:\n> This rewrites the platform-data GPIO LED trigger to instead\n> use fwnode trigger-sources to describe the LED used.\n> \n> This will work out-of-the-box with e.g. device tree.\n> \n> Tested with real hardware by modifying a device tree adding\n> trigger-sources to a LED and trigger-source-cells to\n> a gpio chip, setting the trigger to a pushbutton. It works\n> like a charm, once the trigger is set to \"gpio\".\n> \n> [...]\n\nApplied, thanks!\n\n[2/3] dt-bindings: leds: Mention GPIO triggers\n      commit: 4aa583f1a6b85c88e3278d2461797d592ac61fcc\n[3/3] leds: triggers: gpio: Rewrite to use trigger-sources\n      commit: 1222f5dbc7723cc78741343da2e414b80de83c8f\n\n--\nLee Jones [李琼斯]","headers":{"Return-Path":"\n <devicetree+bounces-4302-incoming-dt=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming-dt@patchwork.ozlabs.org","devicetree@vger.kernel.org"],"Delivered-To":"patchwork-incoming-dt@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=pfSTfRbX;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=permerror (SPF Permanent Error: More than 10 MX records returned)\n smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1;\n helo=sv.mirrors.kernel.org;\n envelope-from=devicetree+bounces-4302-incoming-dt=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from sv.mirrors.kernel.org (sv.mirrors.kernel.org\n [IPv6:2604:1380:45e3:2400::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RxFmd02CSz1yp0\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n Fri, 29 Sep 2023 00:12:32 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sv.mirrors.kernel.org (Postfix) with ESMTP id 75F12282032\n\tfor <incoming-dt@patchwork.ozlabs.org>; Thu, 28 Sep 2023 14:12:31 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 657C738BB7;\n\tThu, 28 Sep 2023 14:12:29 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E9C934194\n\tfor <devicetree@vger.kernel.org>; Thu, 28 Sep 2023 14:12:29 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 982BFC433C8;\n\tThu, 28 Sep 2023 14:12:26 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1695910348;\n\tbh=wtGe4SsbGGcWY1/IDsDw79ZQnLnIek+nUMtbOAOYDhM=;\n\th=From:To:Cc:In-Reply-To:References:Subject:Date:From;\n\tb=pfSTfRbXDXPGTcCYn+1RDdOLPiFjsTqIybxiXnvRHC3TAzghtBnkAiU0YGjhlepS7\n\t 9bTekmGi1Cf4YkHVs/dZA0+xPlOXVZrHvgnnbIFQF8TrJ2q6sqSf0TY/q9z5M7Qm+U\n\t csKesPMUaNsHT0BZBADqCQ4lphHqBF66z5h3YeV2m1b+5sDMuKqOzQVsunhHG0qV35\n\t Xe6DecmygpDEuDIC8SAnvWBsRV8NO7ElK6W1dCGDGStTZeJBynsIfaNMaZWvKREyJB\n\t oDZpuJ2wXu0+4VhWwhjk854ex+9it60dDZc2rCDu1SpL6G7IhADS5fCxCJrbkt4OUl\n\t 1rtVXf39UPpcA==","From":"Lee Jones <lee@kernel.org>","To":"=?utf-8?q?Jan_Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>,\n  Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,\n  Rob Herring <robh+dt@kernel.org>,\n  Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n  Conor Dooley <conor+dt@kernel.org>,\n  Jacek Anaszewski <jacek.anaszewski@gmail.com>,\n  Linus Walleij <linus.walleij@linaro.org>","Cc":"linux-leds@vger.kernel.org, linux-gpio@vger.kernel.org,\n devicetree@vger.kernel.org, Conor Dooley <conor.dooley@microchip.com>","In-Reply-To":"<20230926-gpio-led-trigger-dt-v2-0-e06e458b788e@linaro.org>","References":"<20230926-gpio-led-trigger-dt-v2-0-e06e458b788e@linaro.org>","Subject":"Re: (subset) [PATCH v2 0/3] Rewrite GPIO LED trigger to use\n trigger-sources","Message-Id":"<169591034632.1624130.7939810399934804656.b4-ty@kernel.org>","Date":"Thu, 28 Sep 2023 15:12:26 +0100","Precedence":"bulk","X-Mailing-List":"devicetree@vger.kernel.org","List-Id":"<devicetree.vger.kernel.org>","List-Subscribe":"<mailto:devicetree+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:devicetree+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"8bit","X-Mailer":"b4 0.12.2"}},{"id":3189729,"web_url":"http://patchwork.ozlabs.org/comment/3189729/","msgid":"<CACRpkda0XnLtNwp-sQhS=SKqPB+zce7ZJpEeKnJbGmfsL=p_Qw@mail.gmail.com>","list_archive_url":null,"date":"2023-09-28T21:15:06","subject":"Re: [PATCH v2 1/3] gpiolib: of: Allow \"trigger-sources\" to reference\n a GPIO","submitter":{"id":7055,"url":"http://patchwork.ozlabs.org/api/people/7055/","name":"Linus Walleij","email":"linus.walleij@linaro.org"},"content":"On Tue, Sep 26, 2023 at 11:48 PM Linus Walleij <linus.walleij@linaro.org> wrote:\n\n> The \"trigger-sources\" phandle used for LED triggers are special:\n> the DT bindings mandate that such triggers have the same phandle\n> references no matter what the trigger is. A GPIO is just another\n> kind of device that can trigger a LED.\n>\n> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>\n\nBartosz could you queue this patch? Lee already queued patches 2+3,\nand there is just runtime dependency with no in-tree users so it's fine\nto merge them in the different trees.\n\nSorry for missing to CC you directly on the set :/\n\nYours,\nLinus Walleij","headers":{"Return-Path":"\n <devicetree+bounces-4413-incoming-dt=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming-dt@patchwork.ozlabs.org","devicetree@vger.kernel.org"],"Delivered-To":"patchwork-incoming-dt@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=V3QrO3PK;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=permerror (SPF Permanent Error: More than 10 MX records returned)\n smtp.mailfrom=vger.kernel.org (client-ip=139.178.88.99;\n helo=sv.mirrors.kernel.org;\n envelope-from=devicetree+bounces-4413-incoming-dt=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RxR8X17PCz1ypf\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n Fri, 29 Sep 2023 07:15:24 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sv.mirrors.kernel.org (Postfix) with ESMTP id 84FE828379B\n\tfor <incoming-dt@patchwork.ozlabs.org>; Thu, 28 Sep 2023 21:15:22 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 1B3B1168B0;\n\tThu, 28 Sep 2023 21:15:21 +0000 (UTC)","from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net\n [23.128.96.19])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 87C029CA71\n\tfor <devicetree@vger.kernel.org>; Thu, 28 Sep 2023 21:15:19 +0000 (UTC)","from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com\n [IPv6:2607:f8b0:4864:20::b2e])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTPS id 629B3F3\n\tfor <devicetree@vger.kernel.org>; Thu, 28 Sep 2023 14:15:18 -0700 (PDT)","by mail-yb1-xb2e.google.com with SMTP id\n 3f1490d57ef6-d81d09d883dso15235915276.0\n        for <devicetree@vger.kernel.org>;\n Thu, 28 Sep 2023 14:15:18 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=linaro.org; s=google; t=1695935717; x=1696540517;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=zMae55Fx7PiApDYXyPzKPPdkwhRMRqPd7wXKmf/Imiw=;\n        b=V3QrO3PKQm9H77cDdo64Sx3GKFC9R0/AE55TYuvlRWvAc38QhOX3skh4W/5A8B3S6v\n         wRN7Clf1QRkmqa0FYiqOW0Mz0H02ARktho3VUFYk2r0SHBqvSLyWa5f9wz6FaTJjd2Ui\n         HR0QYYZQlkvV3wnTLuUYGizNl+F1B3P7TTKaUICfy3dfiLsRYJDgEVX6NkMtoEnQF63/\n         ckabajfDmYZXifx0zoG/OlGFeXeGetgLsiDevIs8+JeJobnnAm2oKeOnOyeTvOel5AZQ\n         KYsjBRbsecZVyJVmHK8fIKhOzpU2HW9p0Y9BtMwj1z0mnM81SJ0+eUH/3XOQpnWLleUS\n         +AVg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1695935717; x=1696540517;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc\n         :subject:date:message-id:reply-to;\n        bh=zMae55Fx7PiApDYXyPzKPPdkwhRMRqPd7wXKmf/Imiw=;\n        b=TbxBk9p1Z42rizF7Qg9RR0lCEJ3uar9ClyuS8u5udE4t1kkE2Yk0PXR3qZSnhmvF6D\n         cn1Teck8/oFRMIUQI4Y1cNTbkZ1xOsd56BVYDHo5NAMr57VfEYbKnibbQ03xhJhEk0KT\n         Sjm/TZDsLoq/b8Ni2TrdUAbDrXh4WleSYhi0k87zeTDMUaFs0xxX/Gzh6wcsne7uJxp+\n         14EryL06F1D62GloRje4eI1GZgprZYR5NOM4werY7qPmBDSQjxyOXeUqQqmbX4TwFs/R\n         k05ptS5Ac0ZhoxhG8GMdn64LKz0++Y6I2LHJQ2qQhrHhsH6Zycu2XEWSilKYJk7+x91L\n         4yYQ==","X-Gm-Message-State":"AOJu0Yy1LE4pqPa4tGqRQOewiivJ2gaPm4NY+JILG7ILmFj9su1n5EvM\n\tCafsqfjfSOsPWEChB79C+jVZXOcYnksRzlEnTlB+lg==","X-Google-Smtp-Source":"\n AGHT+IEx5vmOlgc90YGcN9ELfymxnTjl5jH5W/7HnoFi7r9aFnJqkqfFU0S8v8Bpml17IwCuy4WjLkmqcJSWej8jc+E=","X-Received":"by 2002:a25:ca8b:0:b0:d80:9ed:5038 with SMTP id\n a133-20020a25ca8b000000b00d8009ed5038mr2385007ybg.21.1695935717623; Thu, 28\n Sep 2023 14:15:17 -0700 (PDT)","Precedence":"bulk","X-Mailing-List":"devicetree@vger.kernel.org","List-Id":"<devicetree.vger.kernel.org>","List-Subscribe":"<mailto:devicetree+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:devicetree+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","References":"<20230926-gpio-led-trigger-dt-v2-0-e06e458b788e@linaro.org>\n <20230926-gpio-led-trigger-dt-v2-1-e06e458b788e@linaro.org>","In-Reply-To":"<20230926-gpio-led-trigger-dt-v2-1-e06e458b788e@linaro.org>","From":"Linus Walleij <linus.walleij@linaro.org>","Date":"Thu, 28 Sep 2023 23:15:06 +0200","Message-ID":"\n <CACRpkda0XnLtNwp-sQhS=SKqPB+zce7ZJpEeKnJbGmfsL=p_Qw@mail.gmail.com>","Subject":"Re: [PATCH v2 1/3] gpiolib: of: Allow \"trigger-sources\" to reference\n a GPIO","To":"=?utf-8?q?Jan_Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>,\n  Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,\n Rob Herring <robh+dt@kernel.org>,\n  Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n Conor Dooley <conor+dt@kernel.org>,\n  Jacek Anaszewski <jacek.anaszewski@gmail.com>,\n Bartosz Golaszewski <brgl@bgdev.pl>","Cc":"linux-leds@vger.kernel.org, linux-gpio@vger.kernel.org,\n\tdevicetree@vger.kernel.org","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n\tSPF_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\n\tlindbergh.monkeyblade.net"}},{"id":3190969,"web_url":"http://patchwork.ozlabs.org/comment/3190969/","msgid":"<CAMRc=MecwZRE=2jG-24hFZaKZW2GdUBzD0FBYfh8Vce69qH84w@mail.gmail.com>","list_archive_url":null,"date":"2023-10-02T07:45:58","subject":"Re: [PATCH v2 1/3] gpiolib: of: Allow \"trigger-sources\" to reference\n a GPIO","submitter":{"id":71346,"url":"http://patchwork.ozlabs.org/api/people/71346/","name":"Bartosz Golaszewski","email":"brgl@bgdev.pl"},"content":"On Wed, Sep 27, 2023 at 12:41 AM Linus Walleij <linus.walleij@linaro.org> wrote:\n>\n> The \"trigger-sources\" phandle used for LED triggers are special:\n> the DT bindings mandate that such triggers have the same phandle\n> references no matter what the trigger is. A GPIO is just another\n> kind of device that can trigger a LED.\n>\n> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>\n> ---\n>  drivers/gpio/gpiolib-of.c | 28 ++++++++++++++++++++++++++++\n>  1 file changed, 28 insertions(+)\n>\n> diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c\n> index 531faabead0f..f4a660bf11fd 100644\n> --- a/drivers/gpio/gpiolib-of.c\n> +++ b/drivers/gpio/gpiolib-of.c\n> @@ -611,6 +611,33 @@ static struct gpio_desc *of_find_mt2701_gpio(struct device_node *np,\n>         return desc;\n>  }\n>\n> +/*\n> + * Trigger sources are special, they allow us to use any GPIO as a LED trigger\n> + * and have the name \"trigger-sources\" no matter which kind of phandle it is\n> + * pointing to, whether to a GPIO, a USB host, a network PHY etc. So in this case\n> + * we allow looking something up that is not named \"foo-gpios\".\n> + */\n> +static struct gpio_desc *of_find_trigger_gpio(struct device_node *np,\n> +                                             const char *con_id,\n> +                                             unsigned int idx,\n> +                                             enum of_gpio_flags *of_flags)\n> +{\n> +       struct gpio_desc *desc;\n> +\n> +       if (!IS_ENABLED(CONFIG_LEDS_TRIGGER_GPIO))\n> +               return ERR_PTR(-ENOENT);\n> +\n> +       if (!con_id || strcmp(con_id, \"trigger-sources\"))\n> +               return ERR_PTR(-ENOENT);\n> +\n> +       desc = of_get_named_gpiod_flags(np, con_id, idx, of_flags);\n> +       if (!gpiod_not_found(desc))\n> +               pr_debug(\"%s is used as a trigger\\n\", of_node_full_name(np));\n> +\n> +       return desc;\n> +}\n> +\n> +\n>  typedef struct gpio_desc *(*of_find_gpio_quirk)(struct device_node *np,\n>                                                 const char *con_id,\n>                                                 unsigned int idx,\n> @@ -618,6 +645,7 @@ typedef struct gpio_desc *(*of_find_gpio_quirk)(struct device_node *np,\n>  static const of_find_gpio_quirk of_find_gpio_quirks[] = {\n>         of_find_gpio_rename,\n>         of_find_mt2701_gpio,\n> +       of_find_trigger_gpio,\n>         NULL\n>  };\n>\n>\n> --\n> 2.34.1\n>\n\nQueued, thanks!\n\nBart","headers":{"Return-Path":"\n <devicetree+bounces-5025-incoming-dt=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming-dt@patchwork.ozlabs.org","devicetree@vger.kernel.org"],"Delivered-To":"patchwork-incoming-dt@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bgdev-pl.20230601.gappssmtp.com\n header.i=@bgdev-pl.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=SXOL3One;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=permerror (SPF Permanent Error: More than 10 MX records returned)\n smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1;\n helo=sv.mirrors.kernel.org;\n envelope-from=devicetree+bounces-5025-incoming-dt=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from sv.mirrors.kernel.org (sv.mirrors.kernel.org\n [IPv6:2604:1380:45e3:2400::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RzY1743Llz1yng\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n Mon,  2 Oct 2023 18:46:19 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sv.mirrors.kernel.org (Postfix) with ESMTP id 512CC281B76\n\tfor <incoming-dt@patchwork.ozlabs.org>; Mon,  2 Oct 2023 07:46:17 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 348801C38;\n\tMon,  2 Oct 2023 07:46:15 +0000 (UTC)","from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net\n [23.128.96.19])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 345621873\n\tfor <devicetree@vger.kernel.org>; Mon,  2 Oct 2023 07:46:13 +0000 (UTC)","from mail-ua1-x929.google.com (mail-ua1-x929.google.com\n [IPv6:2607:f8b0:4864:20::929])\n\tby lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5523C4\n\tfor <devicetree@vger.kernel.org>; Mon,  2 Oct 2023 00:46:10 -0700 (PDT)","by mail-ua1-x929.google.com with SMTP id\n a1e0cc1a2514c-76d846a4b85so6138189241.1\n        for <devicetree@vger.kernel.org>;\n Mon, 02 Oct 2023 00:46:10 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696232770;\n x=1696837570; darn=vger.kernel.org;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=pqvIhDje53OxVjVG4IMyzH0AYEEkPwbJqHOXxnNcgoM=;\n        b=SXOL3OnegeiKvhOsAGCB3Z2flJAWFYAsueQD1ka1JmjmpcdF8/YzstXeyADEsBXeyS\n         WUX1p7SyVJmv1BVQKMeoTRnfUe8tyfjVbT5KZq4KHVqRLXctbboZ8dkxam5Ids0zmF6f\n         SHyHnXQP36idqVRVjQNFlkPNeP9N/hbTdgEOxwjWejC4nFbAgHqgmThZeuxeDj2D5HNY\n         c6hHkSUPgAmnrn4ncdmp3KjwzEcvDYdhDUHggjVp4jyfJv6OuRA7oVX8uESPWITK6lFZ\n         MLai1PCfESWD73Mzjdr3yyQL/55CIqBg56UkmTErOcvlfluRENDXSY+X5Myc7Ue6ZcgG\n         wTVw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1696232770; x=1696837570;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc\n         :subject:date:message-id:reply-to;\n        bh=pqvIhDje53OxVjVG4IMyzH0AYEEkPwbJqHOXxnNcgoM=;\n        b=En9lpe7wD4HDC3rtMXuce+t/exnstd8tW/cNWDwl0Fq681XHwTGPWcRbnJa2k9JevY\n         NaQ1sbcuMtOq6NiZHiCY0HufjP8NzKlQOqI8LwV+EvbOJoe8srQ5QEkO1ajT155iG1TX\n         VBrrAGwNURuXA7PlTz7bRRdq7UlDd/fY4GZq9AOOJ8tIOPYsf+SHykhdERjOvv0LCCjX\n         VTY4joTvUNc2UZlZBNfApsqpoNI0m2EbpPhiEr44t5yA1LQOO151nJsO5AIDjCWRQWhF\n         gK/6dWPT/WtaqSK1C8MhaLG3eRhxwhubaBUarESjEaAgg52fQL3pq5QTxrqF9YNVAavo\n         RblA==","X-Gm-Message-State":"AOJu0YwAxQr6su1RBJMEa/kRXVcBhVafIpZNVtvcQS9fbqj6TNwy8470\n\tIn2xo2N8ZYmNyvHSk8e0/u/4q5/gmWSl+AZJ4lHijapuga4fjgkE","X-Google-Smtp-Source":"\n AGHT+IHTpV2uxpyu37sYvaeFFlRCZLBZ48HAtumXYT6TL0P81tfHDEtcfQx3wfacL8SBXAzjoUIJNk0tgavHfPNw63U=","X-Received":"by 2002:a05:6122:9a9:b0:49d:d91:8b27 with SMTP id\n g41-20020a05612209a900b0049d0d918b27mr8582974vkd.2.1696232769830; Mon, 02 Oct\n 2023 00:46:09 -0700 (PDT)","Precedence":"bulk","X-Mailing-List":"devicetree@vger.kernel.org","List-Id":"<devicetree.vger.kernel.org>","List-Subscribe":"<mailto:devicetree+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:devicetree+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","References":"<20230926-gpio-led-trigger-dt-v2-0-e06e458b788e@linaro.org>\n <20230926-gpio-led-trigger-dt-v2-1-e06e458b788e@linaro.org>","In-Reply-To":"<20230926-gpio-led-trigger-dt-v2-1-e06e458b788e@linaro.org>","From":"Bartosz Golaszewski <brgl@bgdev.pl>","Date":"Mon, 2 Oct 2023 09:45:58 +0200","Message-ID":"\n <CAMRc=MecwZRE=2jG-24hFZaKZW2GdUBzD0FBYfh8Vce69qH84w@mail.gmail.com>","Subject":"Re: [PATCH v2 1/3] gpiolib: of: Allow \"trigger-sources\" to reference\n a GPIO","To":"Linus Walleij <linus.walleij@linaro.org>","Cc":"=?utf-8?q?Jan_Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>,\n  Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,\n Rob Herring <robh+dt@kernel.org>,\n  Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n Conor Dooley <conor+dt@kernel.org>,\n  Jacek Anaszewski <jacek.anaszewski@gmail.com>, linux-leds@vger.kernel.org,\n  linux-gpio@vger.kernel.org, devicetree@vger.kernel.org","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n\tDKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham\n\tautolearn_force=no version=3.4.6","X-Spam-Checker-Version":"SpamAssassin 3.4.6 (2021-04-09) on\n\tlindbergh.monkeyblade.net"}}]