Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2330734iof; Wed, 8 Jun 2022 02:39:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKJoH+mwdzVcmKtrxbGCHtjvsYnB42h1ZA1n66qT9HNEIrMMO1ZKCTx1iwE1jSHfqLZFJ6 X-Received: by 2002:a05:6a00:1ace:b0:51c:242d:b62e with SMTP id f14-20020a056a001ace00b0051c242db62emr13073722pfv.25.1654681187963; Wed, 08 Jun 2022 02:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654681187; cv=none; d=google.com; s=arc-20160816; b=BKrPlG67pbbjzpbvHNm55XYRz8H2y7i0tR4zUf6gpJFVZi2z8pBuK7Y8jSDwInnCbm ackz+MeZHX6+9YIcjmYGuWdZzPzK97kujWGaCLXv7Pmwc/fz+GAFoXp75sFujixHv0Nr Y8VHWWY+WXIgU3qfq/7+7xvjqaIXgux8c7Ll2NfXlk57X15WX5euwAPxTysSleuvZLLP +9a2rmtYW87YVtGL9OUmDlqMk6AjBEg9dldZrQbUHm1yBXkvWba30SjmVO/elWaFNpAu W5V1RJNQ18p0PXMPbRw+2kJ5RYofvsLpV7WlF8oOcRhn01HHOFXYfBf7bSIwDdQzC9n0 iM5g== 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=pMsHwy7E/xLjDEEsUZts4AUene1hjdqOhTRjyDswkzk=; b=DoVxmFmBiPpOq5aJMuxtmPU5QEFS1hFT6r4SvXk0DLsFiH6K6XMAQFK9W0Bmcmop2n pjeYe8EeKftn/v7sQ0z4jDQzPLgoHWoP8AobdnKWDOB4Gm1XIlmMtIvlY7WvRD1biQKb YaRmIPSv0kvlW+I5gF38dIPlyKvLbPkiLEzISgW4GXnL5vydvFETtO6omXQIMMJgguYr kwZymQpRgztZiYZzUV1XPuRDnM+JRnl24JyFnGdLiaPy5GS9/ytBFXn/1SVfTjIAwJpI r+993Oz/5ZmNsyZG5rY0/TYEuSkVynu1uYOU+p/a/a7Xi9xy182I+lINLihi5fcKv0K8 nniA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E8NB/2f0"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b9-20020a170903228900b00158d1f2d451si29963469plh.45.2022.06.08.02.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 02:39:47 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E8NB/2f0"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65EC01C5D59; Wed, 8 Jun 2022 02:11:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233813AbiFHJKY (ORCPT + 99 others); Wed, 8 Jun 2022 05:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233062AbiFHJJO (ORCPT ); Wed, 8 Jun 2022 05:09:14 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 890EC2194F3 for ; Wed, 8 Jun 2022 01:26:47 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id x62so26030309ede.10 for ; Wed, 08 Jun 2022 01:26:47 -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=pMsHwy7E/xLjDEEsUZts4AUene1hjdqOhTRjyDswkzk=; b=E8NB/2f0URNU7PNZSgEeDI0looKPg4GXnardUu6uxPQbCLD/BDqvF41YH6KXApwxiF gKgorM8EvdS80nuP67fOY6zeQPUuJxyghGCXx6+of6Zstz53Bm8BfDnDHPtLwle/07Fx neXE/8kBuRFM+vkSYKtPnOwV9ugYei5PauEaSDpOxOZdyFUFkNu4e/nYNdkwEiI8QckI qhrB6ce0Ecv/ZafjbLSx3g/VHDKecpICx9BSVDi8dtp3Xu1FOrNvwNb5PoKsVZbXfE2t SICv1/5CeF7SNl7NA4jTB/Toy4h6h9ptwo+8eOjoUOI8EYY/PZenaASSqqIgnaM2VLGK jj+w== 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=pMsHwy7E/xLjDEEsUZts4AUene1hjdqOhTRjyDswkzk=; b=o75L6uEYzq79QHnv8RSi7SEXC0zpcdRolXH5JoclPKaOX54Z5EkrG+DCHTi1N+uTYo AP9gH6WcMRz5rq3xoWDgEabhGSnydDkjP22I7XCVNe/lCiUB8CaoGG8rWojXXBiHx9SD sZFcJS4gIIG+WMgxdLyJZKvLtG79hXcW2qOv2SWWwTFFkLwIDdMou/8NZb/rK7jPUHGm j959SUAsLtxIqYZi0YBXTAFQ+luZbvW3vaCGmoeAQJ0lf7cg69acNELyqwrXjv4/FxsV DdL74rXoQA1sXz0Ku9bLrFIFtvnprNtzKN2Ho01td8BWgkgT5uUh7BaOU5TbERkUiOUH H7Qw== X-Gm-Message-State: AOAM533o89XEiU2spdtLGjMhiqAzdFp4BOyeEWypXAQy5LDW7UDpSCmy N+0PsskqA6VNPPEmKrNW/ZlgQQ== X-Received: by 2002:a05:6402:3588:b0:42e:6a8:a5d5 with SMTP id y8-20020a056402358800b0042e06a8a5d5mr37733781edc.117.1654676806148; Wed, 08 Jun 2022 01:26:46 -0700 (PDT) Received: from [192.168.0.189] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ss9-20020a170907c00900b00711d8696de9sm2938274ejc.70.2022.06.08.01.26.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 01:26:45 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2022 10:26:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 4/4] arm64: dts: qcom: add SA8540P and ADP Content-Language: en-US To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam Cc: Jassi Brar , Johan Hovold , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220607214113.4057684-1-bjorn.andersson@linaro.org> <20220607214113.4057684-5-bjorn.andersson@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20220607214113.4057684-5-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 07/06/2022 23:41, Bjorn Andersson wrote: > Introduce the Qualcomm SA8540P automotive platform and the SA8295P ADP > development board. > > The SA8540P and SC8280XP are fairly similar, so the SA8540P is built > ontop of the SC8280XP dtsi to reduce duplication. As more advanced > features are integrated this might be re-evaluated. > > This initial contribution supports SMP, CPUFreq, cluster idle, UFS, RPMh > regulators, debug UART, PMICs, remoteprocs (NSPs crashes shortly after > booting) and USB. > > The SA8295P ADP contains four PM8450 PMICs, which according to their > revid are compatible with PM8150. They are defined within the ADP for > now, to avoid creating additional .dtsi files for PM8150 with just > addresses changed - and to allow using the labels from the schematics. > > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 434 +++++++++++++++++++++++ > arch/arm64/boot/dts/qcom/sa8540p.dtsi | 133 +++++++ > 3 files changed, 568 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sa8295p-adp.dts > create mode 100644 arch/arm64/boot/dts/qcom/sa8540p.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index ceeae094a59f..2f416b84b71c 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -52,6 +52,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb > dtb-$(CONFIG_ARCH_QCOM) += sa8155p-adp.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sa8295p-adp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1.dtb > dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-coachz-r1-lte.dtb > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > new file mode 100644 > index 000000000000..f78203d7bfd2 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > @@ -0,0 +1,434 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2021, The Linux Foundation. All rights reserved. > + * Copyright (c) 2022, Linaro Limited > + */ > + > +/dts-v1/; > + > +#include > +#include > +#include > +#include > +#include > + > +#include "sa8540p.dtsi" > + > +/ { > + model = "Qualcomm SA8295P ADP"; > + compatible = "qcom,sa8295p-adp", "qcom,sa8540p"; Similarly to previous patch - this needs to be documented. Rest looks ok. Best regards, Krzysztof