From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12F06C433EF for ; Wed, 1 Jun 2022 04:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349521AbiFAEmp (ORCPT ); Wed, 1 Jun 2022 00:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235265AbiFAEmm (ORCPT ); Wed, 1 Jun 2022 00:42:42 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33DC50E37; Tue, 31 May 2022 21:42:40 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1004032000D7; Wed, 1 Jun 2022 00:42:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 01 Jun 2022 00:42:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1654058556; x= 1654144956; bh=MqKm1T3VhwChELMNhJiWU54GYv7cli4AIoO4d1HHU5c=; b=S Y2Br8phdarVHJQwnRRVFPncv2X41yg7BNw1dJtJuDkmGd2VLfm6djnXuehZGpThH rNd+80nPqawM6MqN/hmhyoZ2VElogT2TtJ4lClVY19cnfBhb17MDMptHD2VoC7ys RSE9LXMuwqoCyB8vLQCrp+Rna6qzwpB+GBT/Dhdv1Pwk9EMRT5qdgCUHqqgQJzT8 7c6kZHjQAvA+Zmelk13NAbV6M2uoAAOy5hr4yQjnk1TyhHcTYpyLWhTbLXaLHyCB YTm4kOt7P0K/aX3A7Lw2XkL+mzlAQC/eKphRzdHgsCUMVmhqW+oj4BGKrhIMNbJQ xkVt6Ee8JuoRroAYsQZUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1654058556; x= 1654144956; bh=MqKm1T3VhwChELMNhJiWU54GYv7cli4AIoO4d1HHU5c=; b=g zT88VczoX1HXe82zPqhmep4QQvouAYbfXpVOEYI0eCPhQS9fWzd4N7LF9GNlK8eo PXD8vprEQFpDkMiQ69fCTrxIuXY4NerTmY1lhcpsXsA7OqzXgPDb0ZDOT4fQ0siR L+wk6x4cOHHKKpYUTRDdnZ92tzlyp7djIr7d8TfpmP9wepKLIZLWBOUe0I17qKXT Vq45BZGNM7aBQ1o9SQUSGm4Pu2oIYzvDArxqywwYopWExzmWoDo5ilq2v4m2XjR2 YqXT+DWfyr6CI5ge7D6jJ1pXAYAxZgAnxIZhP3C3MKY5DfUKNUrl6AEy5gvI70v4 J8Th/XuRPe2ObxdgDFnbQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeelgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfevfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnheptdevhfehhefgvdekteffleduueduheduuedvtdevleelkeevvdeu vdeihfekueehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Jun 2022 00:42:35 -0400 (EDT) Subject: Re: [PATCH 0/3] pinctrl: sunxi: Remove non-existent reset line references To: =?UTF-8?Q?Jernej_=c5=a0krabec?= , Linus Walleij , Chen-Yu Tsai Cc: Andre Przywara , Maxime Ripard , Krzysztof Kozlowski , Philipp Zabel , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev References: <20220531053623.43851-1-samuel@sholland.org> <4400164.LvFx2qVVIh@kista> From: Samuel Holland Message-ID: <48570ec3-8159-11ae-8069-7f001081fd56@sholland.org> Date: Tue, 31 May 2022 23:42:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <4400164.LvFx2qVVIh@kista> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jernej, On 5/31/22 10:22 AM, Jernej Škrabec wrote: > Dne torek, 31. maj 2022 ob 07:36:20 CEST je Samuel Holland napisal(a): >> I assume these properties came from a lack of documentation, and the >> very reasonable assumption that where there's a clock gate bit in the >> CCU, there's a reset bit. But the pin controllers are special and don't >> have a module reset line. The only way to reset the pin controller is to >> reset the whole VDD_SYS power domain. >> >> This series is preparation for converting the PRCM MFD and legacy clock >> drivers to a CCU clock/reset driver like all of the other Allwinner >> SoCs. I don't plan to add reset lines that don't actually exist to the >> new CCU driver. So we might as well get rid of the references now. >> Technically this breaks devicetree compatibility, since the old drivers >> expect the reset. But the CCU conversion will be a compatibility break >> anyway, so it's a bit of a moot point. > > If I understand correclty, this would cause only DT forward compatibility > issue, which happens now and then anyway. Kernel would still be compatible > with older DTs, it would just ignore that reset, right? Right, this only prevents older kernels from working with newer devicetrees. I brought it up because I'm generally trying to minimize how much we do that. Regards, Samuel