Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp4037220rdg; Wed, 18 Oct 2023 13:01:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRs4qo6eifFriqD/4DFZSqAgxo+qpd93VPXou+BUYBQDmDHiX3mQL+SOneo06yVXTTmdb7 X-Received: by 2002:a05:6a20:258b:b0:17a:4891:e33 with SMTP id k11-20020a056a20258b00b0017a48910e33mr208111pzd.4.1697659300010; Wed, 18 Oct 2023 13:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697659299; cv=none; d=google.com; s=arc-20160816; b=RCWJlzuZ47Kev3pv4MJOFKBpPpV3JiQzcISAayWObCohx0eEqdrGytXW6G6JL3BWPx rflAlAzJOpx2eN2PeVQ5zgYAFh3+0fcKFp9mHIAW9C5MhsDVH2gNv4NTUuzk+8KsRZ6J dHTq+ZBwzxSGpxC57b7PjPCWw5hFh3wAASKPZp4BIsDVmn3C0JGgCi56UwI43V8oKo0y zGQNi4Y2GATBwq66GchSxWxmUg/2zzQu+FpS1WXal1EtJUYoR940VXXULk+vTyqkTOOB lInNI/bNzcNshjtRRVN7ZnpKr+bAtt94B5iFet1GFPqXSrGTccI0WVH9ONKTQLF/DoIi 6QsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=75vcGZQGvKEexYsdbBnZ9rYiv7X5qFcEZbrb4qRCj2U=; fh=7gBX+Ra0RLTSOhYq/ocBRRVcZ5DfH4VlvjZyXhx0eZ8=; b=b9iwGM7fkkmNptfCN4ymVQg2u7kMJBnwC9vA4YYh2H/hqhc84ZjJyNM2+Yyh3kueuG NRjA1N/+Gu5azKdy4byzW8+D2Dxp9IsMLx3hp+zhvESvmBJZfJg8xJ4sUhc8yiO3kVjq SGQ9ht1apLv2IR59OZGSjHGtGWKplX4f0hKF2KPHOI/tV8wpW/bZ7B81lipWbUlTR445 lxxKYfdCpXzyUGCd0yriY4oP8dp9T5zQE3vdkVzxyFCRTUCzc//CG8iblkOqeyOw6aJU 1t3JfRExMTigE64I1Rn8/qC3X70WVstH8CQ7eRkCq4g3wDgmwsSEqQdolAx4Z0imgVf2 NuYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id e13-20020a17090301cd00b001c9d4d2460fsi678455plh.30.2023.10.18.13.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 13:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 26FD08074521; Wed, 18 Oct 2023 13:01:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbjJRUBS (ORCPT + 99 others); Wed, 18 Oct 2023 16:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjJRUBR (ORCPT ); Wed, 18 Oct 2023 16:01:17 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FE9095; Wed, 18 Oct 2023 13:01:13 -0700 (PDT) Received: from i53875b5b.versanet.de ([83.135.91.91] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtCiz-0004aG-Fd; Wed, 18 Oct 2023 22:01:01 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-rockchip@lists.infradead.org, Sascha Hauer Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Chanwoo Choi , Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Vincent Legoll , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Sebastian Reichel , Sascha Hauer , Chanwoo Choi Subject: Re: [PATCH v8 08/26] PM / devfreq: rk3399_dmc,dfi: generalize DDRTYPE defines Date: Wed, 18 Oct 2023 22:01:00 +0200 Message-ID: <4102931.6PsWsQAL7t@diego> In-Reply-To: <20231018061714.3553817-9-s.hauer@pengutronix.de> References: <20231018061714.3553817-1-s.hauer@pengutronix.de> <20231018061714.3553817-9-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 13:01:36 -0700 (PDT) Am Mittwoch, 18. Oktober 2023, 08:16:56 CEST schrieb Sascha Hauer: > The DDRTYPE defines are named to be RK3399 specific, but they can be > used for other Rockchip SoCs as well, so replace the RK3399_PMUGRF_ > prefix with ROCKCHIP_. They are defined in a SoC specific header > file, so when generalizing the prefix also move the new defines to > a SoC agnostic header file. While at it use GENMASK to define the > DDRTYPE bitfield and give it a name including the full register name. > > Reviewed-by: Sebastian Reichel > Acked-by: Chanwoo Choi > Signed-off-by: Sascha Hauer Acked-by: Heiko Stuebner