Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp72620rdb; Tue, 19 Dec 2023 09:38:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IExyzWSuenpyIRAXCt77CQOWys9czMI96WbtSXdTm5zskCe5UOqoAz7hJl10IQQT53tmm2j X-Received: by 2002:a17:90a:7889:b0:28b:8519:112d with SMTP id x9-20020a17090a788900b0028b8519112dmr1813808pjk.13.1703007523505; Tue, 19 Dec 2023 09:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703007523; cv=none; d=google.com; s=arc-20160816; b=oMpI+gJ8Ni0+I0SylVITEKvQwLy1LL3AokrDKh/RK8uOuRyCL70dsiW99LT/Tp81yI bisHARbrV7a3W5kv4cFKSA7uKZP3Jw82U6sqf2wlkaA/U9zam1z76UNB8xb9/wCJuKpA BhgJufgiqLzVOHfOX+YCffox0V7WZRxpDC/8BH14j8pNJhf3441lJqB3NalGdN0yAYxg lD5VEXskXf1HpFE9XjN/nRW7C6pxH3djWnFZ7IVK2Vf3PMrt+2T9TpKXRFhaEk4nU4lt QF5Imw86VsLjGGD39UZqfmSaUsZDIC+vw3lLD1U9bUgFxQgOzhagorOGCH/CzN1zxQpM mdfw== ARC-Message-Signature: i=1; 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:dkim-signature; bh=c7o02eCOkYV+S238EYknUAxPRBxnSpRC9xTw4EPIh2A=; fh=79Y9lU99JiusngWpLYBRhm3lYQa+gU5Uhcm3IQHB8eM=; b=VKw4AWR5pteIUC39DiYvCfIGdkmFmfojd72Fmhv10ZYJVA2xQ2kB7HCMQLFnfQFFlu /3BQ3D7AEYx2lCzNXGbrQrgZ/9JaF2Ouf/5dVc5iJy/RZf0XZVyysispEck+A8qLXWda gFrSnCA6xgidD8QjnQbFkePzo+lgoAc9Jlxp3x9tbF8rqGH9yP5ZKV5aTls78Bjcdddm WhrsEkXwOWY0QQ+HoccgEbUEzgcoNKKDGmhJ/TNkzhUeOThR8oSsmuBMdFBeoV4mSN7F uZJEXiPgCdhEJRYNlNvHJxe+SIXiaptnQ5fIDtAfuivBYlwE4HwZiSQur/qR81yKZo8B 9IbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="F/BWVkxk"; spf=pass (google.com: domain of linux-kernel+bounces-5699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5699-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z5-20020a170902834500b001d06d30071dsi19346132pln.651.2023.12.19.09.38.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:38:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="F/BWVkxk"; spf=pass (google.com: domain of linux-kernel+bounces-5699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5699-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 C935EB22EB5 for ; Tue, 19 Dec 2023 17:38:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 410DA31755; Tue, 19 Dec 2023 17:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="F/BWVkxk" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18687286A6; Tue, 19 Dec 2023 17:38:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-67f296ecb2dso26167726d6.0; Tue, 19 Dec 2023 09:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703007506; x=1703612306; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=c7o02eCOkYV+S238EYknUAxPRBxnSpRC9xTw4EPIh2A=; b=F/BWVkxk06nuQQgZA+hPF6w2wKtiwUyUcxNPltjVim9AmFm+7R5y0v32Vgbmjq4o6F 2GWwHpQdJgeZBE8ZjJ++rI3cIfRDNHH5QI/M89c/KPZ8MJlEutwPT1IbC1CGqZkRFlOn /xG0vHZ4Td4IHoPSMX0a9845BH+kx8FtsQ+Xj+As/BmLWDIM+Hdt9uMdyXzsqMJiHYDm oGpK4gN/yystQd18Vivue7Bm2S3mg5slARkkYolDXsAfb4/8DlTQqNX8mvYApd5TAkZP bKoiou/bLQm4tc93SEZls+IELLnhulSyTC8vSOzl/YD5RJwTd6A0n5BfQoHHsXK2SvV+ lLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703007506; x=1703612306; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c7o02eCOkYV+S238EYknUAxPRBxnSpRC9xTw4EPIh2A=; b=GohmwqG5zpJLBqozS67GTix+WlF9lsgpOGWcRnfgFShEbaAbT1eFrAWSCDxp31IZws OthZlGAqgHm5h3E7byPJ9xgxpZShcCUFGjIM97/rGiDoVLyVW5Ldkr5KeosRAlaggiQM w/gYJ0lLEyGncczQIPRZwyskXeC7PM6LUXtFexaSqaimCSCglSRxPEUrVlcWmucBX+4d hOrgcdZ7Qnop1rPrPOArHNZgYLpkdyGu1Y9wFLSnGGO+Ock3K0whct6IAd2Z4nzAkB+Y Dtsj+zuYPjVEN4ty3R9/OBcX31fxukB91GPyo43oEp1hGoeTqzl88n9UgRoil0qLvQAQ d7yQ== X-Gm-Message-State: AOJu0YxHpH9s4ZlAnjRomCq5Lp1XezAjms3IK5MFQO2M50PWQy5ds3oA 13RGxn+7FRWTqpX+teKsvE9EpV4ez7Q= X-Received: by 2002:ad4:5ca6:0:b0:67f:26c9:ffdb with SMTP id q6-20020ad45ca6000000b0067f26c9ffdbmr2385556qvh.22.1703007506353; Tue, 19 Dec 2023 09:38:26 -0800 (PST) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id w12-20020a0cc24c000000b0067f056e121csm5472098qvh.97.2023.12.19.09.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:38:25 -0800 (PST) From: Trevor Woerner To: linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH] arm64: dts: rockchip: rk3308-rock-pi-s cleanup Date: Tue, 19 Dec 2023 12:38:13 -0500 Message-ID: <20231219173814.1569-1-twoerner@gmail.com> X-Mailer: git-send-email 2.43.0.76.g1a87c842ece3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Perform the following cleanups on a previous patch: - indent lines after "gpio-line-names" - fix D0-D8 -> D0-D7 - sort phandle references Fixes: c45de75d7a9a ("arm64: dts: rockchip: add gpio-line-names to rk3308-rock-pi-s") Signed-off-by: Trevor Woerner --- .../boot/dts/rockchip/rk3308-rock-pi-s.dts | 120 +++++++++--------- 1 file changed, 62 insertions(+), 58 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts index f2d7251de298..b47fe02c33fb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts @@ -143,6 +143,68 @@ &gmac { status = "okay"; }; +&gpio0 { + gpio-line-names = + /* GPIO0_A0 - A7 */ + "", "", "", "", "", "", "", "", + /* GPIO0_B0 - B7 */ + "", "", "", "header1-pin3 [GPIO0_B3]", + "header1-pin5 [GPIO0_B4]", "", "", + "header1-pin11 [GPIO0_B7]", + /* GPIO0_C0 - C7 */ + "header1-pin13 [GPIO0_C0]", + "header1-pin15 [GPIO0_C1]", "", "", "", + "", "", "", + /* GPIO0_D0 - D7 */ + "", "", "", "", "", "", "", ""; +}; + +&gpio1 { + gpio-line-names = + /* GPIO1_A0 - A7 */ + "", "", "", "", "", "", "", "", + /* GPIO1_B0 - B7 */ + "", "", "", "", "", "", "", "", + /* GPIO1_C0 - C7 */ + "", "", "", "", "", "", "header1-pin21 [GPIO1_C6]", + "header1-pin19 [GPIO1_C7]", + /* GPIO1_D0 - D7 */ + "header1-pin23 [GPIO1_D0]", "header1-pin24 [GPIO1_D1]", + "", "", "", "", "", ""; +}; + +&gpio2 { + gpio-line-names = + /* GPIO2_A0 - A7 */ + "header1-pin10 [GPIO2_A0]", "header1-pin8 [GPIO2_A1]", + "", "", + "header1-pin7 [GPIO2_A4]", "header1-pin12 [GPIO2_A5]", + "header2-pin46 [GPIO2_A6]", "header1-pin22 [GPIO1_A7]", + /* GPIO2_B0 - B7 */ + "header2-pin45 [GPIO2_B0]", "header1-pin18 [GPIO2_B1]", + "header1-pin16 [GPIO2_B2]", "header2-pin44 [GPIO2_B3]", + "header2-pin43 [GPIO2_B4]", "header2-pin28 [GPIO2_B5]", + "header2-pin30 [GPIO2_B6]", "header2-pin32 [GPIO2_B7]", + /* GPIO2_C0 - C7 */ + "header2-pin34 [GPIO2_C0]", "", "", "", "", "", "", "", + /* GPIO2_D0 - D7 */ + "", "", "", "", "", "", "", ""; +}; + +&gpio3 { + gpio-line-names = + /* GPIO3_A0 - A7 */ + "", "", "", "", "", "", "", "", + /* GPIO3_B0 - B7 */ + "", "", "header2-pin42 [GPIO3_B2]", + "header2-pin41 [GPIO3_B3]", "header2-pin40 [GPIO3_B4]", + "header2-pin39 [GPIO3_B5]", "", "", + /* GPIO3_C0 - C7 */ + "", "", "", "", "", "", "", "", + /* GPIO3_D0 - D7 */ + "", "", "", "", "", "", "", ""; +}; + &i2c1 { status = "okay"; }; @@ -250,61 +312,3 @@ &usb20_otg { &wdt { status = "okay"; }; - -&gpio0 { - gpio-line-names = - /* GPIO0_A0 - A7 */ - "", "", "", "", "", "", "", "", - /* GPIO0_B0 - B7 */ - "", "", "", "header1-pin3 [GPIO0_B3]", "header1-pin5 [GPIO0_B4]", - "", "", "header1-pin11 [GPIO0_B7]", - /* GPIO0_C0 - C7 */ - "header1-pin13 [GPIO0_C0]", "header1-pin15 [GPIO0_C1]", "", "", "", - "", "", "", - /* GPIO0_D0 - D8 */ - "", "", "", "", "", "", "", ""; -}; - -&gpio1 { - gpio-line-names = - /* GPIO1_A0 - A7 */ - "", "", "", "", "", "", "", "", - /* GPIO1_B0 - B7 */ - "", "", "", "", "", "", "", "", - /* GPIO1_C0 - C7 */ - "", "", "", "", "", "", "header1-pin21 [GPIO1_C6]", - "header1-pin19 [GPIO1_C7]", - /* GPIO1_D0 - D8 */ - "header1-pin23 [GPIO1_D0]", "header1-pin24 [GPIO1_D1]", "", "", "", - "", "", ""; -}; - -&gpio2 { - gpio-line-names = - /* GPIO2_A0 - A7 */ - "header1-pin10 [GPIO2_A0]", "header1-pin8 [GPIO2_A1]", "", "", - "header1-pin7 [GPIO2_A4]", "header1-pin12 [GPIO2_A5]", - "header2-pin46 [GPIO2_A6]", "header1-pin22 [GPIO1_A7]", - /* GPIO2_B0 - B7 */ - "header2-pin45 [GPIO2_B0]", "header1-pin18 [GPIO2_B1]", - "header1-pin16 [GPIO2_B2]", "header2-pin44 [GPIO2_B3]", - "header2-pin43 [GPIO2_B4]", "header2-pin28 [GPIO2_B5]", - "header2-pin30 [GPIO2_B6]", "header2-pin32 [GPIO2_B7]", - /* GPIO2_C0 - C7 */ - "header2-pin34 [GPIO2_C0]", "", "", "", "", "", "", "", - /* GPIO2_D0 - D8 */ - "", "", "", "", "", "", "", ""; -}; - -&gpio3 { - gpio-line-names = - /* GPIO3_A0 - A7 */ - "", "", "", "", "", "", "", "", - /* GPIO3_B0 - B7 */ - "", "", "header2-pin42 [GPIO3_B2]", "header2-pin41 [GPIO3_B3]", - "header2-pin40 [GPIO3_B4]", "header2-pin39 [GPIO3_B5]", "", "", - /* GPIO3_C0 - C7 */ - "", "", "", "", "", "", "", "", - /* GPIO3_D0 - D8 */ - "", "", "", "", "", "", "", ""; -}; -- 2.43.0.76.g1a87c842ece3