Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp193579rwb; Tue, 25 Jul 2023 14:16:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlHvbzawvD/gVGeCsgLMlndQmrtxFaIoOojmFf0LgCq6VQRySq92UFexk5AUlvALE8oAohMG X-Received: by 2002:a17:902:9302:b0:1b8:4e69:c900 with SMTP id bc2-20020a170902930200b001b84e69c900mr363274plb.14.1690319781707; Tue, 25 Jul 2023 14:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690319781; cv=none; d=google.com; s=arc-20160816; b=e2V30HlvdBp9A6DFcgZaj0YGbkyEinEoVMqUfqYKHAmkGTkJwc2w7op2EqRxEy9gcl ka12r2I+WFXa7/O/cIq+6pSKDvW1/ezC2b2koiyj6vMPr5o4orDbKESxiUMs5Fq1pJQk meKvTNsFmjFkQymynFYDZQVAx/x2Ob9LzZpFuVFv6WmCc+uI6t6hMgSU3QSyzQ7yyY1L N1iAdp+Hvs7d07fQYd7NzD/e1yF+eV7f0a+bZVCD0JQyZ+iI1xuBqC/g3SUNkRSgxAQz msJhCkphbaK6b3AlhkOiLnlxdO01lnNtnmbJQVg5Y0WDaoNgP4CnGEUaUx7bYkNHV+se ufQw== 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=EhdEP47Q6zcMA0F+PcMkdWz/9ABzj35GTZZYW72E4F8=; fh=o7dLtACNl+Nw/xU4h1UwCts2zldYlioddaEk9AfYnGo=; b=SmcV9/UBoXp8dtaY1HvezrWCq4b/309XcY8LoWv3hWDL8voXTQorLcfRHw+eO0/Meu eXhMGJ1qADgIx3WgwQJWR0ebUAKF5WLK9RRmugqf+WooRDqzYQZSSzMHl8Ga55Tpuq02 6tJTUL+XayIFoLV0Sl9PaVwF0/f2LvXNqSwd5Ndghn/h37mlBwe3JlWPGqX1TLSoVeKc N3aSAUMCUh4JzXQgJUi+gVd2GtBKSKUHch8XtvyyHgccignbXZsplyUzGPBWdYf8KdWb Ln3FPqWm8gQkKEFHUDuJdhXoF8DO279RlwjL+BvWPGDKguvRk3H2Qfthgn3WQuWW06Hh 0GYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FK9uzQr2; 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 l20-20020a170903005400b001b9c34985e1si11516700pla.497.2023.07.25.14.16.08; Tue, 25 Jul 2023 14:16:21 -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=FK9uzQr2; 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 S231310AbjGYUhQ (ORCPT + 99 others); Tue, 25 Jul 2023 16:37:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbjGYUhI (ORCPT ); Tue, 25 Jul 2023 16:37:08 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AB6212C for ; Tue, 25 Jul 2023 13:37:05 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-267f870e6ffso1659854a91.0 for ; Tue, 25 Jul 2023 13:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690317424; x=1690922224; 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=EhdEP47Q6zcMA0F+PcMkdWz/9ABzj35GTZZYW72E4F8=; b=FK9uzQr2XJHv+OfyWZgjtunriUloqdtwx+ivv6sQ2PO2zuBkv8MqfPI9lg7syKN0Lc jKh6qXFqfVPH+Q6qa2kQ3Ihe8Ymc8CsB/6MVMGNgfmzaEbLiMCXZ6tlj4sYCiIfzo2r1 6Fdvc5Qyo+4UaTFF7lBNW7PLpmXbQKhBDUpMg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690317424; x=1690922224; 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=EhdEP47Q6zcMA0F+PcMkdWz/9ABzj35GTZZYW72E4F8=; b=NOKGoqpPtE4G9eMypodh0fnlAxqzkT/ZPv7BUsiHRpPCwlvmKYGsaPBTWQR0v5V3N2 6PDRJPgRqIojAza0pghfGipPAi+4pT8/yiKG8XnSkkfwCn3jElICm6vxVJZY0WRZWkzA krMLlrv8oaW7s2a2lfwDdjYVhLCAw8rZRUb+xHmHwMYhjVqTuGotsOr34d+tWUbudrOy uBZ/eFLjUNj7/SM3vzYNpv8vAvby5hb/h8ta28ToTfQBCKdtDT+HhTcrH+aIJkYu8DgH HIyp9Xd6oERTKbBUbo+SzhuuTrxv00SDc3/uwEsOY4Gpohn1oEEZQijzPnmIBAg32e0J 3xMQ== X-Gm-Message-State: ABy/qLZ4BeGtnisxWL7U2htsC8tweB8M/Kv30dWzs2alLgRn0+nRGZUe ZX+C2klYWokvK2ARGj1f4yDM0g== X-Received: by 2002:a17:90b:4b89:b0:268:2d6:74d6 with SMTP id lr9-20020a17090b4b8900b0026802d674d6mr235219pjb.16.1690317424748; Tue, 25 Jul 2023 13:37:04 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:c363:4681:f5b8:301]) by smtp.gmail.com with ESMTPSA id bg1-20020a17090b0d8100b002676e961261sm1396951pjb.1.2023.07.25.13.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 13:37:03 -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: cros-qcom-dts-watchers@chromium.org, Chris Morgan , linux-input@vger.kernel.org, hsinyi@google.com, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , devicetree@vger.kernel.org, Daniel Vetter , yangcong5@huaqin.corp-partner.google.com, Douglas Anderson , Rob Herring Subject: [PATCH v3 04/10] of: property: fw_devlink: Add a devlink for panel followers Date: Tue, 25 Jul 2023 13:34:39 -0700 Message-ID: <20230725133443.v3.4.Ibf8e1342b5b7906279db2365aca45e6253857bb3@changeid> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230725203545.2260506-1-dianders@chromium.org> References: <20230725203545.2260506-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: 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 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