Message ID | 20180716112850.3961-28-jagan@amarulasolutions.com |
---|---|
State | RFC |
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="kP8ikpqy"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41ThZr4fFvz9s29 for <incoming@patchwork.ozlabs.org>; Mon, 16 Jul 2018 21:51:32 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 52A38C2213D; Mon, 16 Jul 2018 11:42:07 +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_H2, 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 9C5B3C221A4; Mon, 16 Jul 2018 11:31:26 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7B474C22132; Mon, 16 Jul 2018 11:30:29 +0000 (UTC) Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by lists.denx.de (Postfix) with ESMTPS id 9008AC220EC for <u-boot@lists.denx.de>; Mon, 16 Jul 2018 11:30:16 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id k21-v6so1239638pff.11 for <u-boot@lists.denx.de>; Mon, 16 Jul 2018 04:30:16 -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; bh=Fy1FUYCtxmIDgjd2kiOJUjOy0PkpLzsjSffv1nfREw8=; b=kP8ikpqyKcdvNeV0Hi9fFalCV+2UO71l7ShPCEmhObp+os10v63KcLyVphPWfvpiEy ZFXuajxzvP3tUPj/zg1b+8nbsoAj9XNeRGQipr6QC6dtr+ycLZ453dNG1/ToiTBSUFrf ZYgodu6481NcCgkmEk2KEriWH5mQkgUanyiPs= 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; bh=Fy1FUYCtxmIDgjd2kiOJUjOy0PkpLzsjSffv1nfREw8=; b=SHNxqKPc9l5hwoyjI/fqt9HK9JXkAOBifqhU0lpZwdzu2ktIUN3/m8gmgD89kIMQfL iujySsPgFTACFfGUrT/rQIygIqV4otGC0p6d8XpYNGBsV7h3unmhaPUp7m6W/pj36c3u Tggz/TZS27/k5tjiwsOeRgjrwNiLnAhDvPLWKIVdbvlXpqRiX1QqYSl00tGZ5dIcnc0q lA+4HKUsVj/aFCqBM7qkn6MkLy8Ido3gqZwEKKZrT5HrkqNj7tklwJlVKJcJEW8Tbr9I Ztsn9DobiK0GE9XGPcVFHnz6MlV16CaZA/nyyPH+HwhEKZIr0Ovb0O7Q22vjpZA+0rJU NknA== X-Gm-Message-State: AOUpUlHedaSHHPSgjuEYH8fHoa6jY/KyeReRjkgJshnkL1gKxBjAhQzb Klvo/DHP7CWYsIVpfHbPIHtxYw== X-Google-Smtp-Source: AAOMgpfARBGoVwr2w1yvX4dFZUgbjhDlldENhW0wuajfVGRQdWAtf3QRCGPLgSky0OygmSfEjlowyQ== X-Received: by 2002:a63:4506:: with SMTP id s6-v6mr15578142pga.422.1531740615192; Mon, 16 Jul 2018 04:30:15 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.161]) by smtp.gmail.com with ESMTPSA id u9-v6sm20817464pfi.4.2018.07.16.04.30.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jul 2018 04:30:14 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@bootlin.com>, Andre Przywara <andre.przywara@arm.com> Date: Mon, 16 Jul 2018 16:58:42 +0530 Message-Id: <20180716112850.3961-28-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180716112850.3961-1-jagan@amarulasolutions.com> References: <20180716112850.3961-1-jagan@amarulasolutions.com> Cc: Tom Rini <trini@konsulko.com>, u-boot@lists.denx.de Subject: [U-Boot] [RFC 27/35] 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> MIME-Version: 1.0 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 |
sunxi: Add initial CLK, RESET support
|
expand
|
diff --git a/drivers/clk/sunxi/Kconfig b/drivers/clk/sunxi/Kconfig index 5f65c9ed44..40c6f999ca 100644 --- a/drivers/clk/sunxi/Kconfig +++ b/drivers/clk/sunxi/Kconfig @@ -30,11 +30,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 71f7447ea3..84def883f1 100644 --- a/drivers/clk/sunxi/clk_a23.c +++ b/drivers/clk/sunxi/clk_a23.c @@ -97,6 +97,7 @@ static int a23_clk_ofdata_to_platdata(struct udevice *dev) static const struct udevice_id a23_clk_ids[] = { { .compatible = "allwinner,sun8i-a23-ccu" }, + { .compatible = "allwinner,sun8i-a33-ccu" }, { } };
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 | 1 + 2 files changed, 4 insertions(+), 3 deletions(-)