Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp407911rwb; Sat, 1 Oct 2022 01:38:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7PUSEqeP6YSFpIqhlUcLFTDo0IFGgllqGYq5jFrfTBzWDB6G8vIYnS4+RGlcFGnoXFBVQO X-Received: by 2002:a17:907:d28:b0:783:c94e:1ab7 with SMTP id gn40-20020a1709070d2800b00783c94e1ab7mr9119146ejc.397.1664613501958; Sat, 01 Oct 2022 01:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664613501; cv=none; d=google.com; s=arc-20160816; b=yw58giWRsj4t+tMPxH8A2uI/2i3Lscle8POhRXaq2tDAzuzhgRvInxkU0veIkQbVXs /X/sXj9J1FQye6egZmFWk+rWjNRdmQdLamOIa8P9tfcN56Zbj+oZMkmutn4azldj+laG HCqq4a1cygX4+YsZSfDmZS9lNH4xWmUOTDTMtam/Qmk4Tz4m9WWqHoL3ijPsmVFqcHeR jHRGjHVcZ64DtWdNGLByzJaCKVqHjKZB9jPsOaSX5OXB/VNoC2vNs1qEtxgTvMueCQgy Ej7aDZg+bNUNjGu/QEwSaGSOc5zFqk4zWUvIObQBa92rw1Lc1MC3errkjh7boDgiJsJt AK3A== 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=VMZaaIX0zHCfcZ+ypQh+ZHlacF5EMmYtRVGM7uRfTPg=; b=ZiKOBRkne/KZs+APEOeaxWpAsIOuuT0Ci1JIT1IsnX5jpCuM8PSHzRrLZEylAsYPXD //9ZKwdBO7Og9H7ro7U3kagHfOiWqlNBYrfBVue6/hX9zH+hIzhiUkv97s8VXYhKzxjx 8PxV6xtNpX7dcvorW3gjXT4uOW8BORb4onSU09zW3lCVvtSkRgnNvSMVHmxWnyF5ayVQ AiNhn5v31KXmr69wQDyaIIssk8PUv4AciJpmI2Bt97ASvluB7ZRz22SYoNifuRJTja/j Vp2GjSdSTg4sj52j8PPSpEHhX+hCs7Q9bhdvXv5/o2H598vSe2JE13TNar86vBWzbhwG JV2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B57PxXHH; 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 dz22-20020a0564021d5600b00458b6dd954dsi1113495edb.200.2022.10.01.01.37.47; Sat, 01 Oct 2022 01:38:21 -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=B57PxXHH; 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 S229502AbiJAHu6 (ORCPT + 99 others); Sat, 1 Oct 2022 03:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiJAHuy (ORCPT ); Sat, 1 Oct 2022 03:50:54 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1D21710ED for ; Sat, 1 Oct 2022 00:50:51 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id l12so6947569ljg.9 for ; Sat, 01 Oct 2022 00:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=VMZaaIX0zHCfcZ+ypQh+ZHlacF5EMmYtRVGM7uRfTPg=; b=B57PxXHHGPSXRXwPGbP3RYONxeFzy51i9QvJ+ewMRyNoonwrz0ImmuBSxJcJ6mcutV 2NrOWGHOW3HrY2pWZSwy8dq7+CQCeVTHT2GuD1D2qiBQw6I7vztgvvtLA9/N6ii/Dbhl 0eEh49GZZetIozu1hK+Ij+e2ZwadFdGMuTGIGXmEcEzcUWfC2K15lGyUayljRQtSgvjn WLFp2IYCvKYwwKAER3LUNH9lwbC04GHZvKPldWUQJV3iR5CweamnHpItgMSjD863Tqyv hutR1Z4Gqni5nYVXu9qD1nYdoWAX9FA36CdPIzW0Sm04NQ/bQlzn+v+oyJyTYv2XlA+F QCyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=VMZaaIX0zHCfcZ+ypQh+ZHlacF5EMmYtRVGM7uRfTPg=; b=4flgBVk2EtGzv585CfZdJ0Z7qBEx6Q2GMarfn+FP5dHcMp3cE53AKOpwuS+2pDAnuM NO83VU84WA79P1viotoe9C6d7koMdqW6EN9GBWCx5SmuXvC+fi/ZFvzjWi7Gp9uC1IHn 8f0/W33047eI7vTaTgnpnihEW6biDJt+rtgASeCnlQXzGVtuF38Gr1sQriArP3Hb7IsP nqPfOhAiyy26pRa1hcZRNdVgh8sN+pwPQvkRIsSSk+S/knvJ9BgnzcYyPgG/PGHocaGa mNCF6M5uo2PaKD5kjnXGHuJptX96P1bzFpES0dUeTDp8ZPjDgn/FwHCoKR/ffp85aFTc pWkA== X-Gm-Message-State: ACrzQf0YehQmBI9dqA15xpuq7KhlO5ioJdpdFH7cV1uzA/vYZCgRRp/1 EVNz7mnTbBQ0Feqpx97du8p82Q== X-Received: by 2002:a05:651c:17a1:b0:26c:87c:c104 with SMTP id bn33-20020a05651c17a100b0026c087cc104mr3644833ljb.419.1664610650050; Sat, 01 Oct 2022 00:50:50 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id j15-20020a056512108f00b00499d70c0310sm671179lfg.3.2022.10.01.00.50.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Oct 2022 00:50:49 -0700 (PDT) Message-ID: Date: Sat, 1 Oct 2022 10:50:49 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 4/5] soc: qcom: rpmhpd: Add QDU1000/QRU1000 power domains Content-Language: en-GB To: Melody Olvera , Andy Gross , Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Ulf Hansson Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221001030641.29354-1-quic_molvera@quicinc.com> <20221001030641.29354-5-quic_molvera@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20221001030641.29354-5-quic_molvera@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 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 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 01/10/2022 06:06, Melody Olvera wrote: > Add the power domains exposed by RPMH in the Qualcomm QDU1000 > and QRU1000 platforms. > > Signed-off-by: Melody Olvera Reviewed-by: Dmitry Baryshkov > --- > drivers/soc/qcom/rpmhpd.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c > index 092f6ab09acf..f70573cbc636 100644 > --- a/drivers/soc/qcom/rpmhpd.c > +++ b/drivers/soc/qcom/rpmhpd.c > @@ -353,6 +353,19 @@ static const struct rpmhpd_desc sm8450_desc = { > .num_pds = ARRAY_SIZE(sm8450_rpmhpds), > }; > > +/* QDU1000/QRU1000 RPMH powerdomains */ > +static struct rpmhpd *qdru1000_rpmhpds[] = { > + [QDRU1000_CX] = &cx, > + [QDRU1000_EBI] = &ebi, > + [QDRU1000_MSS] = &mss, > + [QDRU1000_MX] = &mx, > +}; > + > +static const struct rpmhpd_desc qdru1000_desc = { > + .rpmhpds = qdru1000_rpmhpds, > + .num_pds = ARRAY_SIZE(qdru1000_rpmhpds), > +}; > + > /* SC7180 RPMH powerdomains */ > static struct rpmhpd *sc7180_rpmhpds[] = { > [SC7180_CX] = &cx_w_mx_parent, -- With best wishes Dmitry