Received: by 2002:ab2:78c:0:b0:1ec:b906:25e5 with SMTP id h12csp255237lqe; Fri, 23 Feb 2024 03:36:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCvP9L2AJfPDhcYsDG5LzLZx115YbmVspERMOoy5xW9DvUwO0YPSBTTvRz8yLLfVrsqgynDEtlIMO1kzULlGZkx/bIGjSMDIx0/Lf9QA== X-Google-Smtp-Source: AGHT+IF8GUR0FqdmJrl49ZmN5g/YQF2CCAiwunWSHcW1UGo1fJxmQDnOLaLS8QOdu+s9RaDOUoWc X-Received: by 2002:a17:90a:6e4c:b0:299:35a1:f716 with SMTP id s12-20020a17090a6e4c00b0029935a1f716mr1174276pjm.12.1708686301289; Fri, 23 Feb 2024 03:05:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708686301; cv=pass; d=google.com; s=arc-20160816; b=OUIsuxwVuQ4xWy/DgdnOz9Vo33XttZlDudUJskeijSNTcZkXUzGOY9CC2D6oY+cXEQ XcXQYpTCbZ+MwngofVD8vYd7xjz1csYPK9oFjLh62IvHau0yX3aPWpkJsO7xTHBO5Q/5 C4dLSzwukHDaNlPdUv4fSqm/GBos44rEcNaspSuj8rMf3JAiYJ7LN37r0NWrDJizIHJH iPdXWuJuh7GfriE7sRcDs+Acil3FqQW5NTt2kVXGI86Y1OtU9xBUdsS70dPm6mxRNsBp ibRcxQY4QwWqmSD7IlKwAsIdWEyPHCZ2ADfODMFOMVwq03vSVUuwoMATFDXyjRlzs4F8 Mgeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=xwU5HziSB60v6uDoq6w9MpN2pQlRxsjaN7ZxYO9XDhI=; fh=9knZMCUc4usxSF8X5Ui1V4bpmVB0sC45rXxbtHzhAx4=; b=ANVZA/D3fKSFMCqBsZMD8lXkzgKTpsZ1yQeNxPUudBdH8HN97fd4hcuc7v85aMxI12 8QPzW1ukQ7IQguy3KS65XBaBYMeg/IuRMrgCa6wkbQ1uFwzYli2bim2bOh7aI3S+dYap twd9Noop6YOJUriyOdYFNogzBlxewrRGFdRbO3M2U4kEjNhoa4IC/sPoDMV6VBUnMFu7 UdT7kl/JgDJDN0XByGv9Wk4H2dxQIRM+gqaQHptFvCwSTn0wSwvNyqXx0KtYj53+HWSg iYguPgMfXE3i1p2GAQE9rwEmwk6fUqZBKB51b5+TnwvrLiNI86kg1qjhA4hDDlQy6Y4g Ws/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-78174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78174-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lw4-20020a17090b180400b0029a1aaefe30si931757pjb.188.2024.02.23.03.04.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 03:05:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-78174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78174-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 15BCFB27A83 for ; Fri, 23 Feb 2024 10:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96FD06312D; Fri, 23 Feb 2024 10:47:36 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D15C8D29B for ; Fri, 23 Feb 2024 10:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685256; cv=none; b=SgMwgve3f14eb+Jr5X3/e+j6JUy0U0QQiKtBz0wLqsEFV2LGzHzesCE+3V6UujPWrppVrJFH0xqz+tqZNZ7kZ53EFXCVsdyEV+/3J8LxnIaHNLK8yorTgVvnGHrOqjdBgV0wTxdGBFrVJZYDyay/IKoeTFUTXezcOo0jttSowyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685256; c=relaxed/simple; bh=s4MMU7+jsaZJjz9oik9m7Bh8k11l3m1ojNylen52K70=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ViknMJTw5C2xKMI5Jjy4rgQ8Trc/fH0Me8Zq4Z4vu81+rIgxa/DfdH4RGtTQwUHA1T23SU2xwambPj0tkx8o2Kv1Xy47UlNDn0yI6Q/gnONDmYrHoMKBI7XMX/kkRoWMWmyd6uz7fcJ/HLNIN/CKlO3innD4jUeiK+RSyGisFbg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rdT5S-0007T7-5B; Fri, 23 Feb 2024 11:47:26 +0100 From: Marco Felsch To: robh+dt@kernel.org, frowand.list@gmail.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH] of: property: lower loglevel of of_graph_get_next_endpoint Date: Fri, 23 Feb 2024 11:47:21 +0100 Message-Id: <20240223104721.4140880-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Drivers like the tcpm.c do search for a remote endpoint on different places to be dt-bindings compatible. The search is done on the device itself or on the child fwnode in case it was not found the first time. This indicates that not finding the remote endpoint at the first try is a valid use-case and should not cause an error printing. Signed-off-by: Marco Felsch --- Hi, I'm not 100% certain if this is the correct place but if our platform follows the dt-bindings we receive | OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50 a few times because of the below pr_err() and EPROBE_DEFER. Regards, Marco drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/property.c b/drivers/of/property.c index 641a40cf5cf3..155df04a9512 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -665,7 +665,7 @@ struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, of_node_put(node); if (!port) { - pr_err("graph: no port node found in %pOF\n", parent); + pr_notice("graph: no port node found in %pOF\n", parent); return NULL; } } else { -- 2.39.2