Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp444090rwb; Wed, 16 Nov 2022 03:02:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4rU7tyVVpYfzic54ufWX9OhwWpXOVeOC/HK1aDTD30tKai68FyFZExtcBxlUlzz/cHcZZd X-Received: by 2002:a17:906:bc4b:b0:7ae:37a8:9b5c with SMTP id s11-20020a170906bc4b00b007ae37a89b5cmr17007192ejv.241.1668596576093; Wed, 16 Nov 2022 03:02:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668596576; cv=none; d=google.com; s=arc-20160816; b=TnLfT360jSxNGpswFIzwnKCMUt+Avpm53LyEyiZH2LZcMnz2k+03j3EqcE/QJW136g GAswt9towQH6LmkXE5Wmw82hNMvl3aX+hrLCfTAROHEkyn8BrMciyzrn+7HqBXu2p0yF YKAnK6UMYVoWs+OekXfZJjDJxg7hJkFmEZJmubf55Ksv6pva+7GOCGvnKNoh7IoDrkJp d+OAYz60A09E7/SmYrvcbH0YKrE+Teg6X9Nq49vDLd/UrUWYStHE9wUWh4iWA4EMGKHZ Ditvj1Nj++J1rrq4gdJOTS99KUkO/QchUGCO6iQPNxpbdUPAHHtyVJGizNFgRHtQ/I3z e7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ivjhVSHk6n9pnoSRRGKYAhiuhpVsirKKbA9mYwH+Zd0=; b=kqlADI5VQVT/dgDD6e2FoZThYUCwzpI+lFG7ArQvp1Gv1QFuvYWGVs9OHulBnMsVR+ 8RAS8vbeEgENimIx0Ooh5mdIR14FwiQcRcT41X2Hw19QC+i0DEdrrZpAeizwALmGzCR1 MXILduIP+1vyDmJguZjkPph3KbxU/80tq9L6N8qJ1C0ceWTq7kC3s23rHy83wluoD8oF yMt2sQUP++cIvdIzemi6bNBi5jkUudCtmoEz88p3o21TZpB/s0vaeFQL45ad3qtwX4Sy HfFYdFfybbyZy+LOH1fFea4vELp0Hh2xTxmGQjcmPkRByH9g5NxBXNLzVaKOYP0G505o FyRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bzNgl2Xv; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ev27-20020a056402541b00b00460d06fa777si13791803edb.87.2022.11.16.03.02.33; Wed, 16 Nov 2022 03:02:56 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=bzNgl2Xv; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbiKPK3u (ORCPT + 91 others); Wed, 16 Nov 2022 05:29:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiKPK3K (ORCPT ); Wed, 16 Nov 2022 05:29:10 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B194D2FC19; Wed, 16 Nov 2022 02:25:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4D3A361BFB; Wed, 16 Nov 2022 10:25:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6ED3C433D7; Wed, 16 Nov 2022 10:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668594348; bh=sRkzPw2tQ0bFhCiQdFtyKxy2q3DB99dBo/dIdUpImyw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bzNgl2XvWlYUH5ldwswLfJHn7kdmaLJCLdIXDegIkkwwceUN708LMCKN+/sYttXkc C/M1lX1BjFe9eVAAA5IuN6inrCIbgKD7gk8h/lwNN7T1EgnHeBzdms8QAcmv3X+WYp ekzCoLQjczHOCjul90Prl5XyFbUd7noCsdofXLYLtLO39QLFt2c2Va8oMR/S9VA4Z3 IvyUsAXmrCbFAtSmTeOOFNjc4f1PGjU2ARq27BfUSsWHcNxOmrnos+TFjKXkgbBTSL O4OVGk9W+QZnOqG1i9/3GC60waj3Ba5onlXql3gauih1jVXzd61PpAlDdekcdWSh5P 4Nd/AhgqiSpzg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ovFba-0001Ie-NS; Wed, 16 Nov 2022 11:25:18 +0100 Date: Wed, 16 Nov 2022 11:25:18 +0100 From: Johan Hovold To: Parikshit Pareek Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Shazad Hussain , Brian Masney Subject: Re: [PATCH v8 2/2] arm64: dts: qcom: add SA8540P ride(Qdrive-3) Message-ID: References: <20221116075207.32363-1-quic_ppareek@quicinc.com> <20221116075207.32363-3-quic_ppareek@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116075207.32363-3-quic_ppareek@quicinc.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Wed, Nov 16, 2022 at 01:22:07PM +0530, Parikshit Pareek wrote: > Introduce the Qualcomm SA8540P ride automotive platform, also known as > Qdrive-3 development board. > > This initial contribution supports SMP, CPUFreq, cluster idle, UFS, RPMh > regulators, debug UART, PMICs, remoteprocs and USB. > > The SA8540P ride contains four PM8450 PMICs. A separate DTSI file has > been created for PMIC, so that it can be used for future SA8540P based > boards. > > Signed-off-by: Parikshit Pareek > Tested-by: Brian Masney > Reviewed-by: Brian Masney > Tested-by: Eric Chanudet > Reviewed-by: Eric Chanudet > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/pm8450a.dtsi | 77 ++++++++ > arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 221 ++++++++++++++++++++++ > 3 files changed, 299 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/pm8450a.dtsi > create mode 100644 arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > +&apps_rsc { > + regulators-0 { > + compatible = "qcom,pm8150-rpmh-regulators"; > + qcom,pmic-id = "a"; > + vreg_l6c: ldo6 { > + regulator-name = "vreg_l6c"; > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > + regulator-initial-mode = ; > + regulator-allowed-modes = > + + RPMH_REGULATOR_MODE_HPM>; The indentation here is off, but I noticed that you've probably just copied that from the existing devicetree sources. I just sent a couple of patches to clean that up: https://lore.kernel.org/lkml/20221116102054.4673-1-johan+linaro@kernel.org/ You can drop the first newline and indent the continuation line properly using tabs (and spaces). > + regulator-allow-set-load; > + }; > + vreg_l17c: ldo17 { > + regulator-name = "vreg_l17c"; > + regulator-min-microvolt = <2504000>; > + regulator-max-microvolt = <2504000>; > + regulator-initial-mode = ; > + regulator-allowed-modes = > + + RPMH_REGULATOR_MODE_HPM>; Here too. > + regulator-allow-set-load; > + }; > + }; Johan