From patchwork Thu Feb 28 15:45:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10833369 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 3D91F1399 for ; Thu, 28 Feb 2019 15:45:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25BB62F177 for ; Thu, 28 Feb 2019 15:45:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 196702EABF; Thu, 28 Feb 2019 15:45:38 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 C45942EABF for ; Thu, 28 Feb 2019 15:45:37 +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: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:In-Reply-To: References:List-Owner; bh=zLTIPyJOagw6SjMcG3q+SBalVmU4IDOXHPjQF6VXISw=; b=VW8 6aEXcAqmnvx9E/CvqGbD7C2Iu4rBK43nDS0lV+AVSjxBL9D9a3w7JeEs2mP/kEiKeynLs2DoGKp75 AjjLHvbgYbo979cbv7B5M871q+L3z1Px8gXlUccVNy/jWoBPvY6lEclEtfCNKN+uT2r8PZnxgbYHo 373Sqo8w09gH/0jafm1RZqafnuCztjYAvr3Q8uABPeZlHfDQ4I/3EfcFbb1734qffq4VH0YZi45EI 7WWmxV3iwyBLO6gXl4PhjDUvyH0/Lw4rXn7MxptlUXAQm0eVBVlRBBVZ6tWRaMbzKCWdHUq6EBrSX vHC3heHmFqqHpmhcclAcRG0jjyoGfVA==; 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 1gzNsJ-0006dS-FI; Thu, 28 Feb 2019 15:45:31 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzNsH-0006d1-CU for linux-arm-kernel@lists.infradead.org; Thu, 28 Feb 2019 15:45:30 +0000 Received: by mail-pf1-x444.google.com with SMTP id d25so9900714pfn.8 for ; Thu, 28 Feb 2019 07:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=q7jx3DNyDjtwyhvJ0sV9+ayDKT7k5uGfQqvdjYQ8iGE=; b=qCW9MV6IasFn96FeRZ2D6LStEOXzlT+xwPU40OiNjsfmV2qATcZYkT7lbWxALhUYxL bVzKeBDxq8zOGfgIHoe41ByXnxoZll6Xcduobi3sASCWzQyn7FbGLDY5Vlca+pUmj/hI dGbdmpl96h7XCWTNxs5inqVaEtPtOtpI/dpNqUPXzRM6TOOBNpeOxEVNqFvHiP+ZY75H 5BfsApxLp+CzwOsZOKqNWRcJEtN1Xa7KW+K88MIKNkjcGV1LWgaYrAxkYu4LLtYW2unH ZAM6En9RVJwAYzRyY8FsNzPmzv0ih51cH6jhOb0yeOjQSgYuhSyC/hCGn6qYAv62cM+Y Da/w== 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; bh=q7jx3DNyDjtwyhvJ0sV9+ayDKT7k5uGfQqvdjYQ8iGE=; b=he9PzrKKQMWsatQUXSWLk1NpqI8jneXe+k10bsYGoGCU+EmY2Njk3jZ4Eg0hQ/EiP7 3DVvlZNoZznLCcgITfG82tGYFSWIEsEUi7j0A35NhfCzQkzIIK7IOxyyer2SalsRRC74 SuYvETYd/pGYfoAdId6qdoIzYP01Z1sdfCuqP/zgkf9TTH7hk5QcTnMRyXm0t+n7m6LY UQbISL0Rb9WCJhVjQbvf1Ld/mIv06h8UoRasCFl3ODQZsaCrb9MdOm3Hqpu0U6RKq33K D3d5hCOGwu0LEq4yXvfjSe7sT0yXe+63sjLwlQFUmqMyr/mfFMhyiDcfvE5TEKgXUbt/ HrSA== X-Gm-Message-State: AHQUAuYIvnUVFohD3PK9wOkQhmkbbRWy4vjGl7wsspr91utFkXrvo89A YwH8D5SsV0eueIWqJmeerpZi X-Google-Smtp-Source: AHgI3IYudqV0sqK/9OLHv1hgnrPeM50Wkafi40740k2je4uy9e+5LkfSSg6MCP5Phg210NV7jvs4Pg== X-Received: by 2002:a63:680a:: with SMTP id d10mr8843521pgc.46.1551368727665; Thu, 28 Feb 2019 07:45:27 -0800 (PST) Received: from localhost.localdomain ([2409:4072:905:9c3:2dd3:3db1:5145:4da9]) by smtp.gmail.com with ESMTPSA id m13sm37485286pff.175.2019.02.28.07.45.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 07:45:26 -0800 (PST) From: Manivannan Sadhasivam To: xuwei5@hisilicon.com, robh+dt@kernel.org Subject: [PATCH 0/3] Add MMC controller support for HI3670 SoC Date: Thu, 28 Feb 2019 21:15:08 +0530 Message-Id: <20190228154511.17566-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_074529_430861_31D0EE59 X-CRM114-Status: GOOD ( 10.28 ) 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: devicetree@vger.kernel.org, guodong.xu@linaro.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, john.stultz@linaro.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org 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 Hello, This patchset adds MMC controller support for HI3670 SoC. Since HI3670 SoC is architecturally same as the HI3660 SoC, HI3660 DWMMC driver is reused here with DT compatible fallback approach. Also, SD and WiFi supports are added for the HiKey970 board. Wei: Please apply this patchset along with the reset and UFS patches in the following order: 1. Reset support patches 2. MMC support patches 3. UFS support patches PS: Since there is no PMIC support available yet, fixed-regulator nodes are used to get the driver working (regulators are enabled by bootloader). Thanks, Mani Manivannan Sadhasivam (3): dt-bindings: mmc: Add HI3670 MMC controller binding arm64: dts: hisilicon: hi3670: Add MMC controller support arm64: dts: hisilicon: hikey970: Add SD and WiFi support .../devicetree/bindings/mmc/k3-dw-mshc.txt | 2 + .../boot/dts/hisilicon/hi3670-hikey970.dts | 75 ++++++++++++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 37 ++++++ .../boot/dts/hisilicon/hikey970-pinctrl.dtsi | 115 ++++++++++++++++++ 4 files changed, 229 insertions(+)