Message ID | 20180806173803.1601-11-jagan@amarulasolutions.com |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ntY2Zwnb"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41kljv5zMMz9rvt for <incoming@patchwork.ozlabs.org>; Tue, 7 Aug 2018 03:57:55 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8E1A5C21C2C; Mon, 6 Aug 2018 17:45:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id DA4AEC21F03; Mon, 6 Aug 2018 17:41:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 708EEC21ECC; Mon, 6 Aug 2018 17:41:47 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by lists.denx.de (Postfix) with ESMTPS id 7D07AC21EFC for <u-boot@lists.denx.de>; Mon, 6 Aug 2018 17:40:27 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id u24-v6so7184943pfn.13 for <u-boot@lists.denx.de>; Mon, 06 Aug 2018 10:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fpd9IhS+S6G4tfARWQuKWyqBtTyaQQlSjf/M64Ao3g0=; b=ntY2Zwnb8s2PWf/+wmCHkNF2Wwg6HbknzSnZEybpDMwLNa5LZruwqi+RsZqyNSU5Dc 9k60pCip0mPEtB9hA7RIzFKz4it309NtO0nA/0fh1L0BrIHxhZlB2wpV86oxazdmLL6T xyTspTOiEnShuJDPBBA0VfR/6xAvh9uOO2/a0= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fpd9IhS+S6G4tfARWQuKWyqBtTyaQQlSjf/M64Ao3g0=; b=gnZwLxYSy49yKhvutXPqhaJeZtdcA4bQMBho2OvMwc67fJZl2C1VeZZMzx4TwbR79a +bHFPXIPSZry2jqcL6pY/pRx2ARQ8h+tdSSh5qxGYZegz5jxBpnYP6tSLVgq+fsfwq6w lGQCzCxpNjWWsFaPsDj814YZekQFETaY8wU+cg41tRpPxu5yUMV6u1WHT3SaatX+lxIK rYb6q0uQQ5lSHo9vMNMBLE2OT9LtLpGOdeWj8n43H8xhFtSs97xhEgTqrZWb5TGJqoD2 gl6YtyyFNffy9bZfk+724YxKwrxccLli/339uQErsR8b16uLZ9tmhhiBqYVIEwRw3obh +xpQ== X-Gm-Message-State: AOUpUlHhN3DyheOHyJHBkrhJDseVLNstpfgqClO8QUQf4BOQhTX2o5z7 u0/d96JTjqCrSXiPUrm3Anjasg== X-Google-Smtp-Source: AAOMgpfUCFC7lDGp9fbegahTaPheWZxydwFANI/+sfEvibHaA7uOsgSIK1UTMYqUGt2lZdRie3kuXQ== X-Received: by 2002:a65:5cc5:: with SMTP id b5-v6mr15107868pgt.425.1533577226113; Mon, 06 Aug 2018 10:40:26 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:2080:8768:2916:9e52:43cc:7745]) by smtp.gmail.com with ESMTPSA id d81-v6sm22045880pfj.122.2018.08.06.10.40.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 10:40:25 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@bootlin.com>, Andre Przywara <andre.przywara@arm.com>, Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.io> Date: Mon, 6 Aug 2018 23:07:31 +0530 Message-Id: <20180806173803.1601-11-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20180806173803.1601-1-jagan@amarulasolutions.com> References: <20180806173803.1601-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Cc: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de Subject: [U-Boot] [PATCH 10/42] clk: sunxi: a23: Add CLK support for A33 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
clk: Add Allwinner CLK, RESET support
|
expand
|
diff --git a/drivers/clk/sunxi/Kconfig b/drivers/clk/sunxi/Kconfig index 54600e8e1f..38ff99d345 100644 --- a/drivers/clk/sunxi/Kconfig +++ b/drivers/clk/sunxi/Kconfig @@ -31,11 +31,11 @@ config CLK_SUN6I_A31 on Allwinner A31/A31s SoC. config CLK_SUN8I_A23 - bool "Clock driver for Allwinner A23" - default MACH_SUN8I_A23 + bool "Clock driver for Allwinner A23/A33" + default MACH_SUN8I_A23 || MACH_SUN8I_A33 help This enables common clock driver support for platforms based - on Allwinner A23 SoC. + on Allwinner A23/A33 SoC. config CLK_SUN8I_H3 bool "Clock driver for Allwinner H3/H5" diff --git a/drivers/clk/sunxi/clk_a23.c b/drivers/clk/sunxi/clk_a23.c index 8cd9d3a4bc..424e065a66 100644 --- a/drivers/clk/sunxi/clk_a23.c +++ b/drivers/clk/sunxi/clk_a23.c @@ -65,6 +65,8 @@ static int a23_clk_bind(struct udevice *dev) static const struct udevice_id a23_clk_ids[] = { { .compatible = "allwinner,sun8i-a23-ccu", .data = (ulong)&sun8i_a23_ccu_desc }, + { .compatible = "allwinner,sun8i-a33-ccu", + .data = (ulong)&sun8i_a23_ccu_desc }, { } };
A33 has separate clock driver in Linux because of few clock differences wrt to A23 like audio etc,. these may not useful for U-Boot so added a33 ccu compatible on existing a23 clock driver. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- drivers/clk/sunxi/Kconfig | 6 +++--- drivers/clk/sunxi/clk_a23.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-)