From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759429AbbJ3Qdh (ORCPT ); Fri, 30 Oct 2015 12:33:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51936 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbbJ3Qdf (ORCPT ); Fri, 30 Oct 2015 12:33:35 -0400 Subject: Re: [PATCH 06/19] clk: sunxi: Add Allwinner R8 AHB gates support To: Chen-Yu Tsai , Maxime Ripard References: <1446214865-3972-1-git-send-email-maxime.ripard@free-electrons.com> <1446214865-3972-7-git-send-email-maxime.ripard@free-electrons.com> Cc: Mike Turquette , Stephen Boyd , David Airlie , Thierry Reding , devicetree , linux-arm-kernel , linux-kernel , linux-clk , dri-devel , linux-sunxi , Laurent Pinchart , Alexander Kaplan , Wynter Woods , Boris Brezillon , Thomas Petazzoni , Rob Clark , Daniel Vetter From: Hans de Goede Message-ID: <56339BD2.9010001@redhat.com> Date: Fri, 30 Oct 2015 17:33:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 30-10-15 17:01, Chen-Yu Tsai wrote: > On Fri, Oct 30, 2015 at 10:20 PM, Maxime Ripard > wrote: >> The R8 has yet another array of gates for AHB. Let's add it to the list of >> compatibles we can deal with. >> >> Signed-off-by: Maxime Ripard >> --- >> drivers/clk/sunxi/clk-simple-gates.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/clk/sunxi/clk-simple-gates.c b/drivers/clk/sunxi/clk-simple-gates.c >> index 5666c767fa14..e3190a8687a8 100644 >> --- a/drivers/clk/sunxi/clk-simple-gates.c >> +++ b/drivers/clk/sunxi/clk-simple-gates.c >> @@ -158,5 +158,7 @@ CLK_OF_DECLARE(sun5i_a10s_ahb, "allwinner,sun5i-a10s-ahb-gates-clk", >> sun4i_a10_ahb_init); >> CLK_OF_DECLARE(sun5i_a13_ahb, "allwinner,sun5i-a13-ahb-gates-clk", >> sun4i_a10_ahb_init); >> +CLK_OF_DECLARE(sun5i_r8_ahb, "allwinner,sun5i-r8-ahb-gates-clk", >> + sun4i_a10_ahb_init); >> CLK_OF_DECLARE(sun7i_a20_ahb, "allwinner,sun7i-a20-ahb-gates-clk", >> sun4i_a10_ahb_init); >> -- >> 2.6.2 >> > > Please also update Documentation/devicetree/bindings/clock/sunxi.txt > > Otherwise, > > Acked-by: Chen-Yu Tsai I wonder if this patch really is a good idea. We've confirmation from Allwinner that all of the sun5i SoCs are using the same die. Sure some peripherals are not connected to the outside but it is still the same die. This patch feels to me like it just grows the kernel and dts size without serving any purpose. Regards, Hans