Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2106983rwb; Sun, 14 Aug 2022 21:39:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR4FdlUH4EQnlbr/hDEPAGm/5QAg9cljX3ip47p+5Yuh6szDnIPDEXpjvsxzCv4yCh2X/ynL X-Received: by 2002:a05:6402:4014:b0:43b:cd24:fff3 with SMTP id d20-20020a056402401400b0043bcd24fff3mr13294018eda.351.1660538350097; Sun, 14 Aug 2022 21:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660538350; cv=none; d=google.com; s=arc-20160816; b=YBKqHywQJYqrnI7jGDIqCsPmenxo8Ax/2EM98GMoXxJ4EC23d4KEyV8r8WaWKSp/d8 KA5d4GVHAS4m/lKWsTb7L2q/kECXRDXhzxq34fUK0zzcRDyvPC7J33HKnC10qFXs/a/S 8vqO2bWqPJEuExFLh8Fh69Tx/nHWG12E726lbfM7sI5u9kO8c1Nw7b7fxNYx95ZKFdR5 mQy2dz5ngeEQLXnCubNZU2mU43QmvyVuhVHha9iXbROC6iywVwFIDIUxUBL/QkU+y+q7 k+Y1RNoY6lDyXJc0ZnLixDHLU/3d/2x8v3Y4cFX/ouK6QX00vP8LwFAh0AUN/v1h64Uk 8PVg== 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 :feedback-id:dkim-signature:dkim-signature; bh=Akh2a1fDujqMH4YEeTbbnnaQ35ZklucjT/210qkRNQ0=; b=sadB/usNgUD8UTFywZcyIJPnKMiNYC+n3Q9edS0KEZO2UDvksLrVcWPX6hxa8RZQXN Mi29nE8Wxzn/F5Eoip34UNKrVkI23i1aGgLt8tLfsDuHSN7P2mt1WYmTCWldSNmTy+zj G11m52DleM/zVeZZsFHBuUn6APnkkjtWlrfAtITJ6CHfwAsd7gn7ikc5e/jGYs9fb2PB RDBRJiBG1Yu6Rpr6CiLim9EWOaR8pAnapbilm/5EmXOa2DDkONX/4kGw3NKEwQ83S25l Y68idryTNMfcgTQCd9dOfL6otoQ+KrEedFRRC6K9uJurGZleQKIPMzZOHnWJUZM0+/Rw P1dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=y08lZUOZ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=0hCjihZF; 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=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s26-20020a056402037a00b0043de10b9d72si6645686edw.315.2022.08.14.21.38.43; Sun, 14 Aug 2022 21:39:10 -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=@sholland.org header.s=fm2 header.b=y08lZUOZ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=0hCjihZF; 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=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240933AbiHOEfC (ORCPT + 99 others); Mon, 15 Aug 2022 00:35:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240794AbiHOEey (ORCPT ); Mon, 15 Aug 2022 00:34:54 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D748815727; Sun, 14 Aug 2022 21:34:50 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 59B03320083A; Mon, 15 Aug 2022 00:34:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 15 Aug 2022 00:34:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1660538088; x=1660624488; bh=Ak h2a1fDujqMH4YEeTbbnnaQ35ZklucjT/210qkRNQ0=; b=y08lZUOZXfu52ot0+9 K7tGy3zkFw3TNgirtVvY5Dcp5OAXOwDKQ90qXRWIFBM2AxCOWPf+ZiIZvVfjgdRa NFkmH3uCHzSn8l+6Vbxm5UH90LN+JEpKGjhBhCp+DJtLvzpfaGNgBhkm0QbiTSVW b04eiJ0ViON9ys9OfXtfYueAqfot8SUuPisPzEtOikf34L98Gry2+uhJ86c5Mz+x qXfQi6YUYjaQQ/K/79DtLo10q2reQZCIQWbtt3La7XG/JX3moTTXW/MJhKoQz06X p+csGj2IHFK5260wQON5z5nHgl5ycN+np7Mp31UzhaUnm1h1yggdQkTrCJqiOe43 /u0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1660538088; x=1660624488; bh=Akh2a1fDujqMH 4YEeTbbnnaQ35ZklucjT/210qkRNQ0=; b=0hCjihZFNeu/gXSOO9Ke7iNzTCZ1C ngo7qYhA2xyEGZr94gxOwtrkk7hvQ9nkmK+S46ifhA/3492+Z6x0gJpAXipezXI7 GNaTLov+1hlhAG5oW3NU9puzdExdGBe1sSlVspxqtLtamp2dB7yUa4hIcbgSPfHZ YuQfSFUzl+9/Q6A4RA1itThXkx/pZhtORZroTeGJJsgcWt3UGVsutLihIVWIIEJP 6vz1u3Ctc6dzOI00Oekmn50gKAq+DYYljqszJ2SKwxo4aOqGXDGmxc8P785JpV0h +l9LVW2yO2P/AhOZmJyFsWVBUHwzaVHMVFRjAemfLn/Y+Ik3QNCyEpdKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 00:34:48 -0400 (EDT) From: Samuel Holland To: Liam Girdwood , Mark Brown , Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring Cc: Samuel Holland , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v3 4/4] soc: sunxi: sram: Only iterate over SRAM children Date: Sun, 14 Aug 2022 23:34:35 -0500 Message-Id: <20220815043436.20170-5-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220815043436.20170-1-samuel@sholland.org> References: <20220815043436.20170-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 Now that a "regulators" child is accepted by the controller binding, the debugfs show routine must be explicitly limited to "sram" children. Signed-off-by: Samuel Holland --- (no changes since v2) Changes in v2: - New patch for v2 drivers/soc/sunxi/sunxi_sram.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index 92f9186c1c42..6acaaeb65652 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -120,6 +120,9 @@ static int sunxi_sram_show(struct seq_file *s, void *data) seq_puts(s, "--------------------\n\n"); for_each_child_of_node(sram_dev->of_node, sram_node) { + if (!of_node_name_eq(sram_node, "sram")) + continue; + sram_addr_p = of_get_address(sram_node, 0, NULL, NULL); seq_printf(s, "sram@%08x\n", -- 2.35.1