Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp285795lqt; Mon, 18 Mar 2024 07:54:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWt9/9uGORXwmHYjdooI67MC7oTqTbO7mqO0Ia4019s7u0MIebb564crU/mjhfPDYc5Gb1REXvoTDwQaekuRu7UTWDgrLEOvAjFT1/saA== X-Google-Smtp-Source: AGHT+IEn7gStgJRyoUz+YIXzS3kxIGsbaXIuN7XUewS+vVr/EMy2di89GbCfYcIH5BZwZ18cgj00 X-Received: by 2002:a05:6358:d596:b0:179:272e:54c6 with SMTP id ms22-20020a056358d59600b00179272e54c6mr12136720rwb.25.1710773674249; Mon, 18 Mar 2024 07:54:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710773674; cv=pass; d=google.com; s=arc-20160816; b=XcF0a+c8h49CyPLXkvJNFvQEOMTNrF2UcQwQZqRHtiiIRQrD8sZwjGOZSf8PDI/O2C 3JA+Gze/lNwlPnTPIMCrL4sE59efKN6ayrM6JGngbITpJbOVK0W7WD17dtpS2LReIIK5 OdEmS20s2XctHvR2jsJQdiGZgMKXmWjdP+pP3+eY9iEg4TthFgvmYknxI/LcPyaISDGW 0RA65eLKr1F6qpeRhAHGVUbKNjzsLRT6P71LzWUdUvD6nnegKFWSxLmxEFcQHrXW406F 6IDs/nWBbuHxRL6GqYgZU2qfMqCbUqQBHwCn03cIEc0BaRWB2B5XGkl+/kAwrgi8KBBq SyBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=piECIVqDAax8+io2qKdghHkBybNCyJ8B/KLG4k05OCA=; fh=lBf7/UBbUn+cAfGIci81SZvgbGVX2iUUr3obR+DZTCk=; b=xisyXrcFUhc5neZnXkTDzvp6emc5U3a2W+MN+4aeT32IeOTjp381aiHq6AtW4dSb5E uMlwrz8oQ6JntCmD4CZIY3zQfFEx1b6jPJzJGvo0Ig73zWMQ5kU3IEObGYE3xGqo38DH SU3UrWTczW5hGX4f53e+Muk1J973U0hLDpevRyqbFL41tA+BeevutHYq0UFCq079rzy0 5tMYvTyTZ7S3pESRBDu6l25Smlzd8r9HnY2n0oapVwj0kPLTErV2poBuqgg+xxBMO3C8 MtfW2SHZNm6hBu6o/XAfYvxIL6YVrXREV4uqLZNWhdoNKgIx0uLQXjbyb6jQW7S6zNPc 2PdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CdxMXb2i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106252-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106252-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q17-20020a632a11000000b005e84e725502si777215pgq.637.2024.03.18.07.54.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 07:54:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106252-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CdxMXb2i; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106252-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106252-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E420E28235A for ; Mon, 18 Mar 2024 14:54:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 798864EB39; Mon, 18 Mar 2024 14:54:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CdxMXb2i" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9870D2C6B7; Mon, 18 Mar 2024 14:54:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710773666; cv=none; b=JD4DmvmcD6jMjHs2RpUbqT/xAp1P73pUjSLoxRoHUDNJP7FSYHRs57+gPNTsGLXfgmVAbZf70/J80R0+N/MiLKDDvxu5fjjx0Qxh525W76GHoX+8hP+iPhWnjis09lcNbfBdNPMLRxKCmJDsAwVFfgfBKqjL4Q7ee7JWjUyjpr8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710773666; c=relaxed/simple; bh=ywjXIx6HmklPsjIr1i1IzyaHa8odZGdCDM27OSINcmM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ctbxpUvm2bAH26FndHjEHPLkPr4hk4NWsdzmYdAT1cGutYQM7P9FyIkiNFzS+DGvqqOUvB61OO4qE/44u6eZQ3RAZu4K4GsSKlu+IiXhC7jsChOCD6E1kd0lpkiTWkIv/iDbSRRF1a5eE1sv52zIHfOF6ByEvLybqj1PV+G0kvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CdxMXb2i; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D660CC433F1; Mon, 18 Mar 2024 14:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710773666; bh=ywjXIx6HmklPsjIr1i1IzyaHa8odZGdCDM27OSINcmM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CdxMXb2iz+7JsM/SUAYZYz1a0za5xAhxZOCC3lmz+q98zXps0G46eAz43LPzBoHsn 67j2U2E6WOpFWw9gsmMa4RPICEsQH7XpodOIBhZfCOPZRDZQrlL4oFPQatyssd2sPw BH/mzt6eQXw1JFkZzOkzubzdLiWh2/M7CM+Ka8ye+662wrxuwr8SCxxrygrKl4Gsg1 /G3P/Ru1sNH+HD/YJe0O9YGY2xeuCbVL8NqM/64UstD292013btVgoFU+JyBbJQyZB HorS0tvkqpI3CtDmcIzAMY3ZbVd907Gnr7iPnj4t/Cq6r+usfMMJRdpoVPAfltgbVS cQDML6T2f56HA== Date: Mon, 18 Mar 2024 09:54:23 -0500 From: Rob Herring To: Lucas Tanure Cc: Xianwei Zhao , Yu Tu , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [RFC][PATCH 1/2] clk: meson: T7: add support for Amlogic T7 SoC PLL clock driver Message-ID: <20240318145423.GA3993342-robh@kernel.org> References: <20240318114346.112935-1-tanure@linux.com> <20240318114346.112935-2-tanure@linux.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240318114346.112935-2-tanure@linux.com> On Mon, Mar 18, 2024 at 11:43:45AM +0000, Lucas Tanure wrote: > Add the T7 PLL clock controller driver in the T7 SoC family. > > This is RFC patch that enables SDCard, Ethernet and Clocking > for Amlogic T7 soc. > In this current state the patch doesn't work and gives a kernel > panic when probing the meson-axg-mmc for the SDCard. > DO NOT MERGE. > > Signed-off-by: Lucas Tanure > --- > drivers/clk/meson/Kconfig | 25 + > drivers/clk/meson/Makefile | 2 + > drivers/clk/meson/t7-peripherals.c | 6368 +++++++++++++++++ > drivers/clk/meson/t7-peripherals.h | 131 + > drivers/clk/meson/t7-pll.c | 1543 ++++ > drivers/clk/meson/t7-pll.h | 83 + > .../clock/amlogic,t7-peripherals-clkc.h | 410 ++ > .../dt-bindings/clock/amlogic,t7-pll-clkc.h | 69 + > 8 files changed, 8631 insertions(+) > create mode 100644 drivers/clk/meson/t7-peripherals.c > create mode 100644 drivers/clk/meson/t7-peripherals.h > create mode 100644 drivers/clk/meson/t7-pll.c > create mode 100644 drivers/clk/meson/t7-pll.h > create mode 100644 include/dt-bindings/clock/amlogic,t7-peripherals-clkc.h > create mode 100644 include/dt-bindings/clock/amlogic,t7-pll-clkc.h I'm assuming since this is an RFC you know these go in a separate patch with the DT binding schema which is missing. Rob