From patchwork Sun Jan 30 22:03:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12730188 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 439D3C433F5 for ; Sun, 30 Jan 2022 22:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JcPeK/OjJ9dpc+sBDg2NhjVO02gmhsLAhIuhBlJDpsg=; b=JXJy/SIKZnipfh 2IbCyeob1jdx6kkDsYoaHVLX9/C6lNUG76tkQPaIYMCaHYz8MeKl3Mwb1ioIY2EmhKGIuNva4ce0w l7xH/nx5zGDrRGQvqWQa2MuwxnrCrsnymHjya+kYu+aGJBwcy5k2corHxQT9efz4tBYPmCy4mOG5R hQTSNFaTSXJQCmfpAW5UPVvKjQ3rPsvx3Zf3B1oe4/fkkWWzWIpWVzsKwZkl63JYZ19Ct+K6Ew2Id k1iQUhau1znxz/rUtaMcs7JRUqgmekVwwlDhH0c65K6VtuPhyfPt1pgszzj90m2qH6NFB+cq3kAFg Fe++fQCLhyVhAMip5N7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIH-007X78-8s; Sun, 30 Jan 2022 22:03:33 +0000 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIID-007X65-P7 for linux-arm-kernel@lists.infradead.org; Sun, 30 Jan 2022 22:03:31 +0000 Received: by mail-qk1-x732.google.com with SMTP id 13so10545928qkd.13 for ; Sun, 30 Jan 2022 14:03:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oBgDNmNrOOnlb0Mg5ouD+YxV6ZtLCLEZj9tfMCfsu+Q=; b=KWv8c8kIwOrcrnxMUOzr4WIpb0fkoJhnMZ9wu1V+LPvkdi5uY7l9f5hBvSWfchiyYT 6ImYWabE3E4R2GFHW0fuOBHrIsA60jh48V2sqWXkmmz0ljam8eKfWmetMQ8gyVUxR+6l 6n57VAGAfE1jjygMScpf3pnkUeTr6DfwUl4xS9ayyHPupNIADsOn4ZbzHSjgpb9zKmPw btvOrzEl1cYmUnkYQzC44v7G6/M8PKDo8FIkeg3iApHtVEHg65kSy5jfHkn2tLpXuk+M DkrAJ/nNkImWhIBahglBx3qA7g0i2JRUgglcjriOWNgnNHZWXhpErFEV/+rnwj9o+uLr VlRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oBgDNmNrOOnlb0Mg5ouD+YxV6ZtLCLEZj9tfMCfsu+Q=; b=kkQ4BXz7baLlZQ2pCQOJZ0jVqfIn28D5Mwp3zkrQpp0VB3TgiaUh4U/Sl9AkTTsi4v XvC48wjgaLe9ZVwFVHIZ9HYZ/2VaiXy0adFzDDGBn3+g+N52D6Rokg2B1Qw/b9MDHlqG gZQl1fY8IaIrd9b52B3hZrMmueJFbfBYnx4NoVcTFaiVZdZFl5bJuD4KY/H4JthsUWrG zoODbMo6QOmfNsEzYc3jzwOab9aLc1lOJ1qn3b6BBa2HPtmuw6t571CXJQmmKZB+kS6L ENAymdTw7gn3VjTnyv2D410rGuZrGwKGVAnxi7XAQO8wDTFt+22bjXjMVZradoFC7c3A bhJQ== X-Gm-Message-State: AOAM533iz4nEaiBhi9tac8apkNrhvohlBEZ3jwhpJzGgfz3Yb4SIERD4 4qWrqNir4aas51ObhvdJqwE= X-Google-Smtp-Source: ABdhPJxftSKAAHXMcfmw/XMOGZ0c407TMeh9lZ0bUTX/aPhoX/tfan0sMdUjWEeZqW4mKTDTPz99RQ== X-Received: by 2002:a05:620a:f02:: with SMTP id v2mr11462754qkl.41.1643580207858; Sun, 30 Jan 2022 14:03:27 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id h12sm7556651qkp.129.2022.01.30.14.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 14:03:27 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, Mr.Bossman075@gmail.com, andre.przywara@arm.com, linux-sunxi@lists.linux.dev, mripard@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/4] ARM: dtsi: suniv: F1c100s add clock and reset macros Date: Sun, 30 Jan 2022 17:03:22 -0500 Message-Id: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220130_140329_864060_C99917A1 X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Include clock and reset macros and replace magic numbers. Signed-off-by: Jesse Taube Reviewed-by: Andre Przywara --- arch/arm/boot/dts/suniv-f1c100s.dtsi | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi index 6100d3b75f61..953228cc8d52 100644 --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi @@ -4,6 +4,9 @@ * Copyright 2018 Mesih Kilinc */ +#include +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -82,7 +85,7 @@ pio: pinctrl@1c20800 { compatible = "allwinner,suniv-f1c100s-pinctrl"; reg = <0x01c20800 0x400>; interrupts = <38>, <39>, <40>; - clocks = <&ccu 37>, <&osc24M>, <&osc32k>; + clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc32k>; clock-names = "apb", "hosc", "losc"; gpio-controller; interrupt-controller; @@ -114,8 +117,8 @@ uart0: serial@1c25000 { interrupts = <1>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 38>; - resets = <&ccu 24>; + clocks = <&ccu CLK_BUS_UART0>; + resets = <&ccu RST_BUS_UART0>; status = "disabled"; }; @@ -125,8 +128,8 @@ uart1: serial@1c25400 { interrupts = <2>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 39>; - resets = <&ccu 25>; + clocks = <&ccu CLK_BUS_UART1>; + resets = <&ccu RST_BUS_UART1>; status = "disabled"; }; @@ -136,8 +139,8 @@ uart2: serial@1c25800 { interrupts = <3>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 40>; - resets = <&ccu 26>; + clocks = <&ccu CLK_BUS_UART2>; + resets = <&ccu RST_BUS_UART2>; status = "disabled"; }; }; From patchwork Sun Jan 30 22:03:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12730186 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84BF1C433EF for ; Sun, 30 Jan 2022 22:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ftlDFRP4SlLUkRVUDWKIVgNB2P+LiFNI38sccIk5yRA=; b=P3zqP+iRG9u5NJ 7JJbAEbMEPrIkC4/y2oV8x5L4cCsaVzrqtX+CLRDJn7woknOw/sbxVV0/D+8gixt31qhSaivBdAgk vMXw7B7WidxOciFz2WNMkxd+XKgBpGoWnkk/MMmYfh4MlYlyvNr6oz0p9m89X55GGyAWqkxx4y96b VGTzPzqbHlAc7KmB6LGItreAOEjUwbJ0vf+57bApEGaaoNglee63tD2pmR02j+NK+c0MDOYUEayF9 rQP3qg85FntJbn6LXM2ibvSZIO9h0X/pO/z97wFtjPoBI79tMoU2G76VBktVvCDaIqUl0qkkS8LKc a5D2+ht3pkxyTGBZTX6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIQ-007X84-I5; Sun, 30 Jan 2022 22:03:42 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIE-007X6C-Cn for linux-arm-kernel@lists.infradead.org; Sun, 30 Jan 2022 22:03:31 +0000 Received: by mail-qk1-x736.google.com with SMTP id o12so10590024qke.5 for ; Sun, 30 Jan 2022 14:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SY9YKyrTOsZYdhpR7gLV9XUnkAxeX5e6CMz+d+vP15g=; b=RvK1d0oNjw7XDzLRnZ8VsvbHJycZTAWrUI5YeHJNSKO5tTQkCbx7TrkqIZ0w+mD1TM DbC75gPJ4NFIs3R4ANpkiAkffMTXp8dQRcfbz3+ifxHnNF8jG2zoK5gTW1vTGBs3n7au xz9NirVrNWfUNEPNCojT25wxC/V8PQyyIM28hE+S4niQ96IQh7pgez0NXh3SXhhaeKzE 5KrwyID6ZEwUjUmjc8GEIoxHgdFqMv+qGjDvX7PrFTaab6nSLMOl+Sw0LP+u2Nfml84X KwZUqJ2PBksiqi2yWXDUc9oMTELQ43kXFboL7i27n+1RjfD6bKgjbybNc8zq5rfTlfG4 /8HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SY9YKyrTOsZYdhpR7gLV9XUnkAxeX5e6CMz+d+vP15g=; b=RVKbPm1nZQWY+R9+zdatepRg7zPPKtAGwYlI2bHQRidFyuHtCCNs3G55eZwFaRQCgD vD4ULZVdunR5IPL3xgsSyI1cTVqSBRlstIEZzTi8oqSeSSM+l1+Yvs2P7tVfe6Y4zZfF AhYJuZLtM9On7gY6wOBpJC8Q+0peB58BEw+u4i2xQpyMG3Xu5TT9xSyObV3dhf7s2wl2 EgnngI+2HhNUZbdpq1BwimcnXFdxS51ayBimtR90yioku9as6Y7dx3V7r/J9WXpNBizi m5FiXvX94A8jCA0DUzQpCUBgbRO3tc78qpr8vA4NFWK9VrnH4jYgsvA+Hoy6s6Erw4hx NiMw== X-Gm-Message-State: AOAM532/tt7zpXbW9VBhdPLv7KbJ8GmHy6/fiy1YW5b/oTAiw2ECmcDS h12+sbhT9NCuB7N3YSNSv8oOhwQvuTM= X-Google-Smtp-Source: ABdhPJzyrt88bgpefLRdQwuEGsixY1dfgovZLKKnuwMJxiS28ieAUANxCGWfWyq3TjQ3xQw4ckm5WQ== X-Received: by 2002:a05:620a:4048:: with SMTP id i8mr6032906qko.482.1643580209305; Sun, 30 Jan 2022 14:03:29 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id h12sm7556651qkp.129.2022.01.30.14.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 14:03:28 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, Mr.Bossman075@gmail.com, andre.przywara@arm.com, linux-sunxi@lists.linux.dev, mripard@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/4] dt-bindings: mmc: sunxi: Add Allwinner F1c100s compatibles Date: Sun, 30 Jan 2022 17:03:23 -0500 Message-Id: <20220130220325.1983918-2-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> References: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220130_140330_453565_5EA70DAA X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding for F1c100s's mmc controller. Signed-off-by: Jesse Taube Reviewed-by: Andre Przywara Acked-by: Rob Herring --- V1 -> V2: * New commit --- .../devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml index 4f62ad6ce50c..76137132500d 100644 --- a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml +++ b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml @@ -55,6 +55,9 @@ properties: - items: - const: allwinner,sun50i-h616-mmc - const: allwinner,sun50i-a100-mmc + - items: + - const: allwinner,suniv-f1c100s-mmc + - const: allwinner,sun7i-a20-mmc reg: maxItems: 1 From patchwork Sun Jan 30 22:03:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12730187 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DA91C433EF for ; Sun, 30 Jan 2022 22:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gO8OV+CHv3xu0PIzqjvOuHOX16r9d2vCqKhsPETqK8g=; b=e0MkrntodMMwrT ihwb/tseouW+kfmnqFrwjjdMIrS5Q7Jxl3zWP1TYf7Rr+9xJ/Fqru3XMzDiiFsReK0xZV4oEgL18U 6LbTMpF0T+rfvMeu63R2upimdSBRCSRYEEEIA1ovuu7EOaF3aMVuuZM7TATKfcD4Bhpb5TAU/PgEP NMoEhkr5UdrYLs3J0C7bqHiQbngN69V1k+uNlMEDnWgINXeKsZBU3Py5EiVIXaYAwXhmt/qJjx++n pVl7mhWnDEcROxPy7SZkygJ4yjRtIs/AwvY5p2Ctz3NZZquuxNNhf3n/pce2HFuwuqiFmlp0Oc/kf x+c5XSjaODQ9zdKjcHcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIb-007X9J-4V; Sun, 30 Jan 2022 22:03:53 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIF-007X6f-MO for linux-arm-kernel@lists.infradead.org; Sun, 30 Jan 2022 22:03:32 +0000 Received: by mail-qt1-x836.google.com with SMTP id i4so10065506qtr.0 for ; Sun, 30 Jan 2022 14:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J+VZN81DjRtnX/IoUmKj4ZH1dOHtItVzq+kTBINm8/g=; b=qWt79QkIWwG86Zc52IIfCB+t7KbzF1jMXD5NLv6XpgLYgMH9XUk+w9WQTSqz9eGsYm YeyklQXM1FiSoxs+d2dYKEwPZJkUct0eeedS6ObuL3JOlvLHv5ZWQGEr1Bf2rjmzoWCq SRTDyBAzXPdyMNF3ysV3WrVyC/Wcyefps43ExkMNbQvyTTov+w56pao3Yv9bTcu2Mhtt a6PTAVWW+AiTdRldPZze9al7OwdkmSkqaM61Dk5SW/utQXQb3CnePPgh09JxI3NrqC/L 0Y4Jb9090nS803chFGqLeZ2BA79lQOVu2QB3HTAu4gpxD15HZ+20yuzknWoy26mPFaF7 bqaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J+VZN81DjRtnX/IoUmKj4ZH1dOHtItVzq+kTBINm8/g=; b=W/E+H0MxVl7P4fBohPwlrD+GzAjmYqyjfTmIv5dLAItE+N7MXsqOTPgpu8av6vcHI3 tPH/RaOq0pRlcT0R+cjFyzrJloPlQF2FtUH33BkSlY5bZ5zeKMnW627wK1+GrGThsLUn V87Vvi1NTI7QKd8f9G60Z9vknZFz7++hB2rzvKwQM/yIKoirFQSStrUSVZijG34iwySY bgtlhNsE11Z+JIGdwL4RnUv59580DhckItw9EoHM5PZ7ge7lWj8v8/mmyQJPX6Cd+iei M0GiwKvKOJy0u0vUe4X41o2/3x0ds0AUCqbmGZffOaXeBKcufHUthgYJrygtXnm+D1Jj E9zA== X-Gm-Message-State: AOAM531zWd6UCBJGZmbnEAVFUFCRHdsi9U0c9b4uqdjijx/HEDZiLuhZ CLt2u26sNvrrmqsDqxdY4po= X-Google-Smtp-Source: ABdhPJwMCI3bv6EseDTBUkj8wPjpkE5xmoHYqtuQeksSgf+B3dffimd0cJnmdIziwuUTxG9FJMr0bw== X-Received: by 2002:a05:622a:1307:: with SMTP id v7mr12950496qtk.118.1643580210626; Sun, 30 Jan 2022 14:03:30 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id h12sm7556651qkp.129.2022.01.30.14.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 14:03:30 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, Mr.Bossman075@gmail.com, andre.przywara@arm.com, linux-sunxi@lists.linux.dev, mripard@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] ARM: dtsi: suniv: Add mmc to f1c100s dtsi. Date: Sun, 30 Jan 2022 17:03:24 -0500 Message-Id: <20220130220325.1983918-3-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> References: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220130_140331_753218_9C583F01 X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add mmc0 and 1 for f1c100s dtsi. Signed-off-by: Jesse Taube --- V1 -> V2: * Split patch --- arch/arm/boot/dts/suniv-f1c100s.dtsi | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi index 953228cc8d52..60fa56c278a8 100644 --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi @@ -96,6 +96,11 @@ uart0_pe_pins: uart0-pe-pins { pins = "PE0", "PE1"; function = "uart0"; }; + + mmc0_pins: mmc0-pins { + pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; + function = "mmc0"; + }; }; timer@1c20c00 { @@ -111,6 +116,42 @@ wdt: watchdog@1c20ca0 { reg = <0x01c20ca0 0x20>; }; + mmc0: mmc@1c0f000 { + compatible = "allwinner,suniv-f1c100s-mmc", + "allwinner,sun7i-a20-mmc"; + reg = <0x01c0f000 0x1000>; + clocks = <&ccu CLK_BUS_MMC0>, + <&ccu CLK_MMC0>, + <&ccu CLK_MMC0_OUTPUT>, + <&ccu CLK_MMC0_SAMPLE>; + clock-names = "ahb", "mmc", "output", "sample"; + resets = <&ccu RST_BUS_MMC0>; + reset-names = "ahb"; + interrupts = <23>; + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + mmc1: mmc@1c10000 { + compatible = "allwinner,suniv-f1c100s-mmc", + "allwinner,sun7i-a20-mmc"; + reg = <0x01c10000 0x1000>; + clocks = <&ccu CLK_BUS_MMC1>, + <&ccu CLK_MMC1>, + <&ccu CLK_MMC1_OUTPUT>, + <&ccu CLK_MMC1_SAMPLE>; + clock-names = "ahb", "mmc", "output", "sample"; + resets = <&ccu RST_BUS_MMC1>; + reset-names = "ahb"; + interrupts = <24>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + uart0: serial@1c25000 { compatible = "snps,dw-apb-uart"; reg = <0x01c25000 0x400>; From patchwork Sun Jan 30 22:03:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Taube X-Patchwork-Id: 12730189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8E6BC433EF for ; Sun, 30 Jan 2022 22:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4Pg7boj9U5y4QWZFz8RKRcrBrod+uLfp421VErSHBAQ=; b=tD4l2ssgNOuRgb 7ZWxbbZ1epMO1GsLVMMLhA13JuJeMjtseRTNM2b13tXfoeIWBna2yKVbfjAoHnFVk2urxx5vwDx7P 0Br+v7CSblikF6OQu/HTFzqckEKBmtAZ69DkjbMLnZDZ/PbeJHDYNm23aYgfa7EXUuvXaOKn4CL3P qz/ZKGJsn06KcTya/jKvfqRjIpM8D/pEIjp4v/3rrRFizUAFEFOAwrNOXWuSn387LAozqjVTKfsGp 8b1bwlKt0/PqOa9lZ+m5OL39YLZuf+V+GRKYJ5tPbSpaco3Sk1o/qFKrSHrDoLfUG1QMYQEvx5oxU +xASjL2ysGGV/ScCCvGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIl-007XAl-4E; Sun, 30 Jan 2022 22:04:03 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEIIG-007X73-Ip for linux-arm-kernel@lists.infradead.org; Sun, 30 Jan 2022 22:03:33 +0000 Received: by mail-qt1-x832.google.com with SMTP id r14so10008462qtt.5 for ; Sun, 30 Jan 2022 14:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6qiePQaFCn1ZGPCNmG2bQohlbkcHJHVngAid2qwzesM=; b=XOquuE6+leFupXRFTrasECGzeQsYzTYPp3l4osaT5HiTo6neKNQp6wwKb1xG9FW+YE FHvQcgfmeHmuqfXuUAqMKMsS3Qe8MNRSliJ0Ddmr7SwAfNtnFWeNXfXTA2CIdt8CYdQ4 bkDvIDL/tLDNb2oCGYTZHbRnNlzJ/+psTq7Rzkltr70MHCjk+Du4zPuvq1XRi1HIyUjj 9MbvgnqQ9Ryb3AM8DYPCukpYRZWii5r/ye64Yw7P1B1n71Hajew0Qno4YWy6Igx+sKUC Kj1X3nW3ca/TOc7Bwdm5foMCwc4i1jHlQa+WAOyye8QZxxCia/kGvU46XeD6+CBViuhC hdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6qiePQaFCn1ZGPCNmG2bQohlbkcHJHVngAid2qwzesM=; b=HjqHzuHf5Kse9FT7sd/sAsXaIwHNP6Ynq5IRUX2hUt1BdOveO+dRSkjWH/o6REB9Bv 2CMv8pDuujJiHqvK+THeHYy+u81UnET1XfcI2l3v7Whd+VrJI5tbd+TZukVa88Ns2mb/ F8YQPlJKLoj/+GJLGaN1k3CMGGjPhHkjogqzxdAyP1g211L6yWlhETsSKTcd2Mio3DH3 29uw1zKsCqHeOAzfiV9pISaNu8Y6zsTIGHjdY9ND6tHmy4pbMFmJJi8QNMPiwShyJpA3 SU+6h9t8kznLOOOvWO5BNbBxEr+M8/4jU9X6VX3IGJKkqsgRDj+O5f7/KnVHq//MvVfT OVdw== X-Gm-Message-State: AOAM533aLZEio0v+4bxLshE4O7VeVYTelHjyS5uZHve/N8RI7+rzRHZv +FLwa7kXQCz4YUrp94OH7C8= X-Google-Smtp-Source: ABdhPJxMJhxrMrTxwGFCEmXjNwICsOJcPiNWFbd5jxVwXQ71fDUJraFuqlS2DMNlQEn/sqwTs72a8Q== X-Received: by 2002:a05:622a:118b:: with SMTP id m11mr2448324qtk.96.1643580211596; Sun, 30 Jan 2022 14:03:31 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id h12sm7556651qkp.129.2022.01.30.14.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 14:03:31 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, Mr.Bossman075@gmail.com, andre.przywara@arm.com, linux-sunxi@lists.linux.dev, mripard@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/4] ARM: dts: suniv: Enable mmc for f1c100s. Date: Sun, 30 Jan 2022 17:03:25 -0500 Message-Id: <20220130220325.1983918-4-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> References: <20220130220325.1983918-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220130_140332_641376_2F77CA65 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable mmc0 in f1c100s-licheepi-nano device tree. Signed-off-by: Jesse Taube --- V1 -> V2: * New patch --- arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts b/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts index a1154e6c7cb5..c856a6a20dc8 100644 --- a/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts +++ b/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts @@ -24,3 +24,9 @@ &uart0 { pinctrl-0 = <&uart0_pe_pins>; status = "okay"; }; + +&mmc0 { + bus-width = <4>; + broken-cd; + status = "okay"; +};