From patchwork Thu Jan 17 04:09:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 155779 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1477857jaa; Wed, 16 Jan 2019 20:10:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN5e7x/PXnVlEwyy8HnraCKZN3SIejdI9NXgKar8FQCpAQ4bqd9RtB94ZkL7uW3++nwW88S1 X-Received: by 2002:a17:906:e0cb:: with SMTP id gl11-v6mr9220235ejb.92.1547698233970; Wed, 16 Jan 2019 20:10:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547698233; cv=none; d=google.com; s=arc-20160816; b=RgJZ0TuvUFjmQFwdcM24RWtAW04R3P2X+qK8mynYukW6y+PBXxSvwQK9PecpKMK0mq uiVDHW3jzsGJsE1iPU8QZXdwgSumRdVMgSGUuwStMNEirSPTTGREdW+gDYfKEY6bM9VJ iMn0blbljIK6jgGyJv7/PXBZYaYy7J3cG3d28Gklp5RTIIKWgV8UnzDX6UCNt45mAEBA MTjddaDdipumzRtiJYj2kFKzzOSeQ9S09ke76CGnUCLMbl7/Sj/d1sJEv5pbxjjmbdVD sqepSRva20i4FFoiLA4QRP1G+uu3xu5oyPajAf+9KD4VNaU6WAhCKBD3bnfyxbkJIxi0 bX/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature; bh=+LJSV6mOEeVNuzOhyAVUS16/75B8KDOH1CbiZme4fQ8=; b=bsKva1OGsxCa+Knnzaz7ixfG7oP8BBX8lQ/l4B25j0bHYrxKl9S5wLz+VPFq0hvjHm 2Yd9ol7Ea3pUrOvgyuMDfcxCOWZiFJDO8e0LX1XLX0Ok42OhEKOfm6z5sDUtojHyo/fW LTV0UhLDIqkdrYuYAFmFIIFPB9TK/rKOFEXACSHtECFtZzC2U2HJHNb1Yj/bd6/ZN8PW NL45RlGdZeMSkHtgZq5XTwWopaaSYRLX3twpuw8u5l9PSKFSkFQDFjBGFtgnZc84Z/gI 9nYyBD8hndOAXmW8dpXTXB1rFq2SJYl9gwgWdiBK3myl7FHjreSJ5p2H+19CvObS9PmK Qnvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OA0azwqP; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x3si1357118edl.3.2019.01.16.20.10.32; Wed, 16 Jan 2019 20:10:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OA0azwqP; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 7B46AC220CC; Thu, 17 Jan 2019 04:10:29 +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_H3, RCVD_IN_MSPIKE_WL, 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 E819BC21C4A; Thu, 17 Jan 2019 04:10:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 782BAC21C57; Thu, 17 Jan 2019 04:10:25 +0000 (UTC) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by lists.denx.de (Postfix) with ESMTPS id DB6A9C21C4A for ; Thu, 17 Jan 2019 04:10:24 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id a14so4062544plm.12 for ; Wed, 16 Jan 2019 20:10:24 -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=D6rYfjc3a7rkfN9VYdfD2hobsC0h0pXCWHA36OKh+bc=; b=OA0azwqP3DUjAhmGQv3UjV28JlkNoOpB7LpKJ541/lr52LjF/2C2/6VrR7DMC1zUuy R18Ale1XLmJYQlNwhr+g3otwAymc/+Ut4xFXTG4Ehkdu+zHhK1POJ+M8kU05B9mYTmFg ek1s7BkLWJVrosLbgY0yTmYaZUOReSrVBW+4Y= 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=D6rYfjc3a7rkfN9VYdfD2hobsC0h0pXCWHA36OKh+bc=; b=Lris9zmtK+fdSXgurBYYvk1NqILu7Lxc9Mr+1oYOrve6mj5OfWU7HKabomOqCCjvC0 h9nvK6/WFQXSgOGB0rQ4b5D75p10eF2uwjjSXN5UtoMMmc6azWmxIvglg3b3hbT/1BSK VjZNbFCQIbJc9xCU0eO8lLiCyN63Z3U3qpLb5JCwRgwAgtnzVJJOu2Dzc7M2pw7atBxW oo+l+f5IJwTmcwHIAF2YF3GMCpduh+AKAHJaSQUNI7XPWqx2KyP1Jsn4cPIvbBeb6oC6 kp9j0Q4hKedL14V51ysEl8eHlI6777isZJij2LlIDVckKaFy1WuWb7i4/YszWzagDFau /oSg== X-Gm-Message-State: AJcUukeYeR/w4MITXdm26ZsRuwPiePVMGxFgNR+VSMM6PUw6e0TJyA7Q z0E/ZJF2DL3KALh3NVDgwpMvLA== X-Received: by 2002:a17:902:bf0c:: with SMTP id bi12mr13544477plb.0.1547698223094; Wed, 16 Jan 2019 20:10:23 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id 202sm377257pfy.87.2019.01.16.20.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Jan 2019 20:10:21 -0800 (PST) From: Shawn Guo To: Tom Rini Date: Thu, 17 Jan 2019 12:09:49 +0800 Message-Id: <20190117040952.4024-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.18.0 Cc: u-boot@lists.denx.de, Manivannan Sadhasivam Subject: [U-Boot] [PATCH 0/3] Enable mmc driver model for Poplar board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" We take Linux Kernel as Poplar DTS upstream, and patch #1 sync up u-boot DTS with it, so that devices like MMC are available to use with u-boot driver model. Patch #2 adds Poplar mmc compatible to hi6220_dw_mmc driver, so that the driver can probe Poplar mmc device. And finally patch #3 cleans up the board level mmc initialization code, as they are not used any more. Shawn Guo (3): poplar: sync up device tree with kernel 4.20 mmc: hi6220_dw_mmc: add compatible for Poplar support poplar: clean up board level mmc initialization code arch/arm/dts/hi3798cv200-poplar.dts | 68 +++++- arch/arm/dts/hi3798cv200.dtsi | 221 +++++++++++++++++- arch/arm/dts/poplar-pinctrl.dtsi | 98 ++++++++ arch/arm/include/asm/arch-hi3798cv200/dwmmc.h | 12 - .../asm/arch-hi3798cv200/hi3798cv200.h | 1 - board/hisilicon/poplar/poplar.c | 12 - drivers/mmc/hi6220_dw_mmc.c | 1 + include/dt-bindings/clock/histb-clock.h | 56 +++-- include/dt-bindings/pinctrl/hisi.h | 74 ++++++ 9 files changed, 483 insertions(+), 60 deletions(-) create mode 100644 arch/arm/dts/poplar-pinctrl.dtsi delete mode 100644 arch/arm/include/asm/arch-hi3798cv200/dwmmc.h create mode 100644 include/dt-bindings/pinctrl/hisi.h