Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4723770pxb; Tue, 2 Nov 2021 14:47:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuP9kOn7eExNFZ/BTtZbdUpcIlN+bwBqXnKrH1PuSEHeuxF1ZyppBU5O/pIb7dg3vZ1p+J X-Received: by 2002:a17:907:96a6:: with SMTP id hd38mr8252771ejc.47.1635889625259; Tue, 02 Nov 2021 14:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635889625; cv=none; d=google.com; s=arc-20160816; b=QfQ1lpbmJaqgsS8IzMo5esDTQqScgFSvZthD3jJoTdNdorJiQ/L7+vY9zHwoHeCsAf Z0gQueCph8D5e5rUst/hn3pvhsLNPRs9oLp0RpUdaQ1CBJ4kdLacVzRgmrYuBqRWhPOh 723ML9KSLJRdvpFFQarZIG1sq9XpQ33s7imQAEigczz+PdQk5s3Bebteo1/59zs7l50/ GJvygzro4wv23Zl4A5/DyFWS0NtY9uEEnBh+LAULOz98892opQamPMWZEG7NLaIgXVvd 4AyOmiwyWdMfhkPnmbPatAbwd6110vpzbkWChAHHH+bnCawGxKsj4rZQ+oP72WxFOzei HuVA== 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=++s5U25AmrtB0jRnPpON4TpfrUm8lCjgAhvwZZmMcyk=; b=Jf02A17IDtIA5t6uZJBlI54RoN/vG+dOnlrubKWB5l65Cf37kgGdSuwwMFLF3yPSi2 Qn0rlsgo4yyimukT1FQM2fwEcT5gvyTvWUOezrBahgMSCL1ELlWIct9wvdcYICUCp0qc p96j0qZEMNfctX8J/fuXyUiwKRgyTU3Bm57ajcw0yztm9yWQnW/ebXuOQM4pEne6rOZn bYJLmNsRoxYF0jAWfUdNbH/P9naNMTYhCLj5q9Klp59x+gbnFVWpo9jxDjXRE/fbGE7i cxn9p+Ljb/i+og7kWmHHOiJTrthWkvJGjr7mF5YG3pS7CEWSzMDknSWjc1MITLolTKoN k8Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=ypsj6Ztj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x44si327252ede.453.2021.11.02.14.46.37; Tue, 02 Nov 2021 14:47:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=ypsj6Ztj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231216AbhKBVoz (ORCPT + 99 others); Tue, 2 Nov 2021 17:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbhKBVoy (ORCPT ); Tue, 2 Nov 2021 17:44:54 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7305FC061714 for ; Tue, 2 Nov 2021 14:42:19 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id r8so580145wra.7 for ; Tue, 02 Nov 2021 14:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=++s5U25AmrtB0jRnPpON4TpfrUm8lCjgAhvwZZmMcyk=; b=ypsj6Ztj6KKT7yYtszeRDXqjLyZmFUoIc+pxUWoktkz3jaSW6u2HbXU9Bl27QlJsl0 IWvAbSyqQ0WxqnNA+uYNY973Li8SVWTmbRsqnS11uD6ZwfizcpG3d0twxYCkNSiFdZ8A yajUdx3i+Tn1HCidgUivgNykquHBWP/isqlmQY7+Nzjv9Z5FnpKswnFgweJTvVPjQ2Mb aMd0ytn8pyd8gAAfCxVvIy7VFJoxgv11UiuwG1pkK5jdHWmP8I9DBnl5oFmChc0h4wIY hJUzmoQKiTrYN+UauG/GalqSk3lqXw/Q25UCoakaIc3KigU0ObihOu3kT2sed6VD3B7M DBkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=++s5U25AmrtB0jRnPpON4TpfrUm8lCjgAhvwZZmMcyk=; b=EsbxtxlshTtYP4Ged4I+X7CIN5UJsqnnFIvVxwr9kx92pSZLx05syi4K6CJmasJ50Z VIWFwgGbRA8ZRTNFDKlCeJqg+TSgSeMWM0OUCmAFfzdRkEOQjpiezSyd0JkI+OYIgAk3 CMIpTcwW68BnL082lC3z2UKWkIyvTDTl66s35v1wIanX/yw23y5PQIh0RYfyUJaYUOMH wC1Yqhl9cxQP5F/YPyfD9ZSiOZXWRjlvDL0YiNgmU2IwJr7EUVIOJp7JJ4a3UaV/lsEH mp9FzfYIzrcfMGLFHmA/odIP+AY3OOa0kT6yBQs/YtjrUrXch2ikaRBmZOL3owZ+It39 Fhrg== X-Gm-Message-State: AOAM5306XgmDjgozoY25NcwDfKm37JTOMrWyrgXvn7ipQK7T3MYMAhjc vqFZFnJQZM5+gQwSI0tqrndHTg== X-Received: by 2002:adf:a28f:: with SMTP id s15mr49491954wra.138.1635889338120; Tue, 02 Nov 2021 14:42:18 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id e12sm217581wrq.20.2021.11.02.14.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 14:42:17 -0700 (PDT) Date: Tue, 2 Nov 2021 22:42:16 +0100 From: LABBE Corentin To: Daniel Thompson Cc: lee.jones@linaro.org, jingoohan1@gmail.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, Jean-Jacques Hiblot , Pavel Machek Subject: Re: [PATCH] backlight: led_bl: Add support for an "enable" GPIO Message-ID: References: <20211102100455.2016610-1-clabbe@baylibre.com> <20211102111942.xd7eqz2zrtb7zotc@maple.lan> <20211102112514.75v7evbdp4ccyyt5@maple.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211102112514.75v7evbdp4ccyyt5@maple.lan> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Tue, Nov 02, 2021 at 11:25:14AM +0000, Daniel Thompson a ?crit : > On Tue, Nov 02, 2021 at 11:19:42AM +0000, Daniel Thompson wrote: > > On Tue, Nov 02, 2021 at 10:04:55AM +0000, Corentin LABBE wrote: > > > From: Jean-Jacques Hiblot > > > > > > This patch adds support for an "enable GPIO". > > > > Before taking this kind of change is there a good reason why backlight > > should manage the GPIO? I thought that the LED subsystem was a sub > > system for LEDs (not LED controllers). In other words if you direct > > that the LED be lit up then isn't it the LED driver's job to manage > > the GPIO and ensure that it lights up? > > Sorry... I should have paid more attention to my sense of d?j? vu with > this patch. > > This approach was discussed and rejected when we first introduced the > led_bl driver: > https://lore.kernel.org/linux-leds/20190705100851.zn2jkipj4fxq5we6@devuan/ > Hello I am sorry, I didnt checked if the patch was already submitted or not. Regards