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 X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 457D0C4363A for ; Tue, 20 Oct 2020 15:04:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A9DAA21481 for ; Tue, 20 Oct 2020 15:04:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GR8DQbsX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="SYXXy70S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A9DAA21481 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JxQOy96jgFrXKFOdNm5EZkKZ56d/QqKem13lOFWm1Fw=; b=GR8DQbsX6ORoXVL7cDe8hIJJR y28yqgOLbZd5VxW+kczKy2kd518SJHYTcmjvFrBQucybe3UcJg/OLXUT3HtHXxeHsZuvOcTNEvWtE 6uf8ALEkrSrlVVrE1Piq2nzlxHEqhy+GP5NSXqe7NEZ/klSl9GDX+6Gpl+LXEKRohrhnA+c0GgoGe 8O/FjUe2BZcXOihi8+dfGD3DMT99j+z4cPby9KV88raqx+5HoaVdiGb06e1DzjD6/URLPFtwMolFZ qEpr6IbQDK4UZMbtu6CKF3xxFoXCvDHyVNZyeQzsgtwtUJF/vEOtf46IQXMlJdkahue7r4sA3c2g7 plcZ0aXQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUtAY-0002kG-Ux; Tue, 20 Oct 2020 15:03:22 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUtAV-0002iY-TC for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2020 15:03:21 +0000 Received: by mail-pl1-x644.google.com with SMTP id bf6so1167701plb.4 for ; Tue, 20 Oct 2020 08:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DQj1vw5Q5iR2S7fc6h8mk0PeFNHHD7EB9QXujK3XyAc=; b=SYXXy70SGU+w+Up3SIREVdDig4z3khzULIce0mBbhmnDDMBwGIY8e57/XVbn+4zyRu kGiac/dMzNw60LTFL16pTuu2/+iN/FczvCKNOP8CJyKJYw6b94zu6g8WLjr4MQvUcEVu 0Io3AugrfnfijxcP+4n4wBYePyUM13QYYFyC1IVaN3i65sUK+w6dFSg8KJxyu/SVKGJ/ uerRL29ngMdh9HudoUd/uOL44dQDstfrcLEqvm02WXmfIjZV5onSDhvb0QPV2Z3jcyln 2LS1MRlUdW+RG8oe+icX40OIpiB8AlpeFyDxpppTf+xdWE6iOgCNoKFaM4mzLsBXLCIq wn7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=DQj1vw5Q5iR2S7fc6h8mk0PeFNHHD7EB9QXujK3XyAc=; b=dycU3T/DKG8/teeEG4/dbmzRaSlOk7E+LW8RG249qLtdsXrYK+JDAv1IaTJ4v4GZld ckvY1PgXOUcJZRyMMVfYkuqFA7ROj16PPe4axpjYDIYPDEfgjYMig7t/pSU4yF6U+u/f shEe3viBLUv6dfRHVDGSQfdtHrFo5JOP0+p6IR4G/wgbFOuWfrrOzXLNYQUaf7NkKcjr Up+wbCOulkvOOMrC98WAq1SN7ta1JEA7TkUC/rwXh3eC7S0Cwweqc1yV+y7cX/JmV7W5 r0CRtlaV4mJrVyEzI2Tu8yjqo5jcnq6+KagJahuGljJWHq7SV0KxcVqMIrcmNi6sgJnj ZSlQ== X-Gm-Message-State: AOAM532RAhy5NP6rux0PWOIHHrzMCvS+RMl/jBedpsfcSOUKul8ckRzt 89kuXGM1KtL1jUAezQ1L6OBNGQ== X-Google-Smtp-Source: ABdhPJw47uzkbIxu8PDHL9D6AYEnUNBuYPrgkQ4Elau8tT01n2rh08OpwhViQ8uNYXwxXSAbjj1flg== X-Received: by 2002:a17:902:8a97:b029:d4:d3f4:d209 with SMTP id p23-20020a1709028a97b02900d4d3f4d209mr3361281plo.35.1603206197714; Tue, 20 Oct 2020 08:03:17 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id v3sm2275686pfu.165.2020.10.20.08.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 08:03:17 -0700 (PDT) From: Kevin Hilman To: Jerome Brunet , Catalin Marinas , Will Deacon Subject: Re: [PATCH] arm64: meson: ship only the necessary clock controllers In-Reply-To: <20201020075034.172825-1-jbrunet@baylibre.com> References: <20201020075034.172825-1-jbrunet@baylibre.com> Date: Tue, 20 Oct 2020 08:03:16 -0700 Message-ID: <7hblgxkki3.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201020_110319_998254_6D647341 X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Jerome Brunet writes: > There now the menu entries for the amlogic clock controllers. > Do not select these when ARM64 is enabled so it possible to ship only the > required. > > Signed-off-by: Jerome Brunet > --- > arch/arm64/Kconfig.platforms | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index cd58f8495c45..b22d1bdd6eb6 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -154,9 +154,6 @@ config ARCH_MESON > bool "Amlogic Platforms" > select PINCTRL > select PINCTRL_MESON > - select COMMON_CLK_GXBB > - select COMMON_CLK_AXG > - select COMMON_CLK_G12A This patch alone will break boot when using the default, upstream defconfig because these options will all now be disabled and we'll have no clock providers. I think you also need a default value (e.g. `default y`) in drivers/clk/meson/Kconfig for each of these entries to keep the same defaults. But these defaults could be overridden by SoC-specific defconfigs leading to more flexibilty. So, assuming you queue up a drivers/clk patch to go in when this lands... Acked-by: Kevin Hilman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel