Message ID | 20230607144931.v2.4.Ibf8e1342b5b7906279db2365aca45e6253857bb3@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp516006vqr; Wed, 7 Jun 2023 15:16:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OFpSCg0mJ314lP+igruk/3HLxuB8kaLkEz39tFP25RX4Bhf572fRlHo85Rz5WNenb9VV7 X-Received: by 2002:a05:6a00:c8c:b0:64f:52c9:ddd5 with SMTP id a12-20020a056a000c8c00b0064f52c9ddd5mr8624466pfv.34.1686176210574; Wed, 07 Jun 2023 15:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686176210; cv=none; d=google.com; s=arc-20160816; b=t//+6bMQGY5Ts8c5CrsM128iqZCqjgAGL2otLakuhZ3XR0pI1RtEduGL7id4ZrrLZm ex7BS8n/9/5iQA7CzVRNAXUTwNUOWCrEoiZlKCN4hnkR6/D1N8YzcYO2bpc+QuyHQOaa vaWv2tcq9iCTz4MTGQYelUMSqW3ZCU++rx1jb+CLSeCLmeNs5cLI53PLoc3gWnAspUzk gTOVdomF3ikHLWvxA1W67icmyGUq5MjVUAykBA4TAlvX9SG4xJejNlemB2kSa8nA4JhB UC1/E0IYDCE8wfJ7pGioFIeNqrp9Qx+1PX/1m5+JQP9POnxsi1DwQZIhyWCvtK9FgCZL 0bvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=crBZss5mF3gjKLwx/CqtOTtfgR9i9SC8rNyLPUKs7BQ=; b=HNFYJS+5ZCker9o9x7WsHsp2h+mQokOF8or/mIv9Jx95wvV1gqUMrTLasls64qDbaj cBHRHkqxEf4YFAuCxczRL1Vh/g0+mcrp5bho6TQBjkuTA6dSoqPNs/kNrPCPs0jZblpt EAUCGEabjQBtvd78xz5xHUO2Vy2YtKkpNTUxIauQ8sYP3Ga9mKl9gv8d6t7oe8INVh9X mMIXNhuQXtQ8wLxxTd4RQMfEWhanAI3zo5G1r0nKYlO6X1q7XOCaGgTAFODSiBNn9+Tq Kn7DK1tgBpDi8kTUkaAIaXwvsGa902g7IUKQdaj+9vT98fZrp1/1cGiKSarsLa3dQ9i0 9khg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gLEGdkrl; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv5-20020a632e05000000b0052c6200e5e1si9420406pgb.649.2023.06.07.15.16.36; Wed, 07 Jun 2023 15:16:50 -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=@chromium.org header.s=google header.b=gLEGdkrl; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230526AbjFGVx2 (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 17:53:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbjFGVxT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 17:53:19 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5363E2126 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 14:53:16 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-651f2f38634so7540394b3a.0 for <linux-kernel@vger.kernel.org>; Wed, 07 Jun 2023 14:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686174796; x=1688766796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=crBZss5mF3gjKLwx/CqtOTtfgR9i9SC8rNyLPUKs7BQ=; b=gLEGdkrlNnvMgTTGOEdCWWcfB1i72xB3KWqQx+7tAf5HZk5n8a87dTE8cDhQijzzBu lAV4kwbGPWSfrKgAixZN8QhMZX1SeEOn/DLX/dhv0PRDbO0tDOlWRmyatlez7rCoDgou WTw7bTbJbWTLjeon8Fy7dVsLN71SI8wsOrOug= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686174796; x=1688766796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=crBZss5mF3gjKLwx/CqtOTtfgR9i9SC8rNyLPUKs7BQ=; b=ayzXyXNpe6k0SO7VYQuULKrLfNhxq0/TkXD0SUjXLoSQvJ2Q+YqwLYt7RhPn5/FQic vppxT81LR0zqwnsf43jMm+Phlw0UsIJ4rqo3vXBt9Dzozf9g4WAHs+Kx6ZhiFk/6Otv+ P0eL4YTWGKsAMkNPLDK9ay53bpkhjtoNG0/qrRJVrenqEZ0ssHoj3h6zjG7pHJldnIFy /A7jIZRXAZK5eH/+tj1Q+k25I9ifqxL4PeaQRAefXuw8Ghev4rzoINxRYkgyrZtiX6om SmvW9ZuCD9AOVjscvaZQ3XD7JXW0IJQDE9W/yaL059Odpp+gCHa5TZF4COnTenMDAjiy 3Faw== X-Gm-Message-State: AC+VfDzhRsLSfbhXgvWcBQR4sV61AFeU0grwnRja2lkThM6OHDF0K8br XPpiWwRBfF81qE81HnHpZntu9w== X-Received: by 2002:aa7:8889:0:b0:64c:a554:f577 with SMTP id z9-20020aa78889000000b0064ca554f577mr8115023pfe.11.1686174795822; Wed, 07 Jun 2023 14:53:15 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:34b2:b638:6b53:f6c2]) by smtp.gmail.com with ESMTPSA id j25-20020aa78d19000000b0065dd1e7c2c1sm1376486pfe.63.2023.06.07.14.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 14:53:15 -0700 (PDT) From: Douglas Anderson <dianders@chromium.org> To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Sam Ravnborg <sam@ravnborg.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de> Cc: dri-devel@lists.freedesktop.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org, Daniel Vetter <daniel@ffwll.ch>, linux-kernel@vger.kernel.org, hsinyi@google.com, cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, yangcong5@huaqin.corp-partner.google.com, linux-arm-msm@vger.kernel.org, Chris Morgan <macroalpha82@gmail.com>, Douglas Anderson <dianders@chromium.org> Subject: [PATCH v2 04/10] of: property: fw_devlink: Add a devlink for panel followers Date: Wed, 7 Jun 2023 14:49:26 -0700 Message-ID: <20230607144931.v2.4.Ibf8e1342b5b7906279db2365aca45e6253857bb3@changeid> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230607215224.2067679-1-dianders@chromium.org> References: <20230607215224.2067679-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768083906322178252?= X-GMAIL-MSGID: =?utf-8?q?1768083906322178252?= |
Series |
drm/panel and i2c-hid: Allow panels and touchscreens to power sequence together
|
|
Commit Message
Doug Anderson
June 7, 2023, 9:49 p.m. UTC
Inform fw_devlink of the fact that a panel follower (like a
touchscreen) is effectively a consumer of the panel from the purposes
of fw_devlink.
NOTE: this patch isn't required for correctness but instead optimizes
probe order / helps avoid deferrals.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
Since this is so small, I'd presume it's OK for it to go through a DRM
tree with the proper Ack. That being said, this patch is just an
optimization and thus it could land completely separately from the
rest and they could all meet up in mainline.
Changes in v2:
- ("Add a devlink for panel followers") new for v2.
drivers/of/property.c | 2 ++
1 file changed, 2 insertions(+)
Comments
On Wed, Jun 07, 2023 at 02:49:26PM -0700, Douglas Anderson wrote: > Inform fw_devlink of the fact that a panel follower (like a > touchscreen) is effectively a consumer of the panel from the purposes > of fw_devlink. > > NOTE: this patch isn't required for correctness but instead optimizes > probe order / helps avoid deferrals. > > Signed-off-by: Douglas Anderson <dianders@chromium.org> > --- > Since this is so small, I'd presume it's OK for it to go through a DRM > tree with the proper Ack. That being said, this patch is just an > optimization and thus it could land completely separately from the > rest and they could all meet up in mainline. > > Changes in v2: > - ("Add a devlink for panel followers") new for v2. > > drivers/of/property.c | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring <robh@kernel.org>
diff --git a/drivers/of/property.c b/drivers/of/property.c index ddc75cd50825..cf8dacf3e3b8 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1266,6 +1266,7 @@ DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells") DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells") DEFINE_SIMPLE_PROP(leds, "leds", NULL) DEFINE_SIMPLE_PROP(backlight, "backlight", NULL) +DEFINE_SIMPLE_PROP(panel, "panel", NULL) DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") @@ -1354,6 +1355,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_resets, }, { .parse_prop = parse_leds, }, { .parse_prop = parse_backlight, }, + { .parse_prop = parse_panel, }, { .parse_prop = parse_gpio_compat, }, { .parse_prop = parse_interrupts, }, { .parse_prop = parse_regulators, },