Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1826856rwa; Sun, 21 Aug 2022 18:38:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ibtriqoI4EW+zhrq3mS/VE75UW220Kltx0f8jSiMZDNJiGI/52tdvzD4DrqnuBenB9g0x X-Received: by 2002:a17:906:ef8b:b0:730:e14f:d762 with SMTP id ze11-20020a170906ef8b00b00730e14fd762mr11490273ejb.519.1661132338052; Sun, 21 Aug 2022 18:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661132338; cv=none; d=google.com; s=arc-20160816; b=nCfw19TK3JvQ5byT2YvxC0whJoSaB9/UH0gRc8JUC5EOGL8Wx2i0x3Oi1vL8rocRta NuTFjl0pJytnq/ifa6Dw2wESyWwRrBATn1pBhqz9Ik1uijyu6Ki2DIKntHM1iu1OUwf3 X8cedz7KS+/gULexR1EApCCUHIjtYkDeoYlpaqMgPglJfiA6Lp93MxdB0189hubl6vrT BtyZR86bSuIqoMS/aMMxibXrHlPVhTK/3hEJSbWG4r274Gk0pMHrMJ7efMGyKYMk8a5C 6Jg/t9wZ+Abv4+T3BuDHNggZraYYHIziL2yK03kdG2MxZby8V8i0n2M04sMuBEuoZqCm 4grw== 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:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=5rywm4FJkA/bbgcbZKDHp12cJQNkVOO3EtenBFznHF0=; b=eSBi3YddVmZPI69bttQ5XoaEkp2YiipYekqG4HVVECLiYY7bczX8b6lRu/tbA7lEwI bC/P4oXSJkJfikcQ6OynOLkla4CwXiA1WvJv6mVPAx9Si6eDP28bL2Q48/CBuZMiLhRe fTvihYw/MBwWiHZ2Kvhz2neqHOUh6aNN1ZUprDSHQGbi+J2J60fG3NxMEMK4CwZVJQnb 6rtL12VK6XS+8LSutgO1qwpfCdhJMFm9/YqFgLUgi0fsUHqzLBaqS81mtezBV4svs6mG DsBnfyuWu8EAfsQxMs9MPy3/iGTM9GB4N0CJbK4xxyg2CVP3Kc01AGAbyuqjJMFnVKkR cIbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tom-fitzhenry.me.uk header.s=fm1 header.b=VKGZ1PpD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=zUsnJtMe; 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=tom-fitzhenry.me.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p11-20020a50c94b000000b00443e3fe60a0si7203797edh.622.2022.08.21.18.38.32; Sun, 21 Aug 2022 18:38:58 -0700 (PDT) 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=@tom-fitzhenry.me.uk header.s=fm1 header.b=VKGZ1PpD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=zUsnJtMe; 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=tom-fitzhenry.me.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232245AbiHVBZO (ORCPT + 99 others); Sun, 21 Aug 2022 21:25:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbiHVBZM (ORCPT ); Sun, 21 Aug 2022 21:25:12 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20F3521247; Sun, 21 Aug 2022 18:25:11 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E87FB5C00C0; Sun, 21 Aug 2022 21:25:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 21 Aug 2022 21:25:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1661131507; x=1661217907; bh=5rywm4FJkA/bbgcbZKDHp12cJQNkVOO3Ete nBFznHF0=; b=VKGZ1PpDSntcxPb6PHDsGy3gdeL6CHW7g2PbxZX7UkmA7fwU+Fw wNTOymrSI+4YHp0iSlWamP896CPcFMfsaGaZh758f0unOVkr4J/xlLbQaM8nlZ4p HAMUekWS93GOP0iiasVesmhubOm+CNHBZRnrdii25WRwlZ8m3XfUhKh+MIgPfrAZ LyqAkabOwdgWKrZj0GkuVUoFE2z7qSDjthLQZmH2k7VlDfVzwKlhbc9v2FjSDVEr yGUv1xzs0/jZdBjSjDXVfR+73VDOEAMEDCM3tuHDkhRKzS5KswtLZsJBqJL88fw/ 7FvwVwdSniVMdXWwXxijsrR+Dbugo0aokIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1661131507; x=1661217907; bh=5rywm4FJkA/bb gcbZKDHp12cJQNkVOO3EtenBFznHF0=; b=zUsnJtMezl9lBjOFyAItSlrzPenSf fD8ha8pCwp7Y/f+FUFja6O3BGF3gqE7In5TQ7img1UBNiKXspuvGgH3hOSBhlpGm Z6pO0MRDtZOYluTKdXCbgXdC3+woArm+li7/mOayahgKmmVBDKB1T4XIUR3wTjp3 ykPxtV5Cf9UDElEUn8VMH93i7PiCQH50/tBzUUJi3Tryy8DXW+7DMacrV466MpHR Xn9fzZRgWz1v2m9DI9h1eY9pnhu1EBPTmFtTQ+ErEbGVy8DfF2v3D9opkwUPVmqv cg9529OjzmZAi8TPoXJK9PHWiNdSLJ4r/UAGIgyrmw1QIk4lh3Pzwe5tQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeiiedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefvohhmucfh ihhtiihhvghnrhihuceothhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukheqne cuggftrfgrthhtvghrnhepteeffffggfekffdvjeekhfettdfhveettedukeduleduvdev ffettdffhfelueevnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtohhmsehtohhmqdhfihht iihhvghnrhihrdhmvgdruhhk X-ME-Proxy: Feedback-ID: iefc945ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Aug 2022 21:25:06 -0400 (EDT) From: Tom Fitzhenry To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Tom Fitzhenry Subject: [PATCH v4 0/1] Add support for the Pine64 PinePhone Pro phone Date: Mon, 22 Aug 2022 11:24:48 +1000 Message-Id: <20220822012449.21005-1-tom@tom-fitzhenry.me.uk> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Add a basic DTS for it. This is a working base that will allow myself and others to add more nodes. Relies on "dt-bindings: arm: rockchip: Add PinePhone Pro bindings"[0]. 0. https://lore.kernel.org/all/20220815123004.252014-2-tom@tom-fitzhenry.me.uk/ dtbs_check found some violations, but they were all common to rk3399.dtsi and thus occurred on other RK3399 SoC DTs too. Changes since v3: * Fix regulator min/max voltages, to align with RK3399-T datasheet. * Re-enable cluster1_opp/opp06, with freq/volts as per RK3399-T datasheet. * Fix gpu_opp_table voltages to align with RK3399-T datasheet. * Change regulator names, to align with PinePhone Pro datasheet. * Use DT Generic Names Recommendation: power -> key-power. * Remove unused label vcc_wl on regulator. * Fix code style. Changes since v2: * Used rk3399-opp.dtsi (+ disabled) rather than introdu4cing rk3399-t-opp.dtsi * Removed superfluous comments. * Followed DT Generic Names Recommendation * Set 'From:' of DTS patch to be Martijn, the primary contributor to the DT. Changes since v1: * Simplified the DT to a minimal base. * Introduced the RK3399-T OPPs. Martijn Braam (1): arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3399-pinephone-pro.dts | 422 ++++++++++++++++++ 2 files changed, 423 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts base-commit: 2e1170c71ec0c0fb785ce76fca7c682e930af2b8 prerequisite-patch-id: 41a5419f57b2712f7127d5c6cf1dbf062f6570da -- 2.37.1