From patchwork Mon May 8 16:21:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 98834 Delivered-To: patches@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1407371qge; Mon, 8 May 2017 09:21:24 -0700 (PDT) X-Received: by 10.223.135.130 with SMTP id b2mr39023005wrb.48.1494260484771; Mon, 08 May 2017 09:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494260484; cv=none; d=google.com; s=arc-20160816; b=V1qklbaNCH3ftAOeG5TOVx63ou9Qw1M83TqXbBApQyLr+6ZcfKxyh5wmE0mcRPBAg0 0PTvKAiBXKGUtSwU34FBmu0fqKH9Ht/2ERqMhrm3KWnEqhSzWrUKUN43MmOcSjQtQRjJ 2LeyI+jW5clSMA8XMYTRprSvSsckitpQhawg3eR8EwIolvr5XslG3zWkfsDoiz5Q2WBz CBC8mgwj58LS9YIPnVuB6tzEyIDg9/LTDX7AnExEXKxtePryAsFuWxrFzlUyrvDbev82 sLFH6omH7YBd6KLWVhN5QVwMt6r9cA+0SsQZOr71wBGfe1ki1M77qsAf5PiOBKvSygQG zFGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=JtH6nscxaTSFKyNcuUxuSGC8eiHArHeCWdpQBgayyq0=; b=qGq0eiJ5fkPTtyoXb4QKeyBeK3YmYwUiCpKNuc9j0XgOUmL5Y2oALOkUR3GkpfO+LT h7QjDgDq1nv5NJawMt13MdALElYbuF2gLcxjvdOGUAnP6FlWnaqotMR410czGerpXJTs BQdhMnjd48uMECj3mAQ0PtZ25tfR16VRqUkzezoBP0Dm5sm9tZ3JIeUCHGd8IVOtRCac q6R2j+HF8EeGBCJNZvYte0HJeqYjzAkIkEB9C0lDscsoiqPfEER/cPYijH/9dEat9FC9 kzjKtfa5ptgd6uh0Amj5D9IyBGvzVcZeT6SGS9huC+iQ8xJPlgHOan5+ISe34EK7+pJX qWVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:400c:c0c::22d as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com. [2a00:1450:400c:c0c::22d]) by mx.google.com with ESMTPS id q16si14938497wrc.183.2017.05.08.09.21.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 May 2017 09:21:24 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:400c:c0c::22d as permitted sender) client-ip=2a00:1450:400c:c0c::22d; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:400c:c0c::22d as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-wr0-x22d.google.com with SMTP id l50so48843703wrc.3 for ; Mon, 08 May 2017 09:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=JtH6nscxaTSFKyNcuUxuSGC8eiHArHeCWdpQBgayyq0=; b=Bb0A47LpgV2cIgWpvVohAJGjBoilViHNXtBYKh25i1FArKD3ht5GtaWprjMVZvz3h2 4AlTGxZd+8FC6647mhy111VuC1XlCyZyGMzKir6SahByZOdqocSnUVCmzEZ0/5esNqiu fBC3Wlb3NpGG3DaPr22EUOh8gkgXSMWf9Z974= 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=JtH6nscxaTSFKyNcuUxuSGC8eiHArHeCWdpQBgayyq0=; b=Q9n6mxGlwhD6CEdO6R9539Rb+TrA4q5AkX11ua3BkI5Nv5M++hPp7DeNiUBycdt+nU CCW/OAmOVnFD35dOwFxLyRVUa4aESXYZUbVeM4eYvrDGnZZHyupFJADr2CAi9Wh4tGWG X9f0AoSllEoq5b7Kfau+XECxKRgIToU5Wt09TMSltcogrhXVOrhDhKSL/EpuLL1xyRrq tMf/69s0l2GZ8hKFSZuMq9EcyeRaJG+QVDAoA6xm8FczsnhYR0cGmEFJNYwgQiNpmOu6 PiAtO0DBsqiz1A7/kfOWV5SEzmaZX3e132EJq7sF4NLU3Iwk/V1+Hu1+bScGxgVqAQv1 iE/A== X-Gm-Message-State: AODbwcDwzX21igfXF8JWvzIYU1FUsrNu7aFiDilvLsQsrU9yUbSgouPB lIz5kNK6Oa6EK49GmhRDVHQv X-Received: by 10.46.76.1 with SMTP id z1mr6712153lja.114.1494260484281; Mon, 08 May 2017 09:21:24 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-155-4-221-67.na.cust.bahnhof.se. [155.4.221.67]) by smtp.gmail.com with ESMTPSA id 1sm1600724ljn.59.2017.05.08.09.21.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 May 2017 09:21:23 -0700 (PDT) From: Ulf Hansson To: Wei Xu , linux-arm-kernel@lists.infradead.org Cc: Ulf Hansson , Daniel Lezcano Subject: [PATCH 0/8] arm64: hi6220-hikey: Fix WiFi support Date: Mon, 8 May 2017 18:21:09 +0200 Message-Id: <1494260477-25163-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 The Hikey board has a Wifi chip attached to the SDIO bus, which is managed by a dwmmc controller. This is currently broken in that way that not even the SDIO card is being detected. To fix this we need to make sure the correct resources are described for the dwmmc controller, so the mmc core can power on/off the SDIO/WiFi chip correctly. This is the main issue today. I have picked up one change from Daniel Lezcano's earlier submission [1] and folded that into this series, as the Wifi support depends on it. As a matter of fact I have even split Daniel's change into two halves, one for DT documentation and one for arm64 hikey dts. It's important that this series goes together as to conform with TI's HW spec of the wl18xx Wifi chip, as to prevent it from being damaged. We can either go via arm-soc, unless Wei Xu the Hikey SoC maintainer, prefers to ack the dts changes, then I can pick the series via my mmc tree. Moreover, I would suggest we send this as fixes for the 4.12 rcs to get the Wifi working for Hikey again. Kind regards Ulf Hansson [1] https://patchwork.kernel.org/patch/9697189/ Daniel Lezcano (2): mfd: dts: hi655x: Add clock binding for the pmic arm64: dts: hikey: Add clock for the pmic mfd Ulf Hansson (6): mmc: dt: pwrseq-simple: Invent power-off-delay-us mmc: pwrseq_simple: Parse DTS for the power-off-delay-us property arm64: dts: hi6220: Move the fixed_5v_hub regulator to the hikey dts arm64: dts: hikey: Add the SYS_5V and the VDD_3V3 regulators arm64: dts: hi6220: Move board data from the dwmmc nodes to hikey dts arm64: dts: hikey: Fix WiFi support .../devicetree/bindings/mfd/hisilicon,hi655x.txt | 6 ++ .../devicetree/bindings/mmc/mmc-pwrseq-simple.txt | 2 + arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 78 +++++++++++++++++----- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 31 +-------- drivers/mmc/core/pwrseq_simple.c | 7 ++ 5 files changed, 79 insertions(+), 45 deletions(-) -- 2.7.4