Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2310580imm; Sun, 7 Oct 2018 01:08:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV61LJABDjxZPgETIMxKFv50zPRko5eCRX+eYoYCVLmw7LkOXYZJdhmqSSoOzhnOOvyGVVtu+ X-Received: by 2002:a17:902:7d86:: with SMTP id a6-v6mr18960444plm.314.1538899727674; Sun, 07 Oct 2018 01:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538899727; cv=none; d=google.com; s=arc-20160816; b=MqtV/QklVZjYd2E7X1fMzx8fmX/KCKZSaSN7hHrtCOzswu1GrQOmzofezn/6wV7OB6 TexH5444Caqw4FqgiK2zmWFpq9LkhXd36SITjF5imPOLl7kj2JF3wZ7FpchZMjWzgQEQ 7TiFZ67envFR//ys+9x23D2uD1NRFoD/3ipo5XpQy/Cf+YtF8LPBBPMa8AiN7f5ywxDz LZo4IVsWBf4F/PU7eGlGzMFBhMYRh70ymdUHqQa72L8I3+Jt6vuGNqV/lC4vHzjmGF1r k7gl6zC1RLWzH3qTf6V5PeXAZPv3ISfWfo6zS+i+/mb0SsEO9BG4yshfvn5yXTFGoX4i UV7Q== 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=+LiuT5tc9K65xktWfAQcJTc6+fJBESruVTUuxbPiIUc=; b=kP+vkvBOyibZEqHCmQ2W/kJ2Fl0R/Ygr9pDyP/UzAgkajEc4LkuXH4cMC4afIF+1RE 4lxp8ZvdyF2R/oA7OC1I7hppv4PASebSbpzFHHpMYuFWGZGVfoTioJGXhqGi55NEFSwv 4ye3/G3hPTdJ88z4a3uPwXI3VDFgkR75y5lZm/ni0Q46VmBJ/6ib1djLEM3v3wvPKwgr Qsvm2iBNVwxD3+cyL1w5pBq1f5xNlGHEx0FDuSCgjn6gNm4eoM3MA++lzdF9wEfIsz5L sCMcPvGru1k/48IuG0Y/4KfLLiAitIt9sTK+frzf/a5LJsUBFKvn3WBhT14/yDWWbtPP 5AJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=SiwSByBE; 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 7-v6si12877439pgw.401.2018.10.07.01.08.05; Sun, 07 Oct 2018 01:08:47 -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=SiwSByBE; 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 S1727002AbeJGPO1 (ORCPT + 99 others); Sun, 7 Oct 2018 11:14:27 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40328 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbeJGPO1 (ORCPT ); Sun, 7 Oct 2018 11:14:27 -0400 Received: by mail-wr1-f65.google.com with SMTP id d2-v6so13051685wro.7; Sun, 07 Oct 2018 01:07:58 -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=+LiuT5tc9K65xktWfAQcJTc6+fJBESruVTUuxbPiIUc=; b=SiwSByBExBL6bgsDbvyRveF8yM/C+nmTjT9LLHq/O7+zhZqYX+if7SVQITpLtAUBDe y4Efn/DLsKZscbTQjQYJtiTNv5pbB/TogEB+rRdPttTaD5dX4BT10nnRHVmAkSugRjwr hfq5taPdoovV0ff3R3DmZ9Btua62EJM5z6cQA4gUQBRAnfbGEMm4AsQs1LKKXxeq/hkP QvfvcWl60j2HZIWNjmZZLVO915WfuPjA4jNXaqZYo+2Xn6hEiUD0VlVAin3ppqf1oWCL Y7y4EK3UQ5739cxHLEU5K5rtbRIkznI7s3Bq+eg4fhanYga+/U5/n6+UX7EGNp984Jvo KEbQ== 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=+LiuT5tc9K65xktWfAQcJTc6+fJBESruVTUuxbPiIUc=; b=niPiRWKy/o2MBLtidJR4gTz+GUFGB5DOWzrHYyrumNnCeCCyhkUVdeJwEaY4ATC+kJ gnOV+Qc5TsPkJs9m/f/JUffcjAmpuxBCLiD+vUGR+ZVEzl4DwNbFqFCno/LJI+WR5Hhk k1wJaXH9bZPmDXEg/Y6YFg1hzzYkH5Pe1iAuZ0RClqWBaEANjkWagE3y/f7gnLKhC3dA SE+AoJ+tuZlbxDmbXHn/8J2KfbVOB/ZUb9Ae+FtfjG3WYsUnP53e5Bl022/HuwBCBT40 d5Qfr8xZrIYlLLB4mryBJORgyrWwVqe1IP4WUogZASAkAeJQVrjpBxpvLJwHIP6B1JqW qSZA== X-Gm-Message-State: ABuFfoh93OyxnB4lPfhEifS5jdpV78cbBzMUy4PPhGrIr/BMt7hAdOSE jPWTyLXWHNWC9MyX81deWQ== X-Received: by 2002:adf:e94b:: with SMTP id m11-v6mr13190212wrn.126.1538899677960; Sun, 07 Oct 2018 01:07:57 -0700 (PDT) Received: from [192.168.1.79] (host86-147-130-6.range86-147.btcentralplus.com. [86.147.130.6]) by smtp.gmail.com with ESMTPSA id y12-v6sm8895967wrq.33.2018.10.07.01.07.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Oct 2018 01:07:57 -0700 (PDT) Date: Sun, 07 Oct 2018 09:07:52 +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: <74ABB71C-6B0C-44AE-BC30-1F385ADC3E42@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any updates on this? On 25 September 2018 16:39:33 BST, Craig wrote: > > >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 > =20 >compatible =3D "qcom,sdhci-msm-v5"; = =20 > =20 >reg =3D <0xc0c4000 0x1000>, <0xc0c5000 0x1000>; = =20 > =20 >interrupts =3D ; = =20 > =20 >interrupt-names =3D "pwr_irq"; = =20 > =20 > =20 >bus-width =3D <8>; = =20 > =20 >non-removable; =20 > =20 > =20 >vmmc-supply =3D <&pm660l_l4>; = =20 > =20 >vqmmc-supply =3D <&pm660_l8>; = =20 > =20 > =20 >pinctrl-names =3D "default"; = =20 > =20 >pinctrl-0 =3D <&sdc1_clk &sdc1_cmd &sdc1_data &sdc1_rclk>; = =20 > =20 > =20 >clocks =3D <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; = =20 > =20 >clock-names =3D "core", "iface"; = =20 > =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 > >>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=2Eh= tml >> >>Thanks, >>Veera --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E