From patchwork Mon Nov 15 17:38:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1765 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 017F33F1D5 for ; Mon, 15 Nov 2021 18:38:45 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id x25-20020aa79199000000b0044caf0d1ba8sf10370345pfa.1 for ; Mon, 15 Nov 2021 09:38:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636997924; cv=pass; d=google.com; s=arc-20160816; b=dDcvzA+lq8n0WI0ECdpAGjTf2MJ960D7Y/OMB9kKIzLRK1v4vf3pkiISWk5H/jX618 UDTs9fKcNix8k1hf9pIKhr8uXj23LXZVdqWvYIwwm3Mm1Lcdqvoblkle9Ov4V6lap7/n 6UAmi2Jds0lnq4IK3vQBkjeSIs2Izn3Y42vCrTjqiecXqyDWejwVPMECw3281P534OId xOCzahBkT3rswfqy5p+OWsaOE2/8Pk95QQYudYQYYO5GJckXdOUnYqI816JCMMGB4jU0 Sx70s5I8pDUABfaLq/Y8a+DukOXuxBpPey5cKw1Kg0/UIN0p0CDBbAVo0JOYxVgHNxHw nwSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=2gv1xunuaQLv+p8rlNvHOVollHLnBr7rc+pN7KB+BPY=; b=Y11j56Rf1oFX2I+QT00HW5rrA2ZA1NnS3InIgKRStXnsAdLJqcVD1jOup2crMTXkOQ rbBr/SuHZ5VNPGnXp+PSsEiB0Rex4ub1CQo+f2VDrkGrLzuxvR+lfJ0xX2G92Hn5NRd0 gdeRbzBoM990/2gI9V0VqylOo3KCQN6HgtBikr37uNqs0roJXWynqDCtXgAFy7LSpXRx de+6ATHTN17INDVB+WUh5az8zHEgwUdtHtcLfkxNIAnoghohoq8sX+IsU/dlVbPu5GeX YDTmzZlVh4KIx3H/ugFTLWlmRTPn5g5Xas4HiyxxajYKqShQv6et7bsiwB8qZZuMMqqr s7+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLFaRKVB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=2gv1xunuaQLv+p8rlNvHOVollHLnBr7rc+pN7KB+BPY=; b=CwzBmgPSIoniyR2vD13hMfbWK+iD8uFIU/3zYQ7Kmvo9QUYWmxiedthJo51r77Bkhh M2V7YkUnOAYc1cofb5sWXslb7hTE/3yB9b+gULr7o0cXKfsrsg3Ntb1QuTFymbbmw0dY sm+1oFl0GrusDrek3sGAlKNXI432A4lXG98Dc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=2gv1xunuaQLv+p8rlNvHOVollHLnBr7rc+pN7KB+BPY=; b=Ekh6o03HCcBFYjlepukYFPMcqZyNVTn9Rl5tXmgk16hr2kWp3QzBEUM9IUWCcgIc6e 2ev1P667gWQ7qxTTPIgtY4TguGE1paou7sLs6V1P0aYAy10Nx0IitSoYPi2FkaEi27WY sw/qvsrFb/W8DGj/lFtInfoDL7bwPoxbpY5y5AfewjvJniKbSf2aQj8Mm9pnLU8Q5/W7 Sp41Gqu1Y1SS86FW2Mw90RRolpkF12uwcsWFkO2Y3Tvm6+H5+0pt1ihoGH04/UzRAyCu KMtNwjzv37Zd5ZYVEN6CZ0Vdtkh8VVCIl2rS1huboR247plHxdQl1HIxHtB6IKhLr/QV YN+g== X-Gm-Message-State: AOAM533nqhkZlTmgxH2dST7K4aG4cRRqvIXQJ1ItknSPBHl6Slz7aW2U HVT4/KjsOfwmIexzICmGiYPwIBvr X-Google-Smtp-Source: ABdhPJxUpJjF/vKLarb7Ys3XkfbiCHB9PXH1RWfxeaiRlI98HDc/PgOEv3uUU/eY35pThqgZ6CpU0w== X-Received: by 2002:a17:90b:4a47:: with SMTP id lb7mr67626192pjb.243.1636997923903; Mon, 15 Nov 2021 09:38:43 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:99e:: with SMTP id u30ls5200728pfg.7.gmail; Mon, 15 Nov 2021 09:38:43 -0800 (PST) X-Received: by 2002:a05:6a00:2181:b0:44d:c18d:7af9 with SMTP id h1-20020a056a00218100b0044dc18d7af9mr34704696pfi.16.1636997923175; Mon, 15 Nov 2021 09:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636997923; cv=none; d=google.com; s=arc-20160816; b=Bm3l/oe3ZdBvK8qqLHXbKiPDf2bwwF/sr/2cqRx6cjkDqqZA7jJBezES2W01dUjtTI Ptr0CG3nA6reEvw4Dhslg7gzm4umB0237DqvkMhk44ICclf0qINivRgmquERr13g1sgT L5TBuXGTqe6YU/fQYg4hn4ngB1lgrvoRcio0Ak6AczyQ2A1dy2QqYpS2FAKCi45/qXCD 9A96Llo1ZlXIFdUhwhJwXNoEeT6UdnS6DugcQsoA+lsfoprLJKy1PIzIlzzCDYnn/kJv z8faDbPr6S306CmhwR/RlO88vQcYnGVQ5q1CIWR0ke9MzpOGWW3ioo9qrngg54zoQCCx r0TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=0IPLD31jxh3yupomw6kU8tq5aNT+MG+5n6/v0Vy6zW8=; b=K+5iLdvfZU0bTnJH3O0DePWC4dm7RK6mpDD0XSadi9zpT/SlnQXdBIOCJ7K6XLdoik 2Cb0r9N7ImHvlr8VfAdVAiYr885Znt8Yz65unTmZjIAZU5bWED7IG9K76kq6yHP4Q8Kc Yr1vnu3fZJgciUHDJ//MiljlEbR7F20KEEWWshGKnx36QdwkneK+dK0fHHgTGJwvfIEA xTQHLCk+Jg7sj8pIzzVVBLXbp7TCoKLrY3qe73Xgj21wntlSc6bD+jTEyfW0+Zsdxey3 cCh8BMht6Ew0NaG1f6CpPTAbbwGyOZm4b8+lnZ+0sEMXqPNmDKm7Ja8+aDQKtwylWzAP S23w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLFaRKVB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a12sor8860627pjq.34.2021.11.15.09.38.42 for (Google Transport Security); Mon, 15 Nov 2021 09:38:42 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:f002:: with SMTP id bt2mr249455pjb.221.1636997922054; Mon, 15 Nov 2021 09:38:42 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:fca:71d4:9b35:5e9b]) by smtp.gmail.com with ESMTPSA id h6sm16242863pfi.174.2021.11.15.09.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 09:38:41 -0800 (PST) From: Jagan Teki To: Kever Yang Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 1/3] arm64: dts: rockchip: px30: Move dmc into -u-boot.dtsi Date: Mon, 15 Nov 2021 23:08:19 +0530 Message-Id: <20211115173821.104038-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLFaRKVB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , dmc node is specific to U-Boot, it is always better practice to maintain U-Boot specific nodes into -u-boot.dtsi files in order to maintain Linux dts file sync compatibility. Move the dmc into px30-u-boot.dtsi, also add dmc node explicitly in rk3326-odroid-go2-u-boot.dtsi since it is using px30.dts. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - none arch/arm/dts/px30-u-boot.dtsi | 10 ++++++---- arch/arm/dts/px30.dtsi | 5 ----- arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 10 ++++++---- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/arch/arm/dts/px30-u-boot.dtsi b/arch/arm/dts/px30-u-boot.dtsi index 029c8fbd8d..bbed7dcde5 100644 --- a/arch/arm/dts/px30-u-boot.dtsi +++ b/arch/arm/dts/px30-u-boot.dtsi @@ -13,6 +13,12 @@ u-boot,spl-boot-order = &emmc, &sdmmc; }; + dmc { + u-boot,dm-pre-reloc; + compatible = "rockchip,px30-dmc", "syscon"; + reg = <0x0 0xff2a0000 0x0 0x1000>; + }; + rng: rng@ff0b0000 { compatible = "rockchip,cryptov2-rng"; reg = <0x0 0xff0b0000 0x0 0x4000>; @@ -20,10 +26,6 @@ }; }; -&dmc { - u-boot,dm-pre-reloc; -}; - &uart2 { clock-frequency = <24000000>; u-boot,dm-pre-reloc; diff --git a/arch/arm/dts/px30.dtsi b/arch/arm/dts/px30.dtsi index ef706486dc..ef77b7b997 100644 --- a/arch/arm/dts/px30.dtsi +++ b/arch/arm/dts/px30.dtsi @@ -151,11 +151,6 @@ interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; }; - dmc: dmc { - compatible = "rockchip,px30-dmc", "syscon"; - reg = <0x0 0xff2a0000 0x0 0x1000>; - }; - display_subsystem: display-subsystem { compatible = "rockchip,display-subsystem"; ports = <&vopb_out>, <&vopl_out>; diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi index bffaa3edf3..63d87e16e1 100644 --- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi +++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi @@ -16,6 +16,12 @@ serial2 = &uart2; spi0 = &sfc; }; + + dmc { + u-boot,dm-pre-reloc; + compatible = "rockchip,px30-dmc", "syscon"; + reg = <0x0 0xff2a0000 0x0 0x1000>; + }; }; /* U-Boot clk driver for px30 cannot set GPU_CLK */ @@ -32,10 +38,6 @@ <100000000>, <17000000>; }; -&dmc { - u-boot,dm-pre-reloc; -}; - &gpio0 { u-boot,dm-pre-reloc; };