Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1665010rdb; Sat, 2 Dec 2023 05:05:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVMWyoHcgl2+8qHW8quey+TnpeO1NGv/iKYvgSY12FDnDrn/z4ws62YOSFiUb3FERApk5A X-Received: by 2002:a05:6a20:5485:b0:187:4118:140 with SMTP id i5-20020a056a20548500b0018741180140mr1424765pzk.24.1701522338582; Sat, 02 Dec 2023 05:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701522338; cv=none; d=google.com; s=arc-20160816; b=td91XSX+q1NXKPD7As1i5EePd06O9nnHqf3fWZCKS4AvKwdzYJ/UROUB0tYYjjO0PN DaR0wj0XHo6wdzIfefdr5w+h/o0ncW+VH4FrV+IG0cHL1QjaP/jzeBjaV/6SNTeSdvcf NaeYXimOQyBay9FAaTJjpLEi7CsC4fk+RkA4VwlCRM3ZdlA8rs5eXHVDFroTf9Z2FWZa LSCqrpr4s7YOJ68rVgGsQlEV2DzcVB2QhoZFWdyAeEFWkVSjlugFTEQKsjap58Cz+din 9PSv0xx0ZNKK1PuYQYZouufFgumZmqXWhipoWYxRN9XOlEgr3q7P8mtuYXWDR1BwYtja qvbw== 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=BXnPXvkgEdAqlxa28rDWBIXJg5QYtD+xYZlakCzCIA0=; fh=ZUK/zovZ3p9QBGC2x61y1qv8IqfQDcV6nzwDU9avA3I=; b=OivJLoHEko1R+2SoqO+PxDoRxLPX0g5fFNhMA5OyiIo66S2uqj653u5Cw6PKSX7kRE M7cZXzWr5PEAC4QwMonIeEkS4+96KFvEEfBEdEtFB9Wm4lOm9Iq5os/snXMCY0K3AXzW pdlvGR/le6E7qerl18bPBMDts5syjI2lzoUP3xSDjq+mdagqyVqmYR61ConClwd9ULeK 6av5NgbqsC9PB6Fvnq7QFJPjsziTZaECqgFPPWu5OQU3DDY6YDmPXWOQUBuICe/skhKu a1NH8Uq7++GvhTavLN/ggQRUwPikERD8zMp5cXg8SOdlivQf6kHglc1j90p71yCWDeKS iDig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ey+6joei; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b19-20020a63d813000000b005c220a94525si5071633pgh.90.2023.12.02.05.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 05:05:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ey+6joei; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5061E80BA96E; Sat, 2 Dec 2023 05:05:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232784AbjLBNFR (ORCPT + 99 others); Sat, 2 Dec 2023 08:05:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232758AbjLBNFN (ORCPT ); Sat, 2 Dec 2023 08:05:13 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3699B12D; Sat, 2 Dec 2023 05:05:20 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a1975fe7befso291652566b.2; Sat, 02 Dec 2023 05:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701522318; x=1702127118; darn=vger.kernel.org; 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=BXnPXvkgEdAqlxa28rDWBIXJg5QYtD+xYZlakCzCIA0=; b=ey+6joeiKw3fEBMXDgqo8VJ35Zk49VXYP+hMHIPXaqO11pvnusd4ga6JF5wfuGy6dk lb9rkaG3fLZVjZmzgdh/nTUhlrIYBtkKkOaBFmzIVo8M4KnsFI3WsamLlZhNVbJWwzkc Ldb87csBtzBqkGHRmgPZrvhl14FoucOsoQn/iLWZnRKYvJeYm/xSqmiVVVYF9FJy4SOu A/J+McGP17ngyzGopWDR5PPXw4ZwylPtL1J3ctkqmNKM0y9fCGkwcw9aqBeNJWpIA/Z4 hnm0vNWMHuryP6pN7vQZIDlA6o8Rml7Phrkrwj4G7BtlcdZYaNCWk2vmTPcVmV31SBgN SR2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701522318; x=1702127118; 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=BXnPXvkgEdAqlxa28rDWBIXJg5QYtD+xYZlakCzCIA0=; b=ZcYs0rwHo8VK7YSP/c6PsVFWfTkD7CY4bdSR+oj1DwljTzjTKfQntL7fN9hjH+w5FQ P5o90H7QChXceFNbhQZwIt05GoT4qbKHbBjfDIw7J3hsqtYJ1uJXqh+L9iQ3W4tOZQlZ X3Y4VEDQJC+37sEqbPKVrqyQpnW4hzEzXumUGBNUY7/FGSYdY1jFeTbHGQlNILz6VheF RqAwAfra9ZpkaR6JIhdqXZoM/eXQY1QUOrq4g9nxNnCY8+zY3B3WAt4GG6A0usznJWnc OCnhAaIjRMf+UQeUEdbekEMq/S10VEOgIGbvkagrEFaIV25QbsDZDoTild0ttmAaOnF0 2VrA== X-Gm-Message-State: AOJu0Yx2OVQQWJqES9UEyWYwNajE5i1U2iN7UI+Qk1pLj4vIF7BJx3EA NTWjZ9+G/i5pBa4nAgHriSO4mv9GeQ== X-Received: by 2002:a17:906:28d:b0:a19:a19a:eaa1 with SMTP id 13-20020a170906028d00b00a19a19aeaa1mr1635582ejf.90.1701522318738; Sat, 02 Dec 2023 05:05:18 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:908e:b829:354b:f8ee]) by smtp.gmail.com with ESMTPSA id bs5-20020a170906d1c500b00a0bf09c9483sm3045324ejb.35.2023.12.02.05.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 05:05:18 -0800 (PST) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH 2/3] ARM: dts: rockchip: Move i2c aliases to SoC dtsi for RK3128 Date: Sat, 2 Dec 2023 14:05:06 +0100 Message-ID: <20231202130506.66738-4-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202130506.66738-2-knaerzche@gmail.com> References: <20231202130506.66738-2-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 02 Dec 2023 05:05:36 -0800 (PST) SoC TRM, SoC datasheet and board schematics always refer to the same i2c numbers - even if not all are used for a specific board. In order to not have to re-define them for every board move the aliases to SoC dtsi for RK3128 like it's being done for all other Rockchip ARM SoCs. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128-evb.dts | 1 - arch/arm/boot/dts/rockchip/rk3128.dtsi | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rockchip/rk3128-evb.dts b/arch/arm/boot/dts/rockchip/rk3128-evb.dts index 776a483cc26b..c7ab7fcdb436 100644 --- a/arch/arm/boot/dts/rockchip/rk3128-evb.dts +++ b/arch/arm/boot/dts/rockchip/rk3128-evb.dts @@ -12,7 +12,6 @@ / { compatible = "rockchip,rk3128-evb", "rockchip,rk3128"; aliases { - i2c1 = &i2c1; mmc0 = &emmc; }; diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 5b751284d6ca..dc149d98cf9e 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -20,6 +20,10 @@ aliases { gpio1 = &gpio1; gpio2 = &gpio2; gpio3 = &gpio3; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; }; arm-pmu { -- 2.43.0