Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32104994rwd; Fri, 7 Jul 2023 08:45:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlErpOz1jwOKkfbQxj+dIHJhHRW8vfg5j4B0Rmc6+XT0cn5AfWV3cp6QQYaEDaw/J6E25+1m X-Received: by 2002:a19:790f:0:b0:4fa:5255:4fa3 with SMTP id u15-20020a19790f000000b004fa52554fa3mr3734177lfc.5.1688744742080; Fri, 07 Jul 2023 08:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688744742; cv=none; d=google.com; s=arc-20160816; b=pCf5rqjcD1KiD8+Ara7kF85k6B1GtjPP3wn9Xg8mtCE8X76JSL8FY1ywJZJYkutaXC xJcxyjbphVUH9DsvFqoh/cu95GCwUOaCYKJdKsao3kO+u03+HZtPT6A45Rive2p6lH+j hRgqFzQzFi337QQlRAQ8XpPhJwe0Ik6hYZofDo8XQr3qEeOHSIWRH59VvYmW3zqB3us2 FWyLFIkcIDIZC2/KjZ5jqKeDWGIsTMyj0UxHO87DAt5KC1tvuHXw4AikcMY0aBvwQYPc QzfVf0J0PnyoEHBU8JsJVdpYpkBfkTXlW2L6bHiNip9f9Kxwg7XVqAF1RgXJYtqT3Kfa +6Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gnLS0Wao9ThqAGg0W4sBazXmd57YpvJvSzmwB021jgg=; fh=tDcFIErutTEyQyg3J5szufceI5sp1b9Z4/0mGtmlgoA=; b=gWSW5VKPJwBbaeojg44RXuE1ggHn4LFWaiM8bxXeEzuJJqjo8q++QltbM0OULk/+pq 6fauOpDuAcV/qyhBZl0CONGRx8ME6HpVPKMqa+t9sJ0quxdXVXDrI37qc0V+fGDVI/tM Z3Gc+p9sWg5J3p/RSZRRhJMucwmFzAvfiTEYzPgS2R/wB+qCv08cekNbKhE7U0YiGbgj qrz9kKBon6ZLmYk/W2xrCnopIRrgSFEtAwukohcWtEYCYRuhEaGFdKcPdunABoOBW3Ja mZw7ytSeeKOM7mm6HNPkGQ1+WsOF8ATyYby/J+e7muF72qi9nnvATgkTIdmJAw8XWgPi GLjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FA2TEkZv; 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 n15-20020aa7db4f000000b0051e285a01b9si2448762edt.458.2023.07.07.08.45.11; Fri, 07 Jul 2023 08:45:42 -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=FA2TEkZv; 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 S232439AbjGGP2d (ORCPT + 99 others); Fri, 7 Jul 2023 11:28:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232906AbjGGP20 (ORCPT ); Fri, 7 Jul 2023 11:28:26 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE72268D for ; Fri, 7 Jul 2023 08:28:16 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-c5cf26e9669so2168313276.0 for ; Fri, 07 Jul 2023 08:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688743696; x=1691335696; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gnLS0Wao9ThqAGg0W4sBazXmd57YpvJvSzmwB021jgg=; b=FA2TEkZv8EY4Szah0xhT0+hqQRy4ca0eQnWQm1xQthfJliJvWxXWUHZQBGrEQs7+pR 2gkpvvv21s4uMoUipIV1WP6sok9AqahJMiuy6RmoRmajUsllBMW/9WtEwvlzJjmhMwVY clk7U4uDUPBEDlGGznkLYiT3uq8UN2ZQGFetRntXE0nowP5XydPpo+IcmOEUdQKfydV7 lKCG5Si0ZssgQt1sLIUmuearc4vXTS07EgdXmY2WBdgFNiY3SMdp9OdVTkZeJnfaW/DC Waw5ISyqKNLoldOJTzLvmEwpD+kXMbaKAeNakvgDCzPXrJjf05y6TPSTOwNtcKNpKp+S CXig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688743696; x=1691335696; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gnLS0Wao9ThqAGg0W4sBazXmd57YpvJvSzmwB021jgg=; b=kXoDxxZNKaIbYwI1rs5R0fHCYhaGdh4jTCWUtQFbgQVOzewBKJeW7o7u7nTzVD9GqR dTI9v8sYpsrgyJek+fEzRj6grn6TB6mKU/kCiVf6PD83//sZ4DpYVIPS7lok9l2qPJL4 Z2JyiIGSAHID8NLRoN3M1gmEV6yScF6PFZtHgTZtg1mB0YqzaMb2taQzy+weCu9i2nOB +ovejcpCuGPHL+b50ql7xGfOFTzeq9UxbHzw3cVTbsjJ8vszcfgBb4Jhkr8hKyY/pTW2 CWa+zbtVDMSscMhndc9x2ngmoMZx9ZnVKOZ4OEl3w8aEGMGmP4U/Qi4MIjieWIfv9szM yYhg== X-Gm-Message-State: ABy/qLZkqqbDklns+gOf4hKJ7MZt0QFyJ1TH5YaR0eFrYmodCphLfIuQ GubO08w2O2MbYYwu4lo1fQZ+o4/jvcvTJLwFj4RBNA== X-Received: by 2002:a25:3d85:0:b0:be6:7314:19d5 with SMTP id k127-20020a253d85000000b00be6731419d5mr5045966yba.23.1688743695755; Fri, 07 Jul 2023 08:28:15 -0700 (PDT) MIME-Version: 1.0 References: <20230707140434.723349-1-ulf.hansson@linaro.org> <20230707140434.723349-4-ulf.hansson@linaro.org> <0c8938a9-7a26-bf97-51ee-0c271901ec21@linaro.org> <1496b9c1-289a-c354-f0ae-e14fd4c9bcfa@linaro.org> In-Reply-To: <1496b9c1-289a-c354-f0ae-e14fd4c9bcfa@linaro.org> From: Ulf Hansson Date: Fri, 7 Jul 2023 17:27:39 +0200 Message-ID: Subject: Re: [PATCH 03/18] soc: amlogic: Move power-domain drivers to the genpd dir To: neil.armstrong@linaro.org Cc: Arnd Bergmann , Olof Johansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org 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,RCVD_IN_DNSWL_NONE, 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 Fri, 7 Jul 2023 at 17:12, wrote: > > On 07/07/2023 16:54, Ulf Hansson wrote: > > On Fri, 7 Jul 2023 at 16:42, Neil Armstrong wrote: > >> > >> Hi, > >> > >> On 07/07/2023 16:04, Ulf Hansson wrote: > >>> Cc: Neil Armstrong > >>> Cc: Kevin Hilman > >>> Cc: Jerome Brunet > >>> Cc: Martin Blumenstingl > >>> Cc: > >>> Signed-off-by: Ulf Hansson > >>> --- > >>> MAINTAINERS | 1 + > >>> drivers/genpd/Makefile | 1 + > >>> drivers/genpd/amlogic/Makefile | 4 ++++ > >>> drivers/{soc => genpd}/amlogic/meson-ee-pwrc.c | 0 > >>> drivers/{soc => genpd}/amlogic/meson-gx-pwrc-vpu.c | 0 > >>> drivers/{soc => genpd}/amlogic/meson-secure-pwrc.c | 0 > >>> drivers/soc/Makefile | 1 - > >>> drivers/soc/amlogic/Makefile | 3 --- > >>> 8 files changed, 6 insertions(+), 4 deletions(-) > >>> create mode 100644 drivers/genpd/amlogic/Makefile > >>> rename drivers/{soc => genpd}/amlogic/meson-ee-pwrc.c (100%) > >>> rename drivers/{soc => genpd}/amlogic/meson-gx-pwrc-vpu.c (100%) > >>> rename drivers/{soc => genpd}/amlogic/meson-secure-pwrc.c (100%) > >>> > >>> diff --git a/MAINTAINERS b/MAINTAINERS > >>> index 588769fab516..9b8c9ae2375d 100644 > >>> --- a/MAINTAINERS > >>> +++ b/MAINTAINERS > >>> @@ -1843,6 +1843,7 @@ F: Documentation/devicetree/bindings/phy/amlogic* > >>> F: arch/arm/boot/dts/amlogic/ > >>> F: arch/arm/mach-meson/ > >>> F: arch/arm64/boot/dts/amlogic/ > >>> +F: drivers/genpd/amlogic/ > >>> F: drivers/mmc/host/meson* > >>> F: drivers/phy/amlogic/ > >>> F: drivers/pinctrl/meson/ > >>> diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile > >>> index a2d5b2095915..cdba3b9f0c75 100644 > >>> --- a/drivers/genpd/Makefile > >>> +++ b/drivers/genpd/Makefile > >>> @@ -1,2 +1,3 @@ > >>> # SPDX-License-Identifier: GPL-2.0-only > >>> obj-y += actions/ > >>> +obj-y += amlogic/ > >>> diff --git a/drivers/genpd/amlogic/Makefile b/drivers/genpd/amlogic/Makefile > >>> new file mode 100644 > >>> index 000000000000..3d58abd574f9 > >>> --- /dev/null > >>> +++ b/drivers/genpd/amlogic/Makefile > >>> @@ -0,0 +1,4 @@ > >>> +# SPDX-License-Identifier: GPL-2.0-only > >>> +obj-$(CONFIG_MESON_GX_PM_DOMAINS) += meson-gx-pwrc-vpu.o > >>> +obj-$(CONFIG_MESON_EE_PM_DOMAINS) += meson-ee-pwrc.o > >>> +obj-$(CONFIG_MESON_SECURE_PM_DOMAINS) += meson-secure-pwrc.o > >>> diff --git a/drivers/soc/amlogic/meson-ee-pwrc.c b/drivers/genpd/amlogic/meson-ee-pwrc.c > >>> similarity index 100% > >>> rename from drivers/soc/amlogic/meson-ee-pwrc.c > >>> rename to drivers/genpd/amlogic/meson-ee-pwrc.c > >>> diff --git a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c b/drivers/genpd/amlogic/meson-gx-pwrc-vpu.c > >>> similarity index 100% > >>> rename from drivers/soc/amlogic/meson-gx-pwrc-vpu.c > >>> rename to drivers/genpd/amlogic/meson-gx-pwrc-vpu.c > >>> diff --git a/drivers/soc/amlogic/meson-secure-pwrc.c b/drivers/genpd/amlogic/meson-secure-pwrc.c > >>> similarity index 100% > >>> rename from drivers/soc/amlogic/meson-secure-pwrc.c > >>> rename to drivers/genpd/amlogic/meson-secure-pwrc.c > >>> diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile > >>> index 3b0f9fb3b5c8..dc93e1762ca7 100644 > >>> --- a/drivers/soc/Makefile > >>> +++ b/drivers/soc/Makefile > >>> @@ -23,7 +23,6 @@ obj-y += mediatek/ > >>> obj-y += microchip/ > >>> obj-y += nuvoton/ > >>> obj-y += pxa/ > >>> -obj-y += amlogic/ > >>> obj-y += qcom/ > >>> obj-y += renesas/ > >>> obj-y += rockchip/ > >>> diff --git a/drivers/soc/amlogic/Makefile b/drivers/soc/amlogic/Makefile > >>> index 7b8c5d323f5c..c25f835e6a26 100644 > >>> --- a/drivers/soc/amlogic/Makefile > >>> +++ b/drivers/soc/amlogic/Makefile > >>> @@ -2,7 +2,4 @@ > >>> obj-$(CONFIG_MESON_CANVAS) += meson-canvas.o > >>> obj-$(CONFIG_MESON_CLK_MEASURE) += meson-clk-measure.o > >>> obj-$(CONFIG_MESON_GX_SOCINFO) += meson-gx-socinfo.o > >>> -obj-$(CONFIG_MESON_GX_PM_DOMAINS) += meson-gx-pwrc-vpu.o > >>> obj-$(CONFIG_MESON_MX_SOCINFO) += meson-mx-socinfo.o > >>> -obj-$(CONFIG_MESON_EE_PM_DOMAINS) += meson-ee-pwrc.o > >>> -obj-$(CONFIG_MESON_SECURE_PM_DOMAINS) += meson-secure-pwrc.o > >> > >> I've a few changes for v6.6, how shall we handle that ? > > > > I think we should continue to use the soc tree until v6.6-rc1 (or if > > Arnd have some other ideas), there are some more thoughts around this > > in the cover letter. > > > > Beyond v6.6-rc1 I plan to help with maintenance in practice and run > > my own separate git tree. > > If it helps I can send you a PR with only the pwrc changes you can merge > before applying this serie. Right, that could be a good idea, but let's defer to Arnd before we agree on the way forward. Kind regards Uffe