Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6141499rdb; Thu, 14 Dec 2023 09:17:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+2iJ8RLpuRoQq1cZ0WbqIWtyWf8aHdpXp1ljTULmO6xKwv1eL7CqRnrM9gLqstWwZx/SC X-Received: by 2002:a17:902:eb88:b0:1d0:6ffd:9e37 with SMTP id q8-20020a170902eb8800b001d06ffd9e37mr10770666plg.137.1702574262668; Thu, 14 Dec 2023 09:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702574262; cv=none; d=google.com; s=arc-20160816; b=TGEwWCPW5iRzyKBiRLg3TEU9yfinrL/M+SLDxlN8ouMmQdxUZW0nKPKw4KqxODhIs7 U386xmqkQIoEKIkH+XPkKenx41DNdYdcYYyf1eKljDrh2FDumHM52yLzvf6v/RaPNncG Sy7GkMePmcksmoM5lNGUWtolessS8+dinkotj/UwfXIkekaVSU0aJYeVvHKVyNzSbK5t Wq85doX5WehfK4OmFhwmHP4mTA2n9J2rCxR62ypzABTh22XjYsFmR8gqNO1xXSa6FI4e KMf2F9ZK4q+UVIJGGA3OQpPCadQ1myaQRmZY63aPTas9l6KFjPqjAx12klGwvMEbNwGX d54g== 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 :dkim-signature; bh=sZcWwYsWqgvb8N253CfVL+G75y7l04rNTgihuYv69v8=; fh=lVGVye24m/9NaSw7TI+AaI9xaOJ5tdLw2UnYZ/ye4ts=; b=iMes8lQW/lG9miZ9L3hWzAYm0DBsC/S8v7a28FKCp0BHrXa7r6Ts62/LyarNJL+maE XB48iUD72XFmmoLARf3uiq0HuN2KC9SBWMnPWog3YoiIq2oxNlBxxF2h09/cc/kqXP33 gpNpQqBGunQFkUnV0iXd2qWUuUg0AVmt082tbTxjq5Jfd0CTpV5cL7upVlwz9zHpmPir ASrfoO4UIUU6b9/pQ5C2u1n/pBOgI72/m88zmY8GhnkDg4ML9x9n8U8y6EpbgERiZqxC lCI4/O25wTnzd155r6qcHiLB0aoqHV5YLjvFWyeZN1zZpxye1AKGKPGDvNfK+7JUWRRS wfbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YeST1OnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q14-20020a170902eb8e00b001cfb3d25f2asi11428992plg.652.2023.12.14.09.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:17:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YeST1OnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0DDA9806CF75; Thu, 14 Dec 2023 09:16:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231366AbjLNRPu (ORCPT + 99 others); Thu, 14 Dec 2023 12:15:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235526AbjLNRPa (ORCPT ); Thu, 14 Dec 2023 12:15:30 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5693BD5A; Thu, 14 Dec 2023 09:15:05 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40c3f68b69aso53559025e9.1; Thu, 14 Dec 2023 09:15:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702574104; x=1703178904; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sZcWwYsWqgvb8N253CfVL+G75y7l04rNTgihuYv69v8=; b=YeST1OnN9dPK7e6VhGjctl73hiJ8oZ7EjuNuAG/+NLNeLcDr4EA3p3hw0aks/hgiYl kqlXh3ZFwjZuCJQr4/UH9Shrt3UWBJGJ+oBITPOdg+R6Seybu8+FN0+AvG2OunqRvO/r vNzbc5TH8ZTT0UBfTIZEf2tqPyoStaMkyqwbXzADJJ8ipM8bhOpwyosCaPGMMzqdHKEG DEhXqVXnG8z7yBQbYCWSACQwHVXk2wF3x9LTDWQh6fQEk9/PHtBtSW21wXN8phQy8jpo X3njm5Q/J4nyG7t3nqx96XAA1+lt7Uk5jYPdrCTk+mrBD3xmHdhA7QP3IPTYYacQWFDK PSlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702574104; x=1703178904; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sZcWwYsWqgvb8N253CfVL+G75y7l04rNTgihuYv69v8=; b=VuHtDkVx37uNq0HTxWpnVTjPoeKPENegIcmi5F54kAu2CsTXcySRD8xUL9ct5+tRPK V3djkDySuNkj0fD4rpeOSMmBGsKUiuAvY2lCcC9CqiE0DBu/2wUYf2a0naqQV3ymnXME +JIbo2D42miPJtXrcFRZAVjFkrKXQiXECIBUHutRlqq5Q8oqU8BzsGBdMl6G9hcVFVEl eKp8oVudtdQlo2lPLMtTLBNOtN0YyKFU0mC0KADxoj2x6Jj3pYqDaN9/WmzjDv4OnpAj sDBv3BqpWU1G48GQlNJ7E4TUHKiQq74aXalknnFlJjJ9cZfkJHGKhHvNMKfOVpul7ebq q8nA== X-Gm-Message-State: AOJu0YyBP/OvWk9jrdMwxMB2GdcN0N/TGodGu/Om4kz9XGWApWhHhKVN ezC09s2PqDwPq+NMTN1vnpo6mb5gG0xV7A== X-Received: by 2002:a05:600c:4d98:b0:40c:2715:b10f with SMTP id v24-20020a05600c4d9800b0040c2715b10fmr5890947wmp.119.1702574103545; Thu, 14 Dec 2023 09:15:03 -0800 (PST) Received: from archlinux.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id bh15-20020a05600c3d0f00b0040b4ccdcffbsm26013151wmb.2.2023.12.14.09.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:15:02 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Andre Przywara Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Viresh Kumar , Yangtao Li , Brandon Cheo Fusi , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 2/5] cpufreq: sun50i: Add D1 support Date: Thu, 14 Dec 2023 18:15:01 +0100 Message-ID: <1921146.taCxCBeP46@archlinux> In-Reply-To: <20231214164010.0be50a89@donnerap.manchester.arm.com> References: <20231214103342.30775-1-fusibrandon13@gmail.com> <8351928.NyiUUSuA9g@archlinux> <20231214164010.0be50a89@donnerap.manchester.arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Dec 2023 09:16:03 -0800 (PST) On Thursday, December 14, 2023 5:40:10 PM CET Andre Przywara wrote: > On Thu, 14 Dec 2023 17:29:30 +0100 > Jernej =C5=A0krabec wrote: >=20 > Hi, >=20 > > On Thursday, December 14, 2023 11:33:39 AM CET Brandon Cheo Fusi wrote: > > > Add support for D1 based devices to the Allwinner H6 cpufreq > > > driver > > >=20 > > > Signed-off-by: Brandon Cheo Fusi > > > --- > > > drivers/cpufreq/sun50i-cpufreq-nvmem.c | 1 + > > > 1 file changed, 1 insertion(+) > > >=20 > > > diff --git a/drivers/cpufreq/sun50i-cpufreq-nvmem.c b/drivers/cpufreq= /sun50i-cpufreq-nvmem.c > > > index 32a9c88f8..ccf83780f 100644 > > > --- a/drivers/cpufreq/sun50i-cpufreq-nvmem.c > > > +++ b/drivers/cpufreq/sun50i-cpufreq-nvmem.c > > > @@ -160,6 +160,7 @@ static struct platform_driver sun50i_cpufreq_driv= er =3D { > > > =20 > > > static const struct of_device_id sun50i_cpufreq_match_list[] =3D { > > > { .compatible =3D "allwinner,sun50i-h6" }, > > > + { .compatible =3D "allwinner,sun20i-d1" }, =20 > >=20 > > This is not needed, as there is no functionality change. >=20 > That was my first reflex, too, but this is the *board* (fallback) > compatible, listed in the root node, so you have to list it here for each > SoC, together with the respective blocklist in the next patch. > We are doing the same for the H616, and actually also need that for the > H618. Weird, I know, but last time I check not easy to fix. Oh, that's bad. What's the rationale to have so complicated probe method? Why not using standard, compatible based one? Best regards, Jernej