Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp179303rwb; Tue, 4 Oct 2022 02:25:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4QS5N33cyENtHs3NVFRF5X6UHGEUvK8IPzPRwoMxjRFcQBdLSdH0LKEhyvQ0AwPeQeP4e+ X-Received: by 2002:a63:2c90:0:b0:439:ee2c:ab2f with SMTP id s138-20020a632c90000000b00439ee2cab2fmr23245505pgs.2.1664875514386; Tue, 04 Oct 2022 02:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664875514; cv=none; d=google.com; s=arc-20160816; b=Rk6izg6khYLfXDowdXOAGjbfrOZiIjXUF3sd5u5i/jQmQc396u+HQ1PcTrVe9QtJIf +p5IWZVgmI3FRlIXvPvsAfpdAUiv3Eeob0mfwdJpA4oAXnDb3FtKRuLz7KiQUSqxojrJ Y2Ah3wnzrzzLVL1GbnT0+nOe5AzXJoNmYrAGIQi0mXhdfA92CQjY5W6n1I4vmkQAUgiQ hD3T5AZO66bGmCqLxL47ivd13u+0qHwd0YzuFwXvQ3iM09oBsTFyD3jhz7q6XFCOQCIZ B+8JuI8L1NetsrR+YAn25bVKrF5Gb1UdFJeWvxIeA6L8B2UgUgtqAVPud2DWYFy9lv5m IpFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MaE+VYQSDiY92kjGX4h2jSkOyA7XFQBMOSLljPLW3Fs=; b=dVo8kiEmooD+Hf3O7C6W80oi03ZbDNBqrIacx3BxPNd3Vd/7ivH5JCjeyxiXK5Xu0C G6Ux7ujJBWV260whMKMGR0okqR8Hb55z5clH23GV8tlCJ/AXTPuV0VKZCaMRdfKSXfNd CTsWKwxV1Vr6iVOuS0ZOruryl83w8Blwwb+MhaIRwYTsoxmXcMSjsQP9WGuKGlc6r8FS 6gMvNuA/aRRR5wHJDPwUTUiLHENXa8SSdwkwnUqhwCsdaytppgSXrQ0fEm44/B0LRFwN tOWC8uIyOnMUp4tMQXwK63JMMDiwoDKh806Ibyw6KynCCCyN7OdJGaINaiaFkdqaLOg6 JZGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kOrG/KsO"; 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 lp8-20020a17090b4a8800b001f541fc751fsi2543511pjb.190.2022.10.04.02.25.02; Tue, 04 Oct 2022 02:25:14 -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="kOrG/KsO"; 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 S229595AbiJDJCY (ORCPT + 99 others); Tue, 4 Oct 2022 05:02:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbiJDJCX (ORCPT ); Tue, 4 Oct 2022 05:02:23 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91742B603 for ; Tue, 4 Oct 2022 02:02:18 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id nb11so27428328ejc.5 for ; Tue, 04 Oct 2022 02:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=MaE+VYQSDiY92kjGX4h2jSkOyA7XFQBMOSLljPLW3Fs=; b=kOrG/KsOgzPslDjCA/2wVvVO8wIY+Cw63qRlS34Bc2Gp0ysABkZAdfwKG3GoOZ3Qov t4oapKrVCSblA5nYqcznfIMp6w4ItdU0n5J/SYR+0Hceg0Jqz/Q6SNrd3vhaaCFEqQdD zeNuwz5e8oIdedEly8BXGR4rPJLr85M/PVlA/PCGFIq+Ggxp+UmRpOxC53yYJetG5DYL Q+HgO/POXHyWYUav/27yx9hiPsg7rGyNS5edBzAQjt7AAACiph3U60WYVAvU393riZGy 0XVfHUXoDmykiCYSMMFso6leDg6qDMmNQAV3bd8hLOxObTYNZhQ4bCRzK59pirN9TatC 3v8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=MaE+VYQSDiY92kjGX4h2jSkOyA7XFQBMOSLljPLW3Fs=; b=zaMf7uUkYekzryYSQiyEoWu6hWfdHVFuHu+dlSaBYbyEvIB8bAqa02x48V2S/OHI+Y GIHDOIWCaSAZ3ogD+kEB4DgFOGz2qXG1A/4Lg5XXVvwbqWqRI6SQgeZgArpQ6D+SA8vf ZrUKHoBB34ZTAbuXxjSXCOX7Ilg1HrawxvAvKD2Vg1fupfsOtFbqgfmh+4VJSNKHumnd f7sBOda5rN+noic9+LmcIxuhdleasSJq3+mIU76dhgwl7FTolkvD3UXX8zkI9h5IhnP6 hPCLFRlqiaHCrPXf5+gVj3H9ZZyS17puF9CpbLj0I6jv/YMLFKv0krbkoif0P0CvgRzu 7uuQ== X-Gm-Message-State: ACrzQf0T3C9fIZ5E1mON2G4bAmxQ36PsX7sZM1HVrhRtvM+XH2wqYMP3 8jfu8Y/CqeYyAciXW4d1M4KbpCt+BIlydqpb0O5ytQ== X-Received: by 2002:a17:906:5d04:b0:77f:ca9f:33d1 with SMTP id g4-20020a1709065d0400b0077fca9f33d1mr19070022ejt.526.1664874137461; Tue, 04 Oct 2022 02:02:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Tue, 4 Oct 2022 11:02:06 +0200 Message-ID: Subject: Re: [RFC/PATCH] backlight: hx8357: prepare to conversion to gpiod API To: Dmitry Torokhov , Sascha Hauer Cc: Krzysztof Kozlowski , Rob Herring , Lee Jones , Daniel Thompson , Jingoo Han , Shawn Guo , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Wed, Sep 28, 2022 at 12:32 AM Dmitry Torokhov wrote: > Properties describing GPIOs should be named as "-gpios" or > "-gpio", and that is what gpiod API expects, however the > driver uses non-standard "gpios-reset" name. Let's adjust this, and also > note that the reset line is active low as that is also important to > gpiod API. > > Signed-off-by: Dmitry Torokhov I think the gods of Open Firmware will try to punish you for such incompatible changes. But I have long since renounced them. > Another option is to add another quirk into gpiolib-of.c, but we > may end up with a ton of them once we convert everything away from > of_get_named_gpio() to gpiod API, so I'd prefer not doing that. We need to know if i.MX is shipping device trees stored in flash, or if they bundle it with the kernel. In the former case, you have to add quirks, in the latter case this patch is fine. Sascha, what does the Freescale maintainer say? Yours, Linus Walleij