Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3322126ioo; Sun, 29 May 2022 22:00:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEZJbQcI+Q2FSEz48nT2H8TGC/yB2hEY+0pRcUtKMQHpmG1219f9WIWn4TFzR8Qp0Ii9v+ X-Received: by 2002:a17:906:6985:b0:6fe:988b:d248 with SMTP id i5-20020a170906698500b006fe988bd248mr46148500ejr.226.1653886852424; Sun, 29 May 2022 22:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653886852; cv=none; d=google.com; s=arc-20160816; b=btm9Ikev3+goE7vtnMzq0KgLMYNpwzFqCmJWd5UJsOQWSEkYhzb7INY8YGbGzyzGwb MZjAfXnnLkXaKW6+Gp09E95ODMxnxGhGXjKA9u1IXrLG+/fFAI4JP81BPljkRxpbRgHq lplREZBY+wg4cvRi7j3UJS3SJBHfWSFlGLn35eHG2F5W2AYivCYYlH3HDhWGUJmZAJHa 6WAbmgfBfy0cfg5cCM1M1ApnE9A8026HYsswF6s2rlwM4Q6/SQlXT3uCptqGANy5fnXO ED2uVKf7k3m8rs25gRMUMHet1P0arY4jvxWdCRKfMJtvQo7fBqKY8njwBBbVEhlBI1mD wiAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3JaAWKa1bZRwQXdiutq3KI0xLzzTpwZUulcAkJ3MYjM=; b=pQWr+0pYcQE/gWCzz/A+PwnJ69Kydz2XdBcRIxTNcnhogivN0fWDiShXRS350zga+0 dT2Pz8xTCTHUMuRGOLlQyNeX+d+HP9JdLOpf0MteTLaKdPKKxwrPxzOOGfU22LxaQjFE SDHm48AfKr2gBMcaYlmcw0Muf5biR+fgF8FEELX/BExXmS436CzVkBohRxt6EYsXb2Oj r7f+OJ+lgY5/eGB5KOuoS7i3wZOZJDztZSoAYRmZdmHWY9UKcuTCqcRSoEKI04THeSvr sop2jAaSbI+bkoweluhxm50mi/ai164/IkV+qw3rOi7RRz9RirakTYT8sKCIBr2juv4N dpOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KRMv70BY; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a1709063b0600b006f3b717f0easi9360477ejf.77.2022.05.29.22.00.26; Sun, 29 May 2022 22:00:52 -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=@linaro.org header.s=google header.b=KRMv70BY; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230423AbiE2O0O (ORCPT + 99 others); Sun, 29 May 2022 10:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbiE2O0N (ORCPT ); Sun, 29 May 2022 10:26:13 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43C965E156 for ; Sun, 29 May 2022 07:26:11 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id y13so16591693eje.2 for ; Sun, 29 May 2022 07:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=3JaAWKa1bZRwQXdiutq3KI0xLzzTpwZUulcAkJ3MYjM=; b=KRMv70BYNXO5K4g2IQQvfaI/pcabvXgzAfht622ys8tKYzwvf3ofKMlRf6PdjuwS/9 X5abjnqdqyAcufM080Z4QbIOUIoWwMYVWdWsNwIRmj+tL5LFL+ntX9DgRCQrOs109ovN E35I9HBfy6NOdqQFKyX8T7zNFQMUqWGueuOQkQtZE3pEsyVxwFA2ahAmDZReu0fcIqms fiu0eK/aDeoFamLT1/pdTcYrp07T+7/9Vv3JtgDsVqMgoMlU9REYuKcL4lsteUnfbh61 cPqJcPG81LCrK7PoY1jke+x7BjpcoVgO7f9PxmNYBdMewrjn8eBEPidomKsHpNEVoEmn bU/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=3JaAWKa1bZRwQXdiutq3KI0xLzzTpwZUulcAkJ3MYjM=; b=gIB3ri+W+Z8H+tZlS46Ni77rNOcUC4Yin9Rr7F+QmIo1bCvpniSRHNawsrNrfEB5Jj 2DUuMgXjTMZsVkDXxJcTbV3BkAyQZrgXS3gU/lhFp0abfyiVV2NX2/3zt4Sq9j2o3tu/ iSNJTNJabZw6fvljrwzxVSfUYUxpepf0hzAEFZUMCeWPfanPynp+TjhIDPwvt//RFv3T BYaJh4Zw9kLZ9vY+djtc8R358wc1xjoq9ZbzMg2DuZNcWyUQzMXXaBTwYGOhMgS5ILkd FibXGXdQ1R4syQauj7l2vzK998qCDvoPg3fDc2qEjxzJQAsPDkfwQ0ImRzxSKxmowkA1 DkAw== X-Gm-Message-State: AOAM5307/oamJbjJnHO2L5s/1wiUJGs0vAcUb5CnoA/MwlweJSEucnLT tPOYiiubOL7rreR69H6FMtPQQg== X-Received: by 2002:a17:907:7256:b0:6ff:2ed0:95d with SMTP id ds22-20020a170907725600b006ff2ed0095dmr12654168ejc.452.1653834369795; Sun, 29 May 2022 07:26:09 -0700 (PDT) Received: from [192.168.0.177] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id a92-20020a509ee5000000b0042dbc55f6e4sm2231061edf.7.2022.05.29.07.26.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 May 2022 07:26:09 -0700 (PDT) Message-ID: <8123f029-8d0b-be52-ba8d-8458f424ee32@linaro.org> Date: Sun, 29 May 2022 16:26:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro Content-Language: en-US To: Tom Fitzhenry , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Samuel Holland , Ondrej Jirman , Martijn Braam , Ondrej Jirman References: <20220529031705.278631-1-tom@tom-fitzhenry.me.uk> <20220529031705.278631-3-tom@tom-fitzhenry.me.uk> From: Krzysztof Kozlowski In-Reply-To: <20220529031705.278631-3-tom@tom-fitzhenry.me.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 29/05/2022 05:17, Tom Fitzhenry wrote: > This is a basic DT that includes only features that are already > supported by mainline drivers. > > Tested to work: booting from eMMC, WiFi, charging. > > Future patches will flesh out the DT. Some components, e.g. the panel, > are awaiting driver mainlining. > > This is derived from a combination of https://gitlab.com/pine64-org/linux > and https://megous.com/git/linux. > > https://wiki.pine64.org/wiki/PinePhone_Pro > > Co-developed-by: Ondrej Jirman > Co-developed-by: Martijn Braam > Signed-off-by: Tom Fitzhenry > --- > arch/arm64/boot/dts/rockchip/Makefile | 1 + > .../dts/rockchip/rk3399-pinephone-pro.dts | 939 ++++++++++++++++++ > 2 files changed, 940 insertions(+) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts > > diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile > index 4ae9f35434b8..c00e7922d974 100644 > --- a/arch/arm64/boot/dts/rockchip/Makefile > +++ b/arch/arm64/boot/dts/rockchip/Makefile > @@ -41,6 +41,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-neo4.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-nanopi-r4s.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-orangepi.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-pinebook-pro.dtb > +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-pinephone-pro.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-puma-haikou.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-roc-pc-mezzanine.dtb > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts > new file mode 100644 > index 000000000000..b1a486db1dfe > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts > @@ -0,0 +1,939 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2020 Martijn Braam > + * Copyright (c) 2021 Kamil TrzciƄski > + */ > + > +// PinePhone Pro datasheet: https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf > + > +/dts-v1/; > +#include > +#include > +#include > +#include > +#include "rk3399.dtsi" > +#include "rk3399-opp.dtsi" > + > +/ { > + model = "Pine64 PinePhonePro"; > + compatible = "pine64,pinephone-pro", "rockchip,rk3399"; > + > + chosen { > + bootargs = "earlycon=uart8250,mmio32,0xff1a0000"; earlycon is debugging piece so it should not be in generic DTS. Best regards, Krzysztof