Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1789067rwa; Sun, 21 Aug 2022 17:34:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR4oOk/CQIZxAmC3EZoH/v0UYNjLkRk/u5NAW+VBBdn5y1+0xhNCxDE207z9hcNE0Iqh3YXK X-Received: by 2002:a17:90a:9309:b0:1fa:d28b:3751 with SMTP id p9-20020a17090a930900b001fad28b3751mr18172321pjo.189.1661128463357; Sun, 21 Aug 2022 17:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661128463; cv=none; d=google.com; s=arc-20160816; b=SkeQ44MTkGwVg/uPr1k8IsqXX7/u0LioLLPrdnBUsWJeTyfwz4Y2d21w53xFZvBkmh YLq9OzXjFtOe9jkVpdPFjEXn3Cxp4IJA3fgcN9+R1aTRIk6dfEtNb2TSpl4X2we+O/cB be/DcVhCMKy2SVDICwDXv3wfUvazIcPrd1tXkigrhAHa+hSjtR/oY16LgnVKLi26i2V1 AJXamBwhMEzbLu9qVZAoAgiW2Wks4SfG9B6jHMejWxUyazXYXiSpntX9l4IsqJV98Z+O o82e28rZVtts1xGtLtr2BN1OSODnEqXHB6vOfdytud4rDmIWh2oNGXPT2kyB0/kdq9zn rF1A== 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:feedback-id:dkim-signature:dkim-signature; bh=L2nkszgY5WOfLgRzK4a0UTYpubHoRBwTEQkzg8BqgV8=; b=fN6MK2mjc0livPd5bW5Vue0bGJnsD4m+OsFRNvEgAx/VxGs7lyFL5gbhFq+J5UsZSX vene8GYNn9HrKlUNWAqDsWNgdABomq246mEJz9PyJioZ7SrAJE4p17dlL3AdmfPktUU3 K5UF1mfB/f1dwW3b9JeCjsXGxMC9JaPWzuB3vgzjYzjrtd4nRc8kUtoR4Qerk+odGb1O m7OeakFafmn3uIOsbrqnxc8SiC5WafZcsCTvoBtst5HqDqsbQzHZ3nrBRNw3O438BqdX D0i9fJty39z4coYks4R2s3bP8HUci2zyFImz9PYiBr/w/XKDyPllN8DW1EdXUBzigO2w iP7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tom-fitzhenry.me.uk header.s=fm1 header.b=LygE7oGC; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ogfLdqt6; 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 p9-20020a63fe09000000b004129a78936fsi12253050pgh.1.2022.08.21.17.34.12; Sun, 21 Aug 2022 17:34:23 -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=LygE7oGC; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ogfLdqt6; 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 S232014AbiHVATI (ORCPT + 99 others); Sun, 21 Aug 2022 20:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231995AbiHVATF (ORCPT ); Sun, 21 Aug 2022 20:19:05 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8039B15727; Sun, 21 Aug 2022 17:19:03 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E149A5C00E4; Sun, 21 Aug 2022 20:19:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 21 Aug 2022 20:19:02 -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:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661127542; x=1661213942; bh=L2nkszgY5W OfLgRzK4a0UTYpubHoRBwTEQkzg8BqgV8=; b=LygE7oGCZGQrEJbufqeGM76mIs M/PjtSxgA2DNSOl0S9uAEKPMLttVPpdcpeQtAYCtAER1eepiE08PzrOCipnx84CC 7TeESltxOHCNzR00fyTlWpbr1IP/18FiyEldDA2Dfha/bS4nYa+XMzdrHwMixa1G DUJ5a8pBQn62QdhtEI6aOdQSTi95UgOuaiqEoA7H632q/VL4pHOsHBSNKuyQ3Znm iIQQ/N4OXJ/dPOFI0PIY8t9Z0mKX0Ju1STgytjFFtaitRQg0Eqk4p3gxb1Rga5yY QvsUR+9l/dxo0uOXGrqFvDznHSIaoxWpUe4KWY1wxO3Y/goCJJB5QM/RoTTw== 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:in-reply-to:message-id:mime-version:references :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=1661127542; x= 1661213942; bh=L2nkszgY5WOfLgRzK4a0UTYpubHoRBwTEQkzg8BqgV8=; b=o gfLdqt6wbPAR0sXCwaq4zcEkmMMKZCZ/ESqK/G/zVM/WjKnbtqZAzMCCEFrpakke 42TvM0/0qykA39za++YftSeMEjruEGHwYgt5BPhnvURBXmiO0RdupD0oX1gEr1Ss yFGXqvT6RnaoPO8aQQ0f6s4GI/fsAq5p+aFDEZ3RjuWqeKYcdeyCmwudT18oI6Dz 5ErkfTUsK2XLd2325kJi9K71OOvvWQuWMEwjNvhYPI8+IDDCm+GfCchb5qCBAVSg RnNX2Uxd2RMdr4Pure0tQqgmy/UO2iwOXjbTPWKM3nLSBtouHHftiVjyeD/TecnR W0X/RnjgwKr1r8kOqPYtg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeiiedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesth ekredttdefjeenucfhrhhomhepvfhomhcuhfhithiihhgvnhhrhicuoehtohhmsehtohhm qdhfihhtiihhvghnrhihrdhmvgdruhhkqeenucggtffrrghtthgvrhhnpeelgfffheegtd fgudefhfdvveeviedttedthfevgeeugffgveeujeefteetteeigfenucffohhmrghinhep khgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepthhomhesthhomhdqfhhithiihhgvnhhrhidrmhgvrdhukh X-ME-Proxy: Feedback-ID: iefc945ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Aug 2022 20:19:01 -0400 (EDT) Message-ID: <460cd42b-4192-6761-7313-268a684e1e28@tom-fitzhenry.me.uk> Date: Mon, 22 Aug 2022 10:19:00 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 Subject: Re: [PATCH v3 2/2] arm64: dts: rockchip: Add initial support for Pine64 PinePhone Pro Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, martijn@brixit.nl, ayufan@ayufan.eu, megi@xff.cz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220815123004.252014-1-tom@tom-fitzhenry.me.uk> <20220815123004.252014-3-tom@tom-fitzhenry.me.uk> <20220818030547.eblbmchutmnn6jih@notapiano> From: Tom Fitzhenry In-Reply-To: <20220818030547.eblbmchutmnn6jih@notapiano> Content-Type: text/plain; charset=UTF-8; format=flowed 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,NICE_REPLY_A,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 On 18/8/22 13:05, NĂ­colas F. R. A. Prado wrote: > thanks for getting the upstreaming of this DT going. Some comments below. No worries, thank you for your review! > You're also adding the SD controller here. Does it work as is? If so add it to > the commit description as well. I will note this in v4. >> +/* PinePhone Pro datasheet: > First comment line should be empty following the coding style [1]. Like you did > for the copyrights above. > > [1] https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting I will do this in v4. > This signal is called vcc_sys in the datasheet, so I suggest we keep that name > here. It's not everyday that we get a device with a publicly available datasheet > :^). Indeed! :) I will do this in v4. > + rk818: pmic@1c { >> + compatible = "rockchip,rk818"; >> + reg = <0x1c>; >> + interrupt-parent = <&gpio1>; >> + interrupts = ; >> + #clock-cells = <1>; >> + clock-output-names = "xin32k", "rk808-clkout2"; > What about keeping the datasheet names here too? clk32kout1, clk32kout2 Per Megi's response, I'll stick with the current names. >> + vcc_1v8: vcc_wl: DCDC_REG4 { > From the datasheet, vcc_wl is actually wired to vcc3v3_sys. But looks like > vcc_wl is only used for bluetooth and you're not enabling it yet anyway, so just > drop this extra label, and it can be added when bluetooth is added (or not, and > then the bluetooth supply just points directly to vcc3v3_sys). Good catch, I will remove the vcc_wl label. >> + vcc_power_on: LDO_REG4 { >> + regulator-name = "vcc_power_on"; > The name on the datasheet for this one is rk818_pwr_on. I will use the name rk818_pwr_on in v4. >> + >> +&cluster1_opp { >> + opp06 { >> + status = "disabled"; >> + }; > There's actually an opp06 node in the OPP for RK3399-T, only that the frequency > is slightly lower. Maybe you could keep it enabled but override the frequency? > > Or given the above point about the max voltages, maybe it would be best to have > a separate OPP table after all? Per Megi's response/rationale, I'll keep the existing table, but re-introduce cluster1_opp/opp06 with updated frequency/voltage, aligned with the RK3399-T datasheet. >> + >> + opp07 { >> + status = "disabled"; >> + }; >> +}; >> + >> +&io_domains { >> + status = "okay"; > Let's keep the status at the end of the node for consistency with the rest. I will do this in v4.