Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36396359rwd; Mon, 10 Jul 2023 23:54:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAFC20EPbkxyvUXj/uX3mub89PBFYzphC0PSqhRXsSVAuMYjA7/gOtm/HzoiTir26QCa/S X-Received: by 2002:a17:90a:bc84:b0:263:7d4a:4d43 with SMTP id x4-20020a17090abc8400b002637d4a4d43mr11521161pjr.1.1689058463304; Mon, 10 Jul 2023 23:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689058463; cv=none; d=google.com; s=arc-20160816; b=UsopBW+honfW1+ikBp73o6FQ/g4rxlK3c6hyKknDE2XhsoxxTXPhfrdVhefoC6bfyq ElTt017lIaAAB5uLvBOSS9FrtvuUWLkTmxL67fcjJ0AuMkmY02pYu8KMevHb0NQ7122Y bAVW9h1rY2enhwdJcd2e4ewHSJtt4+ITIkcTavMtgIMw2fUpv90hZijHqfbXh6/g9POW eXkMkbJPIs0hUSsgidkufNbwj72IEzqyEUwnu+bP8FcCMI4cepYwF7jkjJ7um0hwwHo9 p5/b3CZbtUyNOGaBgZfWFJ2f+N8nFn873J+cFajyBEhzK2fcY3U6E7XtLpIpiso94j/C /bAQ== 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=tpO/kRGXZrcaHH/p3Ai9d1x5JI3iV2cFdsOiX0dHBSw=; fh=rVB23gcp7Q03J0BvBzCrR4UYOyajtxCuLb4HLp2fvvg=; b=YrmGkGeKmdhi9bOFZqdE11CYIHruM5DMtc9g1dcIragTxY4sVjLwPvq6ldkNpkenLV 2/r1KwZYKeKQbwvT1ZTXvl40e9zCW/An3hRUh0h962UaAezIxEKvwU2L87Kjugwrte0s 6Nt49tQ7ivcu0HH7Uofx30pLgVfQB9pv3Icjc760sjBiFSQLtqg7oNjtCrJKxOsZT6w6 9xqC7twVOoYwlXaeZAHDcISDNFuzjqu9Yuc+2GCDrjIwRHzeLooXe5aEgImfzxAiKE3y 8MI+/tAT1alyYWHo+K6unTe00H+k0K3tWzoNEFRAow4HrSTOHVn6N9n9UBHWxsVw4yid CKMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4Vz6XpJ; 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 ca8-20020a17090af30800b00263035570e1si1106516pjb.89.2023.07.10.23.54.09; Mon, 10 Jul 2023 23:54: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=@linaro.org header.s=google header.b=j4Vz6XpJ; 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 S230178AbjGKGWt (ORCPT + 99 others); Tue, 11 Jul 2023 02:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjGKGWq (ORCPT ); Tue, 11 Jul 2023 02:22:46 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E7BE69 for ; Mon, 10 Jul 2023 23:22:45 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-51bece5d935so7270040a12.1 for ; Mon, 10 Jul 2023 23:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689056563; x=1691648563; 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:message-id:reply-to; bh=tpO/kRGXZrcaHH/p3Ai9d1x5JI3iV2cFdsOiX0dHBSw=; b=j4Vz6XpJVEuaD4v2PFmw+Dztx/NfSOnFHz21bQjCzlcPhk5Zgygngj8YH9FAK8EG5l szqMWG4qHGtHQ/3YpukKC0qy3jP05GVhqbf8k8mZMBqbZWM0ZG7j/FgPqZEUMzVwcVzg pW9gxmGBD9MbdqGbcOqdU4PFixr6WPj/q73BOrVuCIrxZvJ04pLzHaHvHvKIvSFCfX36 QzRToBLjYwqxKjIYddHc/1b64bV8clPa3dS6xv//9mUnrv46qFSXnzIkHh+xKPaz3u1A NE73oy9uGJxYe8Mdzfg3FZn9zmIegt79wuoNN5FMhQOx3XJqKGPakEi+HZQQHNp0mzb5 ZQ8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689056563; x=1691648563; 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:message-id:reply-to; bh=tpO/kRGXZrcaHH/p3Ai9d1x5JI3iV2cFdsOiX0dHBSw=; b=GTgNh7mpAd70bakW26Hz/AIUCuSjR4P8YG/TjWm4Q+1TDIXMUSDf7jWzshX4gmwGhu VL6K4djVPlbIPW2TI8gylId4R/B8uZN6cBScZBZW8kSmRmU1EnHzBv7RlNZUhkddokLP FsCe1E04EOBlP+RUgNdEmVL+MPT1u49TO81hzA2/nv7VpmgkZm/LaApEl6TDlDm01vJI q3jEh3YB9eKRhJsY3YK1nGmMa+gsi9Y7YcjlPUZ5sPz7lvn21zO+S0OD/qxFL1ks/C4H XsfF3g+Mbw+tUirFqQKYFWHJmnadoA0RaFBRXlntG9Wy2VaqemVfcE2phWIhDT1e8jGm q0zA== X-Gm-Message-State: ABy/qLYdFX/iT95RKbhgK5jXgkNrYHthyg8V5CyVMfyxsxs5QE7uwHXR 8gSMqyQDmaP3HCbrzdCKMmuN4A== X-Received: by 2002:a17:906:dc:b0:98e:4c96:6e16 with SMTP id 28-20020a17090600dc00b0098e4c966e16mr15367855eji.5.1689056563685; Mon, 10 Jul 2023 23:22:43 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id f26-20020a1709062c5a00b0098242730348sm696748ejh.72.2023.07.10.23.22.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jul 2023 23:22:43 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2023 08:22:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3 1/3] dt-bindings: power: rpmhpd: Add Generic RPMh PD indexes Content-Language: en-US To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1689054169-10800-1-git-send-email-quic_rohiagar@quicinc.com> <1689054169-10800-2-git-send-email-quic_rohiagar@quicinc.com> <2040226e-9b45-b409-3edd-a5b86d86daa8@linaro.org> <8a3124ce-a11d-2491-eaee-1695cec70b17@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <8a3124ce-a11d-2491-eaee-1695cec70b17@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 11/07/2023 08:17, Rohit Agarwal wrote: > > On 7/11/2023 11:22 AM, Krzysztof Kozlowski wrote: >> On 11/07/2023 07:42, Rohit Agarwal wrote: >>> Add Generic RPMh Power Domain indexes that can be used >>> for all the Qualcomm SoC henceforth. >>> >>> Signed-off-by: Rohit Agarwal >>> Suggested-by: Konrad Dybcio >>> --- >>> include/dt-bindings/power/qcom-rpmhpd.h | 30 ++++++++++++++++++++++++++++++ >>> 1 file changed, 30 insertions(+) >>> create mode 100644 include/dt-bindings/power/qcom-rpmhpd.h >>> >>> diff --git a/include/dt-bindings/power/qcom-rpmhpd.h b/include/dt-bindings/power/qcom-rpmhpd.h >>> new file mode 100644 >>> index 0000000..4da2e04 >>> --- /dev/null >>> +++ b/include/dt-bindings/power/qcom-rpmhpd.h >> Filename based on compatible. > This is not specific for SDX75. These are generic ones that should be > used for all other targets. > Konrad suggested in v1 to avoid target specific prefixes everytime and > to create a new generic > dt-bindings that can be reused. >>> @@ -0,0 +1,30 @@ >>> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ >>> +/* >>> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. >>> + */ >>> + >>> +#ifndef _DT_BINDINGS_POWER_QCOM_RPMHPD_H >>> +#define _DT_BINDINGS_POWER_QCOM_RPMHPD_H >>> + >>> +/* Generic RPMH Power Domain Indexes */ >>> +#define CX 0 >> These are very generic names, usually not used in global headers. Please >> use some reasonable prefix. > This was based on the suggestion from Konrad in v2 to drop the RPMHPD > prefix and we can go only with names like CX, etc. I don't think having so generic name in tree-wide header is good idea. CX can mean anything. Best regards, Krzysztof