From patchwork Sat Jul 10 15:10:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 12368691 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61ACFC07E9B for ; Sat, 10 Jul 2021 15:12:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E39861374 for ; Sat, 10 Jul 2021 15:12:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E39861374 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GmmxhBRUhIP9feZyWyWeQfgTcn+dPmLy0TPOJ+zS4PY=; b=Ge1Km/l1ILv7kP 8TJiQucG4N4fLhnVFVqbIgKIboqiZeUxrXkfD+TlnRThKkOXUwYqasSL4ft5JWsC6dmSHmU57pwyd 7MRwjJCrrWtGR+aLNYIX+8HKLBSARbH9yK3T8AidBIcGSObGCdc5SZNNFc8hsFWAhPDUSUgSpK8VX Wn6EhYIiAXOtbjF3PNaxH1JZ/4IQueNoHozOC90HSbuOeO6clVG7/Tb/llS4MT4KBVV84scnNkYMH c4B1ojIxJCXjhbqaptaMfoSwTEUEP2wAHouuutn2u3CEsOMt30e2eM7hGfVvl0oNo/32jrDgKiDQg +HgC5j6zCK5LsVfqHLHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m2EdQ-003mOi-F2; Sat, 10 Jul 2021 15:11:16 +0000 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m2EdM-003mND-Jk; Sat, 10 Jul 2021 15:11:14 +0000 Received: by mail-qt1-x82d.google.com with SMTP id c9so5908295qte.6; Sat, 10 Jul 2021 08:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9KndYjn/Dras9oVIQu2++er4oTGHdDL9wFnaryusxvs=; b=B6WoR/v9T7cQNrzS57RnEcalDQ2xAUCVfH8AHia78qYmqJcnyTrzeJvYnUmMAGKbrh L6lym41qO2VC+Zzi+b/1uoAMP8CMWXTOV/De66tzKyrdtIKDafc6526ll/7Om2FT7+dQ IwviBoG7qWow5kxW1F/o1NfkclkhBolm+oyxy9/Fvs0Dv5/GYD70BJHAmzDUbabEHDpR wm8Q0X2hRsA5C9Q3RESepneBX+abTr3GZBI5C9p7mGizrj8ZU5wh8S6s/yPf7ijSoFV2 CZlKWppIoOUOcLCRG4KlEfQovUaj7tjOhxHqJejWZuxmKtEK2Da8LNqj/jiiDGC2PKZr J9Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9KndYjn/Dras9oVIQu2++er4oTGHdDL9wFnaryusxvs=; b=iOw+tjgX2rjJ6SoJW6pXnyTsE1wsd145ICjN3Z1GHsT6jBmT39s+PkOGwxA5PsGZRw BaYTasoXEDxSpWIltgrpKg7CGKxbrdDpGqXM+Om6uzlyzBhNTkaoddVsU4TTsk8GcQh2 1yefMzfX3HYJ4R+aYornZLvloaQsylER/6/LeXC/tNPcONM5f4tYhzBQ5wjUUJ+EcHS+ 3EMvFKPKYJCaTRkG9h7OutyMUuYGo2xSavF6q0oooPjH/o7fZC4rck3TykwrnAto3mTA vdDlHYv5pLcO3g7StkAVyxjR3NCBXePtLNv6/LkcsU0lOWzftk3xpDldGxMqxIykN45b WD5g== X-Gm-Message-State: AOAM530SF2K6hXmzqLukN89KZysTm7uAs8IyYi+u9yzXsRkkIJw3XYVs Dnw3Hzb2MJeja6g+qKUoilA= X-Google-Smtp-Source: ABdhPJz21VqzR4nb52cDDOeFHg0qPp4Qsl+zwsPTGvKAX58JL6UuNxo6EjbCCPKhk86LIDOel9MF0A== X-Received: by 2002:ac8:ece:: with SMTP id w14mr39481837qti.5.1625929869827; Sat, 10 Jul 2021 08:11:09 -0700 (PDT) Received: from master-laptop.sparksnet ([2601:153:980:85b1:ecc6:5233:6153:7b36]) by smtp.gmail.com with ESMTPSA id w14sm3445482qtc.55.2021.07.10.08.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 08:11:09 -0700 (PDT) From: Peter Geis To: Rob Herring , Heiko Stuebner , Liang Chen Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Geis Subject: [RFC PATCH 0/4] split rk3568 and rk3566 device trees Date: Sat, 10 Jul 2021 11:10:30 -0400 Message-Id: <20210710151034.32857-1-pgwipeout@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210710_081112_712387_3565A59C X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is an example patch set that addresses the split of the rk3568 and rk3566 soc device trees. This method attempts to avoid deleting and modifing nodes by maintaining a common dtsi for all common items and adding in the differences in separate dtsi files. It also includes a basic dts for the Pine64 Quartz64 Model A board as an example of a rk3566 device. This series has the following prerequisite: arm64: dts: rockchip: add pmu and qos nodes for rk3568 https://patchwork.kernel.org/project/linux-rockchip/patch/20210624114719.1685-4-cl@rock-chips.com/ Peter Geis (4): arm64: dts: rockchip: move rk3568 dtsi to rk356x dtsi arm64: dts: rockchip: split rk3568 device tree arm64: dts: rockchip: add rk3566 dtsi arm64: dts: rockchip: add basic dts for Pine64 Quartz64-A .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3566-quartz64-a.dts | 321 +++++++ arch/arm64/boot/dts/rockchip/rk3566.dtsi | 20 + arch/arm64/boot/dts/rockchip/rk3568.dtsi | 814 +----------------- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 786 +++++++++++++++++ 6 files changed, 1153 insertions(+), 794 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3566.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk356x.dtsi