Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp150935rwb; Thu, 27 Jul 2023 10:36:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFaCP5RbXk1KHQrikKdWpE3e+rz79lDeoZJI8BmLSPBTvrl5GPJVtEUZaoUnyB5IBSJloPS X-Received: by 2002:a17:903:244a:b0:1b8:92fc:7429 with SMTP id l10-20020a170903244a00b001b892fc7429mr6583445pls.53.1690479377236; Thu, 27 Jul 2023 10:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690479377; cv=none; d=google.com; s=arc-20160816; b=PUjOpDO8g+KvhWMavhAKcdcVC6BmBRo37jwUlRt7BVkMbkWPnayt/F4VYbD7Kfp1Hq OI9B/y3WkkD4KIGmuwJW/tMX3MoXMZ5Fo5eA094Wnpg4ozVuI5/p3bNE1zwzLqJh7HnQ Q76YJ+VdIjScbWVXWxtUbo4mqBeznotk0GXVp9FE001d1F3Gighdth/ODDX3+tBxmxU3 u6bqJuvYWsUCg/jS2CtgxziavvK1a0A3hJtQ+tovyjIyL2XUl7J+kPdu0sZ4vu593YYG aHswDrL/U3YHy0MlgclZutN7WUuPRi/oARixG2F8zqfvFA6IW5h4EmRkWVTF56qf+5V3 b64w== 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=B+sJqO38e2gNSysz3Tl3WNQ34X1K+Pprq+XQpM/wPpA=; fh=k4RtmDDOnvdaVn1ejf5yIfviY31LIRgY68tv/4E4smE=; b=FlY+UfIJQXrtJbQzKroa0wwR2RmSi/ZCYED8X1GI2ovzx6JZECQY+2/b4Tp+iJyqvy hwynfScYE+NdZXqXX7CVT3x032ti3qoN0wFerCEwkJR/zYkKp0TYgrfywPtejQSOBWem vM568j/Am6TyLs+eVhw42Zcw5/4DEdLXPDJGDa/stjm+swmMhEbOSIUiIEslph7cN6sL A+DDZPYA507Hs1gUeaWhMgFpQQK+/AHg592zUbte1WAG4d5qHiMDBwWMfjSrJr01I21f aic3UALjK4e3mb6u5k3Zn8uT4xJ0vC45RTje9Ay9bLyRzyIVUK9ndxA9/grskZy3c9dm zHxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XR79+iJg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a1709027e8e00b001bb96a30e21si1620706pla.70.2023.07.27.10.36.03; Thu, 27 Jul 2023 10:36:17 -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=XR79+iJg; 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 S232999AbjG0RTG (ORCPT + 99 others); Thu, 27 Jul 2023 13:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232438AbjG0RSs (ORCPT ); Thu, 27 Jul 2023 13:18:48 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 019F5116 for ; Thu, 27 Jul 2023 10:18:39 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-68336d06620so1252526b3a.1 for ; Thu, 27 Jul 2023 10:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690478319; x=1691083119; 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=B+sJqO38e2gNSysz3Tl3WNQ34X1K+Pprq+XQpM/wPpA=; b=XR79+iJg38TdqRqVksssPvqJCfRVppUDJ0SCoIzYZz9E7npJ3QbCrYBR0YtCH1Iwpz bh8ddXSBmExnRlwhNEaqyewsrL8WmSIwwp8P2pEYNXLOnclbvGHTfebTxUYiViXnkb3Q cJhn2pL+oUoG+Carw6pl4TGtM19+hj0XsDhTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690478319; x=1691083119; 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=B+sJqO38e2gNSysz3Tl3WNQ34X1K+Pprq+XQpM/wPpA=; b=XT5GvuT3IuCgkTgFdvlVrXGR/KIlqUt9bDlz7UMape8okTeV68d35TIFpyEpg0zvih gJqm2sLWaG3EyfVk/pC2MBh9/quRZ6ErdD2Cux9OBuPeyPAOvmoBpj3Uy2uXEynQEGVS hlaysFGdwSSW10zXxhqNkir8jAzunUepi2obKssiZLlcSgI7zkK+KaSml7qWjyrc59EL rIuGRQLpBhYajYhaHLaLQSkw8upvfVsx/ReyicFc2y5B4y7QTHz9biF3bgB3goISemq6 +KFRQMCopukyXSrlR7jeFGXOSqE2JDwfpzjF7aXv53DO5v8gbg3PhQVjZEygpyewxWic doaw== X-Gm-Message-State: ABy/qLZNU7YYd1OGtN0Sfv6yeZxGtxIz9S4DJM1ebHI/IeFCO3UE3EKg bBn0UTRKc0BLqAEmS4Fs29US9Q== X-Received: by 2002:a05:6a21:6d88:b0:134:4f86:7966 with SMTP id wl8-20020a056a216d8800b001344f867966mr7749482pzb.9.1690478319489; Thu, 27 Jul 2023 10:18:39 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:2339:954b:b98f:611a]) by smtp.gmail.com with ESMTPSA id 17-20020aa79111000000b0064f76992905sm1702524pfh.202.2023.07.27.10.18.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 10:18:38 -0700 (PDT) From: Douglas Anderson To: Jiri Kosina , Benjamin Tissoires , Bjorn Andersson , Konrad Dybcio , Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: linux-arm-msm@vger.kernel.org, yangcong5@huaqin.corp-partner.google.com, devicetree@vger.kernel.org, Daniel Vetter , hsinyi@google.com, Chris Morgan , linux-input@vger.kernel.org, cros-qcom-dts-watchers@chromium.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Douglas Anderson , Rob Herring Subject: [PATCH v4 04/11] of: property: fw_devlink: Add a devlink for panel followers Date: Thu, 27 Jul 2023 10:16:31 -0700 Message-ID: <20230727101636.v4.4.Ibf8e1342b5b7906279db2365aca45e6253857bb3@changeid> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230727171750.633410-1-dianders@chromium.org> References: <20230727171750.633410-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 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 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. Acked-by: Rob Herring Reviewed-by: Maxime Ripard Signed-off-by: Douglas Anderson --- 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. (no changes since v2) Changes in v2: - ("Add a devlink for panel followers") new for v2. drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) 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, }, -- 2.41.0.487.g6d72f3e995-goog