From patchwork Wed Apr 1 07:19:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 1265053 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=T6eQih/S; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48sd1N4w6Xz9sR4 for ; Wed, 1 Apr 2020 18:22:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF6F181957; Wed, 1 Apr 2020 09:21:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="T6eQih/S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3FD3C81904; Wed, 1 Apr 2020 09:20:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7366081944 for ; Wed, 1 Apr 2020 09:20:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=amittomer25@gmail.com Received: by mail-pl1-x644.google.com with SMTP id c12so6424526plz.2 for ; Wed, 01 Apr 2020 00:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1uzygeL8aCPpC4YeBymrt7d0Dw+TtKopZUl+4xiNJeE=; b=T6eQih/SIZIwuPGGKCZ+F87egN8sXG4mPBGvy4yW8S6CukMfNKDLZj94UB1luC6wRS Rk09JJseveJmHJWkPygOMusowDAp35kEJ9Hhu67PVzvo+DEISRtrRY4YjMElZJhjP48n SzaETdQ1B/X4eQu5I9r1sv4ZeXuyK27snJtbPkSIXwa+mZnMIB9HJmnVirqOBQ3imd4A Xq+HSF1hfTa4W29OSLXlsIQVVKqivftxX31Tapu7bc//QmHtBnFVzM6KgMHLgDYtupRj yGWUli1v2EgmKGLykBeHorSToWsgMA2f1J7w7NVJr9ZwA3HRTmsBQtF7x1BVHP6etuUb Weng== 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=1uzygeL8aCPpC4YeBymrt7d0Dw+TtKopZUl+4xiNJeE=; b=ml4rtMtv0AFbXgadpXkLkIbv1prutbQ+x14LdWhdC+Iv2YaoWgc+a4DxnCo/vMtVHC 1jcwQih0xKT/yXNmQ2zcLW4bQEYpLI50nBaut5CxTogJjdJVzoZi+67po15y/2M7vwnS 8oDJjqTNkes08MSExqGawpwAr5LPXZZ5UofVEiFP0+4tR34gxEjly9ELMOGfW0edm7ag czD5l1bjV6/wcG1aqoDJmkea6kzVwdwzHu9PxpDlH8GCK8L/ulO2ZIxm02QzyEPmELpe A2oDNFIfaNmVExDzT3ZbDXJ16UyxaB1wUklIDXM6GrcANcAdDB6bUod26IHda3tTQsex +7Vg== X-Gm-Message-State: AGi0PubuLlWRxzTy7ztNIAL0tdasRLdJJSfI48vfGRaTcudNBA2qXEN0 FxksNraDOXdIcI/q3RvfMO82tf8M X-Google-Smtp-Source: APiQypK0UJNRjtg6mXmTtt2EGoRfj5xWgAiUtB8oO95qMa4KUoM1QK0nFiKgY1XmXscb2bB648wdrw== X-Received: by 2002:a17:90a:d350:: with SMTP id i16mr3127666pjx.121.1585725645196; Wed, 01 Apr 2020 00:20:45 -0700 (PDT) Received: from localhost.localdomain ([106.215.56.147]) by smtp.gmail.com with ESMTPSA id b11sm886232pjc.27.2020.04.01.00.20.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2020 00:20:44 -0700 (PDT) From: Amit Singh Tomar To: u-boot@lists.denx.de Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org, trini@konsulko.com, Amit Singh Tomar Subject: [PATCH v9 09/12] arm: add support Actions Semi S700 Date: Wed, 1 Apr 2020 12:49:32 +0530 Message-Id: <1585725575-8050-10-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1585725575-8050-1-git-send-email-amittomer25@gmail.com> References: <1585725575-8050-1-git-send-email-amittomer25@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean This patch adds basic support for Actions Semi based S700 SoC, which is driven by common owl framework. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar Reviewed-by: Manivannan Sadhasivam --- Changes since v8: * Added Reviewed-by tag. Changes since v7: * Removed S700 include file. Changes since v6: * No changes. Changes since v5: * Added reviewed-by tag. Changes since v4: * Moved it to 09/11 to 04/11. Changes since v3: * Added "SoC" keyword to Actions Semi S700. Changes since v2: * Fixed the commit message. * Checked for the clk->id. * Added a .data member with SoC type. * Removed #ifdefs from few places. Changes since v1: * Moved CLK and CLK_OWL symbols from defconfig to arch/arm/Kconfig. --- arch/arm/mach-owl/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-owl/Kconfig b/arch/arm/mach-owl/Kconfig index 28984c1..cde2ade 100644 --- a/arch/arm/mach-owl/Kconfig +++ b/arch/arm/mach-owl/Kconfig @@ -8,6 +8,10 @@ config MACH_S900 bool "Actions Semi S900 SoC" select ARM64 +config MACH_S700 + bool "Actions Semi S700 SoC" + select ARM64 + endchoice config SYS_TEXT_BASE @@ -18,5 +22,6 @@ config SYS_CONFIG_NAME config SYS_SOC default "s900" if MACH_S900 + default "s700" if MACH_S700 endif