Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1520428rwd; Tue, 13 Jun 2023 10:09:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kouanbHfdpqP9YXkjtny6tdFN4WsgC0bxRos9e/vX3nBz4k9MWcjx0UGhuY8Ppt/kA3BW X-Received: by 2002:a05:6a00:23c9:b0:663:83ad:4804 with SMTP id g9-20020a056a0023c900b0066383ad4804mr17588519pfc.1.1686676148401; Tue, 13 Jun 2023 10:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686676148; cv=none; d=google.com; s=arc-20160816; b=EDkxugNdZGp+R8BeMxu6w968l0ipjpMGw2/bPeXLYG7PkocZq1AJ2lyPiOxeCv1b6z lrvfusv1dZ90SVS5QT3s4tQOZp4hXeE1q6CSszxP3My3e9aaEg4T+uee85I50Ttwhbpp IgvvdJCZ66lPIYOV5xggKrwthGZ3nhax0ev8UGt+RKRKCCcoH+Vb2WOKOQE7PdGrQBQN wr2BvviavP5/h804rriHggedP4wVlU1xgXk4gdfMPecep8s048AJaxfS2zlb/LBilsfJ av9Riib8iTtXEGfAzAHdIb1w4IjFTU9EUo0Lv2P7D6QhAREHP3D5UIV1wHsNGuKWkoPn E/Rg== 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=lHwU5Z4VJFyNOMqZTYGwSzyMnesm0yUPXlMgK0i7OEI=; b=Itxm7Q8BhIIIL88NeIZEa2Y0veobUPFByynVES8WT4rJiMU1uRy4XCV49Ob9kwCLlQ fskRR12ftsUAazVNVfAhzQjVEaOaokqdLbjGQdq5qffWiOjDg1NZ+3NWb4Pb0LNdabXf 1EUZXX9OqqIIfHyqhJAZT34MxAGh0auuJuTpBoXX+vetY7qJ34vCPVOhm+ScxfA+nsQB lWWPyjMFSwcuW1TJu9H5wvtDWDnoIMQMBPyfw2cSJUpogQICCZ1oUIYhnBZ03nnENIWK 69NvDrvXIJI+BtuUyv3bN9KITb0tTqBpc/dKGhpConCZohE9Hhpw898kVOVzWaZ5pruW L8LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="odAMs67/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t125-20020a637883000000b0054f73f08ea9si4823638pgc.393.2023.06.13.10.08.55; Tue, 13 Jun 2023 10:09:08 -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=@collabora.com header.s=mail header.b="odAMs67/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234956AbjFMQsz (ORCPT + 99 others); Tue, 13 Jun 2023 12:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234601AbjFMQsk (ORCPT ); Tue, 13 Jun 2023 12:48:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A8A81BC9; Tue, 13 Jun 2023 09:48:39 -0700 (PDT) Received: from mercury (dyndsl-091-248-189-170.ewe-ip-backbone.de [91.248.189.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0DB0D6601F5E; Tue, 13 Jun 2023 17:48:38 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686674918; bh=UM8nq6DIfeVXzuGe8Mu+HR6x/D6bXctg1tCfl1Vqr4A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=odAMs67/mgBUzTAqe1jgEJzn3GTduzjfDe+MIbE5KkkWyTxaJ8X8WlLpiIcaAEQKm CT3h3rXtGJ1SGFfQlF8u+KEO+nEtumZ5YoyUU97+1vxIRwT3SprEJ/66pS7FmwEYDE x6LdaOlY8Rsed9JW3lVH9o0oNXUy67raaxiF25FkHGBjlUxYmkFtS76F6b0JxO3OQz XZkmkqe0f7RyAmN2Vmyb2quynNwznjDhn3676ynbGLvJTWXifp70dYkEzmt48qpvvD Uv/wjva2Nc5CH+qVS13rI6zGA1jztIh8PiDivILm0TvdLv68Gu0InEgcLrFgz14Pfj 3aK+J+K1XC2Yw== Received: by mercury (Postfix, from userid 1000) id 89FF51066FBA; Tue, 13 Jun 2023 18:48:35 +0200 (CEST) Date: Tue, 13 Jun 2023 18:48:35 +0200 From: Sebastian Reichel To: Sascha Hauer Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Heiko Stuebner , 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, Jonathan Cameron Subject: Re: [PATCH v5 12/25] PM / devfreq: rockchip-dfi: Handle LPDDR4X Message-ID: <20230613164835.ok477e5igrj36xka@mercury.elektranox.org> References: <20230524083153.2046084-1-s.hauer@pengutronix.de> <20230524083153.2046084-13-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uvrpf3lezyyj6znr" Content-Disposition: inline In-Reply-To: <20230524083153.2046084-13-s.hauer@pengutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 --uvrpf3lezyyj6znr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi, On Wed, May 24, 2023 at 10:31:40AM +0200, Sascha Hauer wrote: > In the DFI driver LPDDR4X can be handled in the same way as LPDDR4. Add > the missing case. >=20 > Signed-off-by: Sascha Hauer > Reviewed-by: Jonathan Cameron > --- Reviewed-by: Sebastian Reichel -- Sebastian > drivers/devfreq/event/rockchip-dfi.c | 1 + > include/soc/rockchip/rockchip_grf.h | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/drivers/devfreq/event/rockchip-dfi.c b/drivers/devfreq/event= /rockchip-dfi.c > index 16cd5365671f7..0a568c5551699 100644 > --- a/drivers/devfreq/event/rockchip-dfi.c > +++ b/drivers/devfreq/event/rockchip-dfi.c > @@ -89,6 +89,7 @@ static void rockchip_dfi_start_hardware_counter(struct = devfreq_event_dev *edev) > dfi_regs + DDRMON_CTRL); > break; > case ROCKCHIP_DDRTYPE_LPDDR4: > + case ROCKCHIP_DDRTYPE_LPDDR4X: > writel_relaxed(HIWORD_UPDATE(DDRMON_CTRL_LPDDR4, DDRMON_CTRL_DDR_TYPE_= MASK), > dfi_regs + DDRMON_CTRL); > break; > diff --git a/include/soc/rockchip/rockchip_grf.h b/include/soc/rockchip/r= ockchip_grf.h > index dde1a9796ccb5..e46fd72aea8d1 100644 > --- a/include/soc/rockchip/rockchip_grf.h > +++ b/include/soc/rockchip/rockchip_grf.h > @@ -12,6 +12,7 @@ enum { > ROCKCHIP_DDRTYPE_LPDDR2 =3D 5, > ROCKCHIP_DDRTYPE_LPDDR3 =3D 6, > ROCKCHIP_DDRTYPE_LPDDR4 =3D 7, > + ROCKCHIP_DDRTYPE_LPDDR4X =3D 8, > }; > =20 > #endif /* __SOC_ROCKCHIP_GRF_H */ > --=20 > 2.39.2 >=20 --uvrpf3lezyyj6znr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmSIneMACgkQ2O7X88g7 +prvgg//asxiF9OnaP2bITXrgtEsRhV8k04A5U+WXJ0d/fjI+EoTUe5aB9T/gZOy 6Mh/d1RGqMZKe5CgE+PFjvBf9ig1x7Ux13tNjg9QUQSRfgAuCGbgflRwMIfeU2pS 12SGUoOaF/PR55Ep5+tqwtAQIF5hoet8eYd3aJKI5J+1YokC23q0oydcgDWNTtiB m48p5D6uqG+S4ZcGrhQU8lvUCA5nG6+JvzGBfc8LWQjyA1Qtj8ve2XQ6wTt62fsT 8OWwX2YGucFnLjBPYSLyR9p1wG87V86/SPgxILP7jB778LlslxkV4axNlv7XcGcx VbyFw5VcWL96WSm7aDcHB3QCYULxr4WFfo+gtnb3LIQaRPRVJfAImnQ3aw9QMUIk 3gq1ZLP5TSDw/++TDSAO5dS+YHp9RrcwXPxje8IOnRM6QcvwJsZ3Rxugp2ch0AaG SycBzttpIIaC1c1vccLHgM8p+MSnpJ7l+/oR6UmhdmxyLZsgHZUIGjsAWFGwD6z+ wkZvzn+ay+WsweuhJ+vPDtuS/O0I7t22l2AaX9GWB+9OzzpIfUWlHJ9ZnqYhLWRO VsryDlDT7pD8AN1KAUmSWQisa1hHPXOj4/OTRLFFPXKrmxYnRmbXdVjfZZGebUUJ ZQUTBzfJPBiqsOefhtaL0Ek5nbBE0Y8Ze0gZixaB+p6D9GgLDqk= =UVoD -----END PGP SIGNATURE----- --uvrpf3lezyyj6znr--