From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FA56C433F5 for ; Tue, 4 Oct 2022 20:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QmeY06D8oBoveMlvi237GCHxMQSCV63I8lBpAgpnM6o=; b=HydLtZhL/VlPT9 eshj0Nck5uIpjJpItSrZHXU3Zkhgf92fYgbJ12B5RXT6LlchlKHJYaMhba+OhbhoLENYMWskQmrDZ 35gN5GdSgZKsak/gbbnfQ2dp63LfPO0LIV9JwF5NvKaE25F6YxdXRNd29HzwITAzV5VHVlqCz4Jjc vt4Fm/yeSsyballMtMysdm2Dn+0W6MgTssLqn1gMSwRtIu7iP9P5nKSJ8aL18NnH3yoIH781X7N6c Dcpt8LyH+K5NvLvUqI5Z8H0wtpkMZwMNL4oge3QhmnXFCjU9LImbStarlvmIJy4pgpSeFfbN8gUwO PVyJrcHn+MOeekNfEo2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofoe0-00AzpY-HY; Tue, 04 Oct 2022 20:36:00 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofodw-00AzmN-Cu for linux-arm-kernel@lists.infradead.org; Tue, 04 Oct 2022 20:35:59 +0000 Received: by mail-pj1-x1035.google.com with SMTP id x32-20020a17090a38a300b00209dced49cfso11484769pjb.0 for ; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=EM/izpDhzVgjLPP4z1Be56ZjebluoeNmZOVtYAdYVA1P7id/xrgZ5bH/0xCvP5yEXy YB1nt9x5W7qVukkUhpaPSrEWoT/LE22oe4vCOdiovkhSqOpSSsP2/uh5oEYZ8Gb4L/Pb HYHkRzOMDocHXsTt4SRcr+EIbR7w3s4wj/NXLz5eXf9+uBxpHwplErA+kioTVvOEsOSK VCgefRXa5wKvoS2YTSO+aqCnJVPw8aj4nOHCj9sRHwq2/MVZZkrlBGUh4s1j7l5GFakQ y4D/grX3MgEpeWY6wWwuW193whiyo/b3v1SFVqGuBhGQNIxZveMvPVk8caFMSDMYNg6x VXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=hwk3fuAFaMBrZ5jVt1yBQsZlajQ6jXI1YElVuRJeqLMp/HlCxs3EYJ/sTpb0X8UoSE OoA594ieew823eHG0EdMwCmJv13z7uSxE7BqDs9cVrfWmyaz89WCQIHif0bLFeO7J7fl RHu/cxpqWh/Q0L4i+0V7g1KLP+bJhdtG51KDkW3BpM7v4ri8IYXh9Hu4GSpA6hSe5NUN RfqzWW6FMq8rEmpasH85JDrGQDNPBJpdAkY2Jkkiw/nIllu89Ub5+YHqjKhYd2hHYiR8 e0Wv/4sV4grK9bXtKANsSRYcKBZHNZrXz0LzOICKTLpm6LqRv7ZdILSCthZRFYG9KZOW w+Sw== X-Gm-Message-State: ACrzQf0j9sG3mLY9448zEBtm1J1n1qBkNP5yAxnMR1JCh24cIzbi3T9C cHGnj79u1U+FpZxSdotoSqM= X-Google-Smtp-Source: AMsMyM5UzOCqqtVVf0Pssp93TeW8vr3ihVhmaabDx/b+rVCItuV0nYKbvscpLLcx1nfd34nR6aZ4dA== X-Received: by 2002:a17:902:ccc2:b0:178:29f9:5c5e with SMTP id z2-20020a170902ccc200b0017829f95c5emr27263792ple.21.1664915753290; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:978:a034:8ff4:b4b5]) by smtp.gmail.com with ESMTPSA id 63-20020a620442000000b00540d03f3792sm9704838pfe.81.2022.10.04.13.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 13:35:52 -0700 (PDT) Date: Tue, 4 Oct 2022 13:35:49 -0700 From: Dmitry Torokhov To: Linus Walleij Cc: Daniel Thompson , Sascha Hauer , Krzysztof Kozlowski , Rob Herring , Lee Jones , 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 Subject: Re: [RFC/PATCH] backlight: hx8357: prepare to conversion to gpiod API Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221004_133556_496555_9D6B9AE9 X-CRM114-Status: GOOD ( 22.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 04, 2022 at 09:50:25PM +0200, Linus Walleij wrote: > On Tue, Oct 4, 2022 at 2:54 PM Daniel Thompson > wrote: > > > > We need to know if i.MX is shipping device trees stored in flash, > > > or if they bundle it with the kernel. > > > > This part is frequently found in add-on boards so it's not purely an > > i.MX-only question. > > Oh > > > IMHO for not-in-the-soc devices like this the presence of in-kernel DTs > > isn't enough to make a decision. What is needed is a degree of > > due-diligence to show that there are no obvious out-of-kernel users. > > OK I think this is a good case to use a special quirk in this case. > I actually envisioned keeping piling them up, and that they would > not be innumerable. > > Dmitry, could you fix this? Just patch away in gpiolib-of.c. Sure, I'll add a few quirks. I wonder what is the best way to merge this? I can create a bunch of IBs to be pulled, or I can send quirks to you/Bartosz and once they land send the patches to drivers... Thanks. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C648C433F5 for ; Tue, 4 Oct 2022 20:35:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E8B7210E113; Tue, 4 Oct 2022 20:35:57 +0000 (UTC) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC11A10E10E for ; Tue, 4 Oct 2022 20:35:53 +0000 (UTC) Received: by mail-pj1-x102c.google.com with SMTP id h8-20020a17090a054800b00205ccbae31eso19651585pjf.5 for ; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=EM/izpDhzVgjLPP4z1Be56ZjebluoeNmZOVtYAdYVA1P7id/xrgZ5bH/0xCvP5yEXy YB1nt9x5W7qVukkUhpaPSrEWoT/LE22oe4vCOdiovkhSqOpSSsP2/uh5oEYZ8Gb4L/Pb HYHkRzOMDocHXsTt4SRcr+EIbR7w3s4wj/NXLz5eXf9+uBxpHwplErA+kioTVvOEsOSK VCgefRXa5wKvoS2YTSO+aqCnJVPw8aj4nOHCj9sRHwq2/MVZZkrlBGUh4s1j7l5GFakQ y4D/grX3MgEpeWY6wWwuW193whiyo/b3v1SFVqGuBhGQNIxZveMvPVk8caFMSDMYNg6x VXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=hcW69FBXPaMn9ln3OBpZA23v+p9J9b3mVDl+cio6PpMr05rvrzA4JOajzh2RuUc0PD 7uoMJk1zFS89FSZJvBCj5N+O2Zlr65mqWBwO5NP/qEWn60s6fP0MfQJ71f55/I/juPEx HJNfp4LKFFZksf4wsMz8nmNvQy+jfbeZieZmt2wSFJF8L2758sfnfJgI9b5jcpkQneTx ZfpprIvzmY/tUt6ReNMOAUpD2+rm/CjSjF8evraYdM+X8/RA/3yCrJALRtuE4wqh9rm+ JKGaX4+7w7t/dV5TTr30ggjCaHN3X2nEwm91Pz+QR24t2i46wUC1OEKN8GX28Dbzh4fG IuCw== X-Gm-Message-State: ACrzQf14fYlNxcQpy6xp996hEZT23kmsRI/o38Uh5R8G7qLGQhcXu3WM XK2bWdxoDpnBOcz6qPa1X/A= X-Google-Smtp-Source: AMsMyM5UzOCqqtVVf0Pssp93TeW8vr3ihVhmaabDx/b+rVCItuV0nYKbvscpLLcx1nfd34nR6aZ4dA== X-Received: by 2002:a17:902:ccc2:b0:178:29f9:5c5e with SMTP id z2-20020a170902ccc200b0017829f95c5emr27263792ple.21.1664915753290; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:978:a034:8ff4:b4b5]) by smtp.gmail.com with ESMTPSA id 63-20020a620442000000b00540d03f3792sm9704838pfe.81.2022.10.04.13.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 13:35:52 -0700 (PDT) Date: Tue, 4 Oct 2022 13:35:49 -0700 From: Dmitry Torokhov To: Linus Walleij Subject: Re: [RFC/PATCH] backlight: hx8357: prepare to conversion to gpiod API Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: , Cc: Daniel Thompson , Jingoo Han , Sascha Hauer , Lee Jones , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , NXP Linux Team , Krzysztof Kozlowski , Shawn Guo , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Oct 04, 2022 at 09:50:25PM +0200, Linus Walleij wrote: > On Tue, Oct 4, 2022 at 2:54 PM Daniel Thompson > wrote: > > > > We need to know if i.MX is shipping device trees stored in flash, > > > or if they bundle it with the kernel. > > > > This part is frequently found in add-on boards so it's not purely an > > i.MX-only question. > > Oh > > > IMHO for not-in-the-soc devices like this the presence of in-kernel DTs > > isn't enough to make a decision. What is needed is a degree of > > due-diligence to show that there are no obvious out-of-kernel users. > > OK I think this is a good case to use a special quirk in this case. > I actually envisioned keeping piling them up, and that they would > not be innumerable. > > Dmitry, could you fix this? Just patch away in gpiolib-of.c. Sure, I'll add a few quirks. I wonder what is the best way to merge this? I can create a bunch of IBs to be pulled, or I can send quirks to you/Bartosz and once they land send the patches to drivers... Thanks. -- Dmitry From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E350C433FE for ; Tue, 4 Oct 2022 20:35:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229567AbiJDUf5 (ORCPT ); Tue, 4 Oct 2022 16:35:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbiJDUfz (ORCPT ); Tue, 4 Oct 2022 16:35:55 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF6CA25C73 for ; Tue, 4 Oct 2022 13:35:53 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id g1-20020a17090a708100b00203c1c66ae3so14036540pjk.2 for ; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=EM/izpDhzVgjLPP4z1Be56ZjebluoeNmZOVtYAdYVA1P7id/xrgZ5bH/0xCvP5yEXy YB1nt9x5W7qVukkUhpaPSrEWoT/LE22oe4vCOdiovkhSqOpSSsP2/uh5oEYZ8Gb4L/Pb HYHkRzOMDocHXsTt4SRcr+EIbR7w3s4wj/NXLz5eXf9+uBxpHwplErA+kioTVvOEsOSK VCgefRXa5wKvoS2YTSO+aqCnJVPw8aj4nOHCj9sRHwq2/MVZZkrlBGUh4s1j7l5GFakQ y4D/grX3MgEpeWY6wWwuW193whiyo/b3v1SFVqGuBhGQNIxZveMvPVk8caFMSDMYNg6x VXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=9fXt++4LgE9mXdKKs8Gz37yN6oaUTd7sRbjLloeTITA=; b=I+L9kWvwuIPUaBAomVBuBhIRf80QhKvAIOGAOw2LPpcBrh5lBb9P4oh5MvTFlYSRJc 2OP+mkvg48vxVV+JIGn5G4+BJgLSe1yn7sC7PP35Dxm25upAXRt6tneRqekz1XnYR29g 4FJiotEymM0s0J5PhUekN4bz42ts0rjKcPl/GFq4PSGgv6tHjx/jp0nE0HqH6KEBH1dq xMsRLMm10qz4nlJivuakn497BhEHT4RyYdKYhowF1hoLZAlNHqU2HsP5CEQPYOjB+OQF 8bIlrFtHB/Ad16gDEbnP2oEnveaaGgEnCQsRmWfb8Dfjkl4N1UtEXeRbbv5WX4pLh2tn wzew== X-Gm-Message-State: ACrzQf0QPZ9GjmWA4/ZqIg66OYyxlQOlA9i6TPtZcljU7i4f7kR+F3lX uodCFFObALJ8Q/x3Jiwp3g4= X-Google-Smtp-Source: AMsMyM5UzOCqqtVVf0Pssp93TeW8vr3ihVhmaabDx/b+rVCItuV0nYKbvscpLLcx1nfd34nR6aZ4dA== X-Received: by 2002:a17:902:ccc2:b0:178:29f9:5c5e with SMTP id z2-20020a170902ccc200b0017829f95c5emr27263792ple.21.1664915753290; Tue, 04 Oct 2022 13:35:53 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:978:a034:8ff4:b4b5]) by smtp.gmail.com with ESMTPSA id 63-20020a620442000000b00540d03f3792sm9704838pfe.81.2022.10.04.13.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 13:35:52 -0700 (PDT) Date: Tue, 4 Oct 2022 13:35:49 -0700 From: Dmitry Torokhov To: Linus Walleij Cc: Daniel Thompson , Sascha Hauer , Krzysztof Kozlowski , Rob Herring , Lee Jones , 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 Subject: Re: [RFC/PATCH] backlight: hx8357: prepare to conversion to gpiod API Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 04, 2022 at 09:50:25PM +0200, Linus Walleij wrote: > On Tue, Oct 4, 2022 at 2:54 PM Daniel Thompson > wrote: > > > > We need to know if i.MX is shipping device trees stored in flash, > > > or if they bundle it with the kernel. > > > > This part is frequently found in add-on boards so it's not purely an > > i.MX-only question. > > Oh > > > IMHO for not-in-the-soc devices like this the presence of in-kernel DTs > > isn't enough to make a decision. What is needed is a degree of > > due-diligence to show that there are no obvious out-of-kernel users. > > OK I think this is a good case to use a special quirk in this case. > I actually envisioned keeping piling them up, and that they would > not be innumerable. > > Dmitry, could you fix this? Just patch away in gpiolib-of.c. Sure, I'll add a few quirks. I wonder what is the best way to merge this? I can create a bunch of IBs to be pulled, or I can send quirks to you/Bartosz and once they land send the patches to drivers... Thanks. -- Dmitry