Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1134475oof; Tue, 25 Sep 2018 08:41:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Yotlihys3wABANJ9K2uTVfS/SINLq/E6uoN6o0pLUYUIZ7bqGCrjVvwKt7HvOY+FW6Cok X-Received: by 2002:a62:34c4:: with SMTP id b187-v6mr1745061pfa.15.1537890102661; Tue, 25 Sep 2018 08:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537890102; cv=none; d=google.com; s=arc-20160816; b=wlmmcN0zCd5KufiTRiYP992apxdvCU5oG7bqu+peY9+loXlXfW8PnpFkdcGEWw5UrQ GNvjS+9PshKlAePuAKROBuI2linRYwXwK6HwxmgjwlljPKgwVYuv66VfA5SaRVN8H6fI 0PS8HK6+enQGC5BpfwcHMFH/0Su55Mc4XzEEzdAiTKRpSxiBum/ZC4O3uresHYfyYbl/ RJfop9kWztnP3yWnEDaWOKZpwtCt5FVGc4n+M46O75LdoJpmYaJ2O2e8nYfay6zqGJg7 rCqkDxBtGuIcn4niFh6LeXGdO/gZ3Q0oD/vSUMCJMGYLR1iOySvnxKEuqfAP6kWjju2E LrKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=z3JkBWuf39V9hT+sI/MiHVo51J5VXt/1UpOCuVdGl/Q=; b=qk1j6+d0q1YNqhpwQY7D3G1JKm3BzwLhOp5C0+peAtE0y0vpGAA81xI6dU5NTd6yWL HfDylnjZbT1g07FddI7k1py9KINiqBGHQMKwlM9Vw4N8bgJj6bq58K/y1nWZp5cKSi7X 3fIbqkWoiQInSkGpITKn04+kFOcq/bYvxQnPqPjUUUktCQ64X1pzx2kedOEJTfAAZCgd qxMH5+fHLg0GjmoVlkYEkEEMicSP5Ra5tN8HJ1UNl0mmthFnoxNL1E+Syz5WITQ1pKS9 oQeP35WynfdmdhrApuuVRFHlWRAFwBok7EEroOMHcMuOBe/nfEwL0T49Fj1e53vGdScA 5YNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=YdGpxs2e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i126-v6si2657413pgd.332.2018.09.25.08.41.27; Tue, 25 Sep 2018 08:41:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=YdGpxs2e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729861AbeIYVrr (ORCPT + 99 others); Tue, 25 Sep 2018 17:47:47 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53007 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729306AbeIYVrr (ORCPT ); Tue, 25 Sep 2018 17:47:47 -0400 Received: by mail-wm1-f65.google.com with SMTP id l7-v6so9150043wme.2; Tue, 25 Sep 2018 08:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=z3JkBWuf39V9hT+sI/MiHVo51J5VXt/1UpOCuVdGl/Q=; b=YdGpxs2exzjpMNWy2I3TpsNVhW2eyncSaBQJNZITfaNbhKUdOyVjmU53tvygOkCJWk wpZ2uQFuMBVMP3v1LbbXIqR/5COsmNAABafZbJ35bc1RNF3+cc+1JAneQtfKZyjzFrJq s3+WmhnYgR7OaH+nkQKV1rqk/jjOtGsPiaPI3n3fgQnJHkHDhvBc9mYM5dXMnmQHnIzk sb+Bge/Sxgn9W1JmFhKn2lXb7jsTQJQm8B/FReo+hAlR761wBokcnCBUrOnleWjeduEv +3S7Kp+V1Bsw0VZ0TSjSCCVyCXZJ7PgwLQ3A5JnYue2hZ8g5WnpGQkngxNVpyR18g3r9 rI3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=z3JkBWuf39V9hT+sI/MiHVo51J5VXt/1UpOCuVdGl/Q=; b=scXIsDnG5xywx2ZM0l3CdpR7K2njkWwScjiN+ykraJpEyTwyx2ulTmSjZf2ATjfmOZ 1OO7G2yjanJKHgiOYW4dV1oshuqEqAz4AXreNkNgJmqlqWnJnNlxM8KSXbhajJBYjKI4 9npjOhXV2cZso/x8ne9nRdLrXhWUjTP9kbokeN7nbB3u7WWQI0l3d2wrkVByXTeHmn65 eF/mjJbaQibOfI5VYU4+Jore+lvMxOZKLsTiFghNmNwqTMjPmt+gOSsYlM0ocMOsgHJT Qe4WJCOvX/XAwlOleWzwAUSyvz5dXEmIfcMF7UaBWtNoo7OwxEAm1qUbj9SuWH+TjIK+ dKAQ== X-Gm-Message-State: ABuFfohVe5uokwvoz0Br/WoQk6lb9IKszNad0DXh5zhDdc3beHqkwVms UHo47RQvs9AeoH/GnrNnmw== X-Received: by 2002:a1c:a187:: with SMTP id k129-v6mr1273092wme.111.1537889980795; Tue, 25 Sep 2018 08:39:40 -0700 (PDT) Received: from android-dhcp-8-1-0-d4-38-9c-a2-1f-05.home (host86-147-9-252.range86-147.btcentralplus.com. [86.147.9.252]) by smtp.gmail.com with ESMTPSA id v2-v6sm2440195wrs.54.2018.09.25.08.39.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 08:39:40 -0700 (PDT) Date: Tue, 25 Sep 2018 16:39:33 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: <1529386761-4923-1-git-send-email-vviswana@codeaurora.org> <20180924194412.GA27477@arch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH V3 0/4] Changes for SDCC5 version To: Veerabhadrarao Badiganti , Vijay Viswanath CC: adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, shawn.lin@rock-chips.com, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org, devicetree@vger.kernel.org, asutoshd@codeaurora.org, stummala@codeaurora.org, venkatg@codeaurora.org, jeremymc@redhat.com, bjorn.andersson@linaro.org, riteshh@codeaurora.org, dianders@google.com, sayalil@codeaurora.org From: Craig Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25 September 2018 12:17:26 BST, Veerabhadrarao Badiganti wrote: > >On 9/25/2018 1:18 AM, Craig Tatlor wrote: >> What socs have you tested this on? >> On sdm660 it seems to crash device >> when writing pwr ctl=2E > >Hi >We have tested this on SDM845=2E >SDM660 also has SDCC5 controller, so you would need to define >"qcom,sdhci-msm-v5" in your platform dt=2E >Can you confirm if you have defined this? > Hi, Yes my DT entry is as follows sdhc_1: sdhci@f9824900 { = =20 compatible =3D "qcom,sdhci-msm-v5"; = =20 reg =3D <0xc0c4000 0x1000>, <0xc0c5000 0x1000>; = =20 interrupts =3D ; = =20 interrupt-names =3D "pwr_irq"; = =20 = =20 bus-width =3D <8>; = =20 non-removable; = =20 = =20 vmmc-supply =3D <&pm660l_l4>; = =20 vqmmc-supply =3D <&pm660_l8>; = =20 = =20 pinctrl-names =3D "default"; = =20 pinctrl-0 =3D <&sdc1_clk &sdc1_cmd &sdc1_data &sdc1_rclk>;= =20 = =20 clocks =3D <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_= CLK>; =20 clock-names =3D "core", "iface"; = =20 }; =20 >BTW, can you please share few details of the platform that you are >checking? >We are not aware of any dev platform based on SDM660=2E This is just for= =20 >my info I'm checking on the sony xperia xa2 (pioneer) smartphone=2E > >> On Tue, Jun 19, 2018 at 11:09:17AM +0530, Vijay Viswanath wrote: >>> With SDCC5, the MCI register space got removed and the offset/order >of >>> several registers have changed=2E Based on SDCC version used and the >register, >>> we need to pick the base address and offset=2E >>> >>> Depends on patch series: "[PATCH V5 0/2] mmc: sdhci-msm: Configuring >IO_PAD support for sdhci-msm" >>> >>> Changes since RFC: >>> Dropped voltage regulator changes in sdhci-msm >>> Split the "Register changes for sdcc V5" patch >>> Instead of checking mci removal for deciding which base addr to >use, >>> new function pointers are defined for the 2 variants of sdcc: >>> 1) MCI present >>> 2) V5 (mci removed) >>> Instead of string comparing with the compatible string from DT >file, >>> the sdhci_msm_probe will now pick the data associated with the >>> compatible entry and use it to load variant specific address >offsets >>> and msm variant specific read/write ops=2E >>> >>> Changes since V1: >>> Removed unused msm_reab & msm_writeb APIs >>> Changed certain register addresses from uppercase to lowercase hex >>> letters >>> Removed extra lines and spaces >>> Split "[PATCH V1 0/3] Changes for SDCC5 version" patch into two, >>> one for Documentation and other for the driver changes=2E >>> >>> Changes since V2: >>> Used lower case for macro function defenitions >>> Removed unused function pointers for msm_readb & msm_writeb >>> >>> >>> Sayali Lokhande (3): >>> mmc: sdhci-msm: Define new Register address map >>> Documentation: sdhci-msm: Add new compatible string for SDCC v5 >>> mmc: host: Register changes for sdcc V5 >>> >>> Vijay Viswanath (1): >>> mmc: sdhci-msm: Add msm version specific ops and data structures >>> >>> =2E=2E=2E/devicetree/bindings/mmc/sdhci-msm=2Etxt | 7 +- >>> drivers/mmc/host/sdhci-msm=2Ec | 511 >++++++++++++++++----- >>> 2 files changed, 391 insertions(+), 127 deletions(-) >>> >>> --=20 >>> Qualcomm India Private Limited, on behalf of Qualcomm Innovation >Center, Inc=2E >>> Qualcomm Innovation Center, Inc=2E is a member of Code Aurora Forum, a >Linux Foundation Collaborative Project=2E >>> >>> -- >>> To unsubscribe from this list: send the line "unsubscribe >linux-arm-msm" in >>> the body of a message to majordomo@vger=2Ekernel=2Eorg >>> More majordomo info at http://vger=2Ekernel=2Eorg/majordomo-info=2Eht= ml > >Thanks, >Veera --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E