Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3825319imm; Mon, 2 Jul 2018 06:18:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfob5tDjdJB0DM2e7DUDs37JeQC/cxSNu3bpWsOcSpz5NeiumVMNryoFq6hNiNmVPHtKQv7 X-Received: by 2002:a62:f50b:: with SMTP id n11-v6mr15381614pfh.120.1530537530333; Mon, 02 Jul 2018 06:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530537530; cv=none; d=google.com; s=arc-20160816; b=I4tRxJuVIDEkXRtfqVCinbzHl7kdSFtTe8mqVL8FYupNNU4RYaF92Eqo7RCFxhT2Vk 4kq1mLnJ4LSsAvIPor8cdthYucBkxDVxn8iysyeTrazmGTKaFfeBHwyBbPyxk8GzUhOY NRewmIy2HQKepNyAz4f/7SQctlHnJ1YWkV/CtUuAyJZxlma1VgHMCkkWkdQblP95Sftk hg9AWQgdnRbxKNKWU6a82iMcyAIkMC6aGvMEnehiROQQQBDZMJZTZhkFvEI8xp1jH8aA EE0pi+TJHAR0OMmwmlO9QDKkr7R0vdtUu3H4ND9Fv28IoXWya6GVe3cgW6QgHT2QYUOF tq5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Q9ZvjjYmfmgJDZhBm928CapR8nVFyc9uH4YgIolc3Iw=; b=NfMYcRU/u+S9hyBTiXMFv3kJ9z+Au5/4lhoEK1/uzZ1WYicWrV9P8F4RPE2e1/edLi QT0melo/QIki6E4YrMkcsYMsVBNCclLsNulUE7bgsDLvDX7f4+CdraXQrLyqwq6GU8dr EW/O++V+hHxsdK71M60AjrKlRsftO7l1/9O3WNrMhqbXlvTZKT9n6O+TUVSsqegSiAW3 9n/LpD97sXv3ujwbEi4I4ny06sEFzTEd9lXPBqzU/LTrE7XUQ1rr/e0IDKJ4y8b4TZhL fi0oJPUNQtTP40gtXYE3/VJ/S3L1xPzC6nU/9W0Itc3PqrNNC8Q/K1f+plqGGokGIC1v NY9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QcsQk/7r"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si3826557pfd.142.2018.07.02.06.18.35; Mon, 02 Jul 2018 06:18:50 -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=pass header.i=@linaro.org header.s=google header.b="QcsQk/7r"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbeGBNR2 (ORCPT + 99 others); Mon, 2 Jul 2018 09:17:28 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:39044 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbeGBNRX (ORCPT ); Mon, 2 Jul 2018 09:17:23 -0400 Received: by mail-io0-f193.google.com with SMTP id e13-v6so14694188iof.6 for ; Mon, 02 Jul 2018 06:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Q9ZvjjYmfmgJDZhBm928CapR8nVFyc9uH4YgIolc3Iw=; b=QcsQk/7r6Oigh3tcrW1WCROeOn5K15BtVXC0XYbHBtNf9IPHlYGQYje1YbsHdIdjO4 /VeCkYeNzufZbUrhkZcEHgcYPi4Ejq+WhRx5C+Hen7AVQv09KYNuDT565f8XM+EYt+Cg dyfS4Pt5nKilCqQAxQawGfUDLX9X+AweTiRYA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Q9ZvjjYmfmgJDZhBm928CapR8nVFyc9uH4YgIolc3Iw=; b=j6horrRy6VmisB2nMHkKbrSDBGH2lOTUROOvxbdBwBc3z6DO/HsIG3zIYu7cmRDC50 ikMJ7W8h9ToY9AF7zruf8gylR9HB8J6+a+DgGSiwOvR2NZRH8CuMe96vkyMHUqPZOD66 spCw6Zsror861OS0vQAWUoNvgngOhAkBbXBIjQixPQqrQ+cDGWJxLX5gyFYdRuT9rebE EdyCO2vpxkzR84zTyOPr7nggJgbHHoGVjWjec4cLkenOvxQ/TkYQkJLIhccUgzz4C7C+ R2cVzlt5wHJKEhd/zKHbpUO4G6zjhx5USXdKvse8wM/Z0XOkaAb3jobWngjSL+6b8JXd shqQ== X-Gm-Message-State: APt69E2trp1m64OhaO+Jb3Ha9nlwZ5H9ER3wCT9SpIERrPDUNY3NyxEj Pu0VzoqhAIqZT0Ieo2X7E3ddvbYqVaCMTJNM5EUhGA== X-Received: by 2002:a6b:c997:: with SMTP id z145-v6mr14739770iof.266.1530537442669; Mon, 02 Jul 2018 06:17:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:818f:0:0:0:0:0 with HTTP; Mon, 2 Jul 2018 06:17:21 -0700 (PDT) In-Reply-To: <1529386761-4923-1-git-send-email-vviswana@codeaurora.org> References: <1529386761-4923-1-git-send-email-vviswana@codeaurora.org> From: Ulf Hansson Date: Mon, 2 Jul 2018 15:17:21 +0200 Message-ID: Subject: Re: [PATCH V3 0/4] Changes for SDCC5 version To: Vijay Viswanath Cc: Adrian Hunter , Rob Herring , Mark Rutland , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Shawn Lin , linux-arm-msm , Georgi Djakov , devicetree@vger.kernel.org, Asutosh Das , Sahitya Tummala , Venkat Gopalakrishnan , Jeremy McNicoll , Bjorn Andersson , Harjani Ritesh , vbadigan@codeaurora.org, Doug Anderson , sayalil@codeaurora.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19 June 2018 at 07:39, Vijay Viswanath wrote: > With SDCC5, the MCI register space got removed and the offset/order of > several registers have changed. Based on SDCC version used and the register, > we need to pick the base address and offset. > > 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. > > 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. > > 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 > > .../devicetree/bindings/mmc/sdhci-msm.txt | 7 +- > drivers/mmc/host/sdhci-msm.c | 511 ++++++++++++++++----- > 2 files changed, 391 insertions(+), 127 deletions(-) > Thanks, applied for next! Kind regards Uffe