From patchwork Sat Nov 13 14:40:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1760 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C5A13F1D5 for ; Sat, 13 Nov 2021 15:40:51 +0100 (CET) Received: by mail-pg1-f200.google.com with SMTP id q29-20020a631f5d000000b002dfcc4e0201sf4558959pgm.3 for ; Sat, 13 Nov 2021 06:40:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636814449; cv=pass; d=google.com; s=arc-20160816; b=lBq3ojl2nthMMbserqKVPkaaPeD43msnfI8E3XDF0Q2bHxMxVjIXP8JnTAgYcROtAZ ImdWXlJx6Fh9Ykdz0jcqQKZ2tjQqNfuCAw2EiFbqzEOnYRBy0yO8rbRJI/4iam8PYXNJ nTNxtIONl80QSpOVZ7E7FLw9WOwbk659owjsmcw/zXBQ+yF4y2RzFM5d+0PaMVYUBMM/ BogQZpuBnF5DXUeOk28aM0BXuDUhzQ2nMrpNgpxMWKwGi8gAkIZcmHqZff/ItWT1wTGy elSAMJWDBt/c4U3XYlxMwXK1en3yX8KMjI+wM30ogK9D9rv99+h6Y0tj6/ukFlWu3uWA baPQ== 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=6GfhbtlJX9RiKzhN1V4vNqt+xcSD5PtLApr+dxl4GLo=; b=kmHXbDP+OzgpRJwZumUek3ZV5mRi1hxw4SjxRVwXK7mgVRg7j7YlqVQaYMXwWd7ick 88I9FGKq68ASthCWiTjnoXMwr0Yw9sOMvM1/uZOr/L0D94shpf8q9TfmITVGS3+/K+mr u6sT06S3XqOI3s1zB6lOTbmV9PCpfcMGMHGh0E9cndnhIjjqNCk843Wp0FR05thQAK42 xNtOM7LRR+sOZOzmttVxRc6Xy3krb2pfzVuZb9DhI85PxksKIHna9VUuqA7DV2taBCjg AE14PyX4OmwJX5VdalMyiKnJIuSwfcO3+KxbbhazclZDPNimxteCUw0bcMTnnx05o1uZ fA0Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Of2qvtGz; 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=6GfhbtlJX9RiKzhN1V4vNqt+xcSD5PtLApr+dxl4GLo=; b=JYdorozOGjepWjqqvS7lWeudVu6IID1LBZFd5C80pXHNcW3h9C9FjpmDN4UXj9g4y6 sLn6/pJyP7iyjzbNM4tExAwlnbCzNoGCd4hhF3M0O9gScYeGUulpcb60D8OWuaY9kt0u JmDr862GO8kWSOosnPLVGqUZP7Dt04qVAF3qA= 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=6GfhbtlJX9RiKzhN1V4vNqt+xcSD5PtLApr+dxl4GLo=; b=u4lmdz1FMUE161GlfYrVhzdzcymQAmN+4vq2xRbQE9dYXj6JgdFasSRfOqNkxLG7By UV9qKzjLir/ufLSbJnYFmJ7zP/9MMYrGRdCBMqBwpnQ8RooFFtY7K4wSmdPCH4IwfomU iG4eILE5VRwDM44sxWmF4LB0loo5I/wB2pSPrR9TG2KibeyUTMDPLlsDoroxcH7ikd45 KpDE1Vq315jVoofTor/GuTmk3rLIH7hDNg64ce+b0zdd7fGukSByQRU0eX8RlQp+BcjU EG/MH4DWn0yKYQfQevm9QA/bRzNb/e+9zHN/s3zHNv1JtmR/X0E93KGPT74Hul8G24wq aGwQ== X-Gm-Message-State: AOAM532IUX9y6KSAOiY34fySPHK8oWbWwmMqt+AQ54PnzsKiuX6bNCrl ucPLG3sXGHkRR4p8OGaFE+qMQYtf X-Google-Smtp-Source: ABdhPJw1dcQIMsFYprp4KxGnZrQiQyjTOEzDCEoTO6+dUPRXTUuF4kEfQQfeYrFExFnq13tQ7mhwKg== X-Received: by 2002:a17:903:32c5:b0:141:eb39:30b7 with SMTP id i5-20020a17090332c500b00141eb3930b7mr17572725plr.41.1636814448970; Sat, 13 Nov 2021 06:40:48 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:903:1c2:: with SMTP id e2ls6139929plh.9.gmail; Sat, 13 Nov 2021 06:40:48 -0800 (PST) X-Received: by 2002:a17:903:22c5:b0:142:3100:65af with SMTP id y5-20020a17090322c500b00142310065afmr17986882plg.83.1636814448262; Sat, 13 Nov 2021 06:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636814448; cv=none; d=google.com; s=arc-20160816; b=i6sbh+6icUvtz6kgACNdF4qxQ+WjaVa7Qo3S+5EohV4rbE70aEW8WoGKQiO6dWkRL+ IveWnSqeUYXvsvWhMsusryOwzCQ6DJJpURAvO7HFgk2vmPXLBw56q0K7zWKnZwMJB4B1 P5YMEPJPcAscr3m+pxoemmC1tmdpaZuGpwQ2kacLztRs8GoQ6iNFHlg+nCv6bc3cROE0 L2yoCiUSMpcCRQo0UPXadyuNwMUjYFIqL+ZZI5jw6/gxwzsg+lp05pO5hMz+9ytIZsva KlvgXKIrpvJVovouEGAKnUk70IF+eHwrdyKqImkqs/un/os98stN7oBwKauWteO7a1IW 8xTA== 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=FnQZC8NEn4uncANq8JxeCif1SRvqk+VGHDgCYGm84Hc=; b=gqOmDbISA05SEjmgUb6wSrU75t3KKaqqHKrt9rH3aWsf3B317kuh2Y8x96zbhOuKJ6 rm+4K3XibUhTjqsHbXWXozoRfJghFRFwFQEizCOuDXecEHY8SAZM2Gmpygsy0VEVG/AN 3UasnzOZ/0LB/bIbSYeNk2C5G/+yeQHCuEwU8Zfr+9j0WpRy1sMc7cLgyw0KQdnPNbsT TsEYXFr+0nNS/OiP7Xgb7ZXQnl8aazcOSO6pOmIsH7AamUt9abOXQWZ2yPrgyQagl+t1 7Ce3ZHQKPbhMrOfgVdC5qNrXNSMbbMWspQs+GfhAnlmDcj3oKarap42fmbnawK0GLOk/ DYMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Of2qvtGz; 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 nl17sor5777070pjb.26.2021.11.13.06.40.47 for (Google Transport Security); Sat, 13 Nov 2021 06:40:47 -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:90b:4ad0:: with SMTP id mh16mr27857528pjb.176.1636814446787; Sat, 13 Nov 2021 06:40:46 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:c59a:cd1:c877:6ac2]) by smtp.gmail.com with ESMTPSA id bt2sm7794902pjb.57.2021.11.13.06.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 06:40:46 -0800 (PST) From: Jagan Teki To: linux-amarula@amarulasolutions.com Cc: Jagan Teki Subject: [PATCH v2 1/3] arm64: dts: rockchip: px30: Move dmc into -u-boot.dtsi Date: Sat, 13 Nov 2021 20:10:38 +0530 Message-Id: <20211113144040.406206-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=Of2qvtGz; 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 --- Changes for v2: - none arch/arm/dts/px30-u-boot.dtsi | 10 ++++++---- arch/arm/dts/px30.dtsi | 5 ----- 2 files changed, 6 insertions(+), 9 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>;