From patchwork Wed Nov 21 18:30:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mesih Kilinc X-Patchwork-Id: 10693027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B60AC5A4 for ; Wed, 21 Nov 2018 18:44:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A31462BC90 for ; Wed, 21 Nov 2018 18:44:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 973122BD2E; Wed, 21 Nov 2018 18:44:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4D4992C0A1 for ; Wed, 21 Nov 2018 18:44:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Z9J4NZngyfzyAIJOnP1GOZntdYzS5wkZfEfTG4o6Hb4=; b=AQNedwuWRWtBjejtzhs+JSK+lN bMhFmrzxgJeHond5hmUQWlkAvGQJSb4Opw626fVwRAYnoobm3xA+WC3Ujn/qjx0sgctukj8ZYGEMc cEbIZY0TkDmvw4rRm714BaYwVnHBgsUbOWvsEnxIhDpbExE5zKROKxK3FCiU1sLR1R1Hrt7XNF2F+ g1OdCG2fxyQ6UgZcXwCgjCf7/MdRsbLihYoqF0kXP9aHQLNoKonB3s59edwAQat1YVSD4Zncw00QI /SClX5Y+54YSM1aRBOcB2QFNCfxybR8yixaB23VhR7MVk+MaarlaA9W5T3bJtHIhJkcdxOI9bloHW iwQRmOxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPXUZ-0000x0-O8; Wed, 21 Nov 2018 18:44:51 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPXIQ-00021g-Mk for linux-arm-kernel@lists.infradead.org; Wed, 21 Nov 2018 18:32:49 +0000 Received: by mail-wm1-x344.google.com with SMTP id w7-v6so6515847wmc.1 for ; Wed, 21 Nov 2018 10:32:08 -0800 (PST) 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=DFY3DydABVbR33exQJlwKtWgpi3dRu2TYxEKXuiiXVU=; b=ZDV3GiDUMApGuzeTfxHv7lhlySgjpPxSE3KBoB0KaT9T8OBVMRKPtkUDH0NIWTF1cY izeDlsnY3Ggyfp8jJEMeXnMBYNSYDkG3BPBJWfPq4VcCH17e6M2+gp32CBN4qiM+efqM Wvv9icmxUUyevTmRHuN0TrAjXcEl+300LH1zY/7doU3F4tqsawmDIz4UlnVb85cFuOOQ Hil51RpuEJBwA1dXZrX/iFRIUS6bPLmyTYu+DemUEJUuIEL2ILmQbE19pR/EnuS6865A VVTJ8037iw4HPziJXNUNWFtB4J3hLRVeAek5RTp9U/WdytY4VckdLZUa0+IgYzugEGVr mESA== 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=DFY3DydABVbR33exQJlwKtWgpi3dRu2TYxEKXuiiXVU=; b=Al3XLaWFc6vmLlqlRnfZniwe7W+sR+cULz10FUnnhQYAM3gz+FuFgiXbLYlkF7weIJ pw8ZqNDupMdzPMeN9XxgY/5ivUKf57H+014KX5GwuuFmjuYdAKeqV9jXryG+rD3JkBVe VgvX613rWNtvKGHW51+EGj8pMNnS58MTg1vKyeeG7dqdoM4AuCiRmi/k29EX5z+961zQ dpYpFkrF/TMr6CAiNjuzvL8Fpu6621dcZZVIDHmfHiMUbv9HSyc/fhNZXo4SmjiqVDnK 6ZDH11u7ctBSt4Yomqx2BtJYfYqEhxxaUfaHLtarYhdy7aowmqXlCQG/K69Xe3Lc6Y4U 57ZQ== X-Gm-Message-State: AA+aEWaVjVXxbvmo736eR8JgKFVFnsohyHp0i6JXOfJR09oARNXEIxXC 8lVD8Z2iYfbv6yaNt+DREZI= X-Google-Smtp-Source: AJdET5fia/mb8AzgOcR/ZQEMV3r3rdEEkOV6SfmB56ChZCZh+RTvGaDxSG+t3Fz+m5TkKgvldCR4vA== X-Received: by 2002:a1c:9690:: with SMTP id y138-v6mr7153266wmd.67.1542825127187; Wed, 21 Nov 2018 10:32:07 -0800 (PST) Received: from ThinkPad.home ([185.219.177.229]) by smtp.gmail.com with ESMTPSA id e66-v6sm2568779wmf.40.2018.11.21.10.32.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Nov 2018 10:32:06 -0800 (PST) From: Mesih Kilinc To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [RFC PATCH v3 13/17] SoC: sunxi: Add support for Allwinner ARMv5 F1C100s sram Date: Wed, 21 Nov 2018 21:30:46 +0300 Message-Id: <89f6179c17a98f160301fdeef27df35b359847e3.1542824904.git.mesihkilinc@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181121_103219_283841_1F36677E X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mesih Kilinc , Julian Calaby , Linus Walleij , Daniel Lezcano , Russell King , Marc Zyngier , Chen-Yu Tsai , Rob Herring , Maxime Ripard , Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner ARMv5 F1C100s has similar sram controller to sun4i A10 Add compatible strings for it. Signed-off-by: Mesih Kilinc Acked-by: Maxime Ripard --- drivers/soc/sunxi/sunxi_sram.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index b4b0f34..27f0607 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -99,6 +99,10 @@ static const struct of_device_id sunxi_sram_dt_ids[] = { .compatible = "allwinner,sun50i-a64-sram-c", .data = &sun50i_a64_sram_c.data, }, + { + .compatible = "allwinner,suniv-f1c100s-sram-d", + .data = &sun4i_a10_sram_d.data, + }, {} }; @@ -389,6 +393,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = { .compatible = "allwinner,sun50i-a64-system-control", .data = &sun50i_a64_sramc_variant, }, + { + .compatible = "allwinner,suniv-f1c100s-system-control", + .data = &sun4i_a10_sramc_variant, + }, { }, }; MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);