Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3606235pxb; Mon, 21 Feb 2022 01:38:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwrx5tNh81REQ53bCs2pMmSLEj/di3qAohRiaxA+josykBUbvocoSN9/BiLRdHzsECzJ+4 X-Received: by 2002:a05:6402:492:b0:404:c4bf:8b7e with SMTP id k18-20020a056402049200b00404c4bf8b7emr19927240edv.318.1645436291811; Mon, 21 Feb 2022 01:38:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645436291; cv=none; d=google.com; s=arc-20160816; b=ymkmAR94BebMaP2q8HO9cLEmsE44JdoXFCC2OwHYHWguSykFtLTcGMxxC40QVBVmD/ 2BJa/K5KcjzkXZd3dFzfJj/oJb2l+mT3D34plICAboRROkGeNcgsVaPqowR4uYDEf54a frE6IOMenEqgjF0WVoPNouzGyLIcl1vGZ1ywid4igsU4okoUyFqz46Yx4kJxCX1z57QU 0mFExDcxZCfsB6EWjE1YSULY7NwD7AIiURlkQKB9AVLiaNDGJ1Bowbj9TN9SOL8uJF1H iUrDdpFIkL01FL9CiNZrSXemX+Fi9bvW8ancKtK7ySAeTjMzdBE6E33Usm8/qt1m8oaC vrWQ== 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 :message-id:date:subject:to:from:dkim-signature; bh=qQajbByHop08s8930aDCC1zsrDrtbnT1Cr9gDc0vug0=; b=yP81/aZG2hq4RRSkiECqwb2OBBMh7xh3FR+AUTS64fbCxWBNcjoZOQi/n6b8OlJUzM Y1+kuJqIzw4+CKkoOMMmt6E0s51vWTZmQgpNZhDUnEkT3dvskfhu3E/8VsYqkOJ8z9ls 2mH+TO+edikkZ9BdMEz060s6ftU4Dd0ITyJBFsz34roVGFasNwEcgvE+Xjcv13ATJp9B llIyvR9JAthOrYiGZdxx1JvfiDURSNRJ6pfRFrLrllBNnSTgVU9lBSycE4JJn/H6ENa9 poJ605eXzyyAgeiDbsB5bxTOyJxU+uw+QQXdigtRGgNB7rELFGck2vIOPxOmyyLTCxEb 1K2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=s18TSVRN; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4si8640605ejc.373.2022.02.21.01.37.48; Mon, 21 Feb 2022 01:38:11 -0800 (PST) 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=@canonical.com header.s=20210705 header.b=s18TSVRN; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346547AbiBUHw4 (ORCPT + 99 others); Mon, 21 Feb 2022 02:52:56 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346544AbiBUHwy (ORCPT ); Mon, 21 Feb 2022 02:52:54 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18861DA75 for ; Sun, 20 Feb 2022 23:52:30 -0800 (PST) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E777E3F1A1 for ; Mon, 21 Feb 2022 07:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645429942; bh=qQajbByHop08s8930aDCC1zsrDrtbnT1Cr9gDc0vug0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=s18TSVRN7el65S2li0opLGLsRLGT8rpEj4SdVsd83TgI5LNEpsqjmY99eXp7Ebd8N yPl9s/xCLrDEH8zeTaWxBKjXJ/2ihuvjuUMnVwN9DSZ4Aau92OlCcveJLDKimig/32 HkqYDA/z4aFzVZivmM7EFoYzc9ct5pEGMc8k2Ip/H6tB0p8ewv/3d14s0IrxYqcDWz quzND3pCa+Sgs5DIhmZyj+L7nGyEV0B22zS/XBx28Q+gQufdxJSuJDUwsSn32oIxra WIrcjg7pJnTPvE2rRJd7I9yY1k/96za/DCifEIOHOom6lHLmC6vS2iZXdZLieGoTJW rh1+hgTW4P5qQ== Received: by mail-wm1-f71.google.com with SMTP id a17-20020a05600c069100b0037bb7eb6944so1703683wmn.2 for ; Sun, 20 Feb 2022 23:52:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=qQajbByHop08s8930aDCC1zsrDrtbnT1Cr9gDc0vug0=; b=qWuvY2xWUe4CT7NmNvKuIbEY8vbtxoUdTrB1+Xwh5O6rPx3jAD28zJ0MYWUTRhsLAc LomD4gsxHGFZHrelZ55j8MSyTf6D183kI47DHrKNtpCeYJg39bRf+0stjOhM2ZwXwFXY 7FBFBYMvRJEG28CCo5P0+PoQx193YEg10KLtpmTGIgGwvKrJf8g2wnh9lxQ+xEnTmpJF m4WoPafSQYvCwX4YTy3XpPWlgc7p71z2Uq+FHE9hS1VJT+sevfeKvvVoj6ziPvroc9E0 0KhmcBU6zszEZuWikKB8aSW/7LKhdtuL+2niEQcsvJ5qleeUUv4qg54tORkhrMZY9LJi e0xg== X-Gm-Message-State: AOAM533Svuv5+u/Z3kiFSUE4F45YFVyfO62ELMIMjAcElC3kh7IyrjpG Q69SRpJo+zqmzNxopGWBollj66g4A4uppF+QJ491MQGP029YWo4PKxiNlpf8kQlabMxUCGu4vNZ uM2vq9ORdKIdPENYLrL036JbBa/lODBQukziogc5vYw== X-Received: by 2002:adf:f703:0:b0:1e3:19a4:7cdb with SMTP id r3-20020adff703000000b001e319a47cdbmr14521710wrp.567.1645429942639; Sun, 20 Feb 2022 23:52:22 -0800 (PST) X-Received: by 2002:adf:f703:0:b0:1e3:19a4:7cdb with SMTP id r3-20020adff703000000b001e319a47cdbmr14521696wrp.567.1645429942473; Sun, 20 Feb 2022 23:52:22 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id r10sm9382566wrv.28.2022.02.20.23.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Feb 2022 23:52:22 -0800 (PST) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Alim Akhtar , Sam Protsenko , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: exynos: move aliases to board in Exynos850 Date: Mon, 21 Feb 2022 08:52:19 +0100 Message-Id: <20220221075219.10827-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The aliases for typical blocks which are disabled by default in DTSI (like I2C, UART and MMC) should be defined in the board DTS. The board should add aliases only for enabled blocks according to its specific order. On Exynos850, move aliases of enabled blocks to E850-96 board and remove unused ones. Signed-off-by: Krzysztof Kozlowski --- See also: https://lore.kernel.org/linux-rockchip/CAK8P3a25iYksubCnQb1-e5yj=crEsK37RB9Hn4ZGZMwcVVrG7g@mail.gmail.com/ --- arch/arm64/boot/dts/exynos/exynos850-e850-96.dts | 5 +++++ arch/arm64/boot/dts/exynos/exynos850.dtsi | 16 ---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts index 7b5a61d22cc5..f52a55f644f7 100644 --- a/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts +++ b/arch/arm64/boot/dts/exynos/exynos850-e850-96.dts @@ -20,6 +20,11 @@ / { model = "WinLink E850-96 board"; compatible = "winlink,e850-96", "samsung,exynos850"; + aliases { + mmc0 = &mmc_0; + serial0 = &serial_0; + }; + chosen { stdout-path = &serial_0; }; diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index d1700e96fee2..1c6d8fdf453c 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -29,22 +29,6 @@ aliases { pinctrl3 = &pinctrl_hsi; pinctrl4 = &pinctrl_core; pinctrl5 = &pinctrl_peri; - mmc0 = &mmc_0; - serial0 = &serial_0; - serial1 = &serial_1; - serial2 = &serial_2; - i2c0 = &i2c_0; - i2c1 = &i2c_1; - i2c2 = &i2c_2; - i2c3 = &i2c_3; - i2c4 = &i2c_4; - i2c5 = &i2c_5; - i2c6 = &i2c_6; - i2c7 = &hsi2c_0; - i2c8 = &hsi2c_1; - i2c9 = &hsi2c_2; - i2c10 = &hsi2c_3; - i2c11 = &hsi2c_4; }; arm-pmu { -- 2.32.0