From: ygardi@codeaurora.org
To: Rob Herring <robherring2@gmail.com>
Cc: Yaniv Gardi <ygardi@codeaurora.org>,
Jej B <james.bottomley@hansenpartnership.com>,
Paul Bolle <pebolle@tiscali.nl>,
hch@infradead.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-scsi@vger.kernel.org,
linux-arm-msm <linux-arm-msm@vger.kernel.org>,
Santosh Y <santoshsy@gmail.com>,
linux-scsi-owner@vger.kernel.org,
Subhash Jadavani <subhashj@codeaurora.org>,
Gilad Broner <gbroner@codeaurora.org>,
Dolev Raviv <draviv@codeaurora.org>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Vinayak Holikatti <vinholikatti@gmail.com>,
"James E.J. Bottomley" <jbottomley@odin.com>,
Christoph Hellwig <hch@lst.de>,
Sujit Reddy Thumma <sthumma@codeaurora.org>,
Raviv Shvili <rshvili@codeaur>
Subject: Re: [PATCH v3 6/8] scsi: ufs: make the UFS variant a platform device
Date: Sun, 25 Oct 2015 09:31:26 -0000 [thread overview]
Message-ID: <41ad8423ef4d90ddc900c593aa57547d.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <CAL_JsqLYeM3fbU5jHq-+7SbwHH7T80bETZpkkjR_hbg=un1BBg@mail.gmail.com>
> On Sun, Aug 23, 2015 at 8:09 AM, Yaniv Gardi <ygardi@codeaurora.org>
> wrote:
>> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS
>> a platform device.
>> In order to do so a few additional changes are required:
>> 1. The ufshcd-pltfrm is no longer serves as a platform device.
>> Now it only serves as a group of platform APIs such as PM APIs
>> (runtime suspend/resume, system suspend/resume etc), parsers of
>> clocks, regulators and pm_levels from DT.
>> 2. What used to be the old platform "probe" is now "only"
>> a pltfrm_init() routine, that does exactly the same, but only
>> being called by the new probe function of the UFS variant.
>>
>> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
>>
>> ---
>> .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 2 +-
>> drivers/scsi/ufs/ufs-qcom.c | 78
>> +++++++++++++++++-
>> drivers/scsi/ufs/ufshcd-pltfrm.c | 92
>> ++++++----------------
>> drivers/scsi/ufs/ufshcd-pltfrm.h | 41 ++++++++++
>> drivers/scsi/ufs/ufshcd.c | 10 +++
>> drivers/scsi/ufs/ufshcd.h | 1 +
>> 6 files changed, 152 insertions(+), 72 deletions(-)
>> create mode 100644 drivers/scsi/ufs/ufshcd-pltfrm.h
>>
>> diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> index 5357919..b39e765 100644
>> --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> @@ -4,7 +4,7 @@ UFSHC nodes are defined to describe on-chip UFS host
>> controllers.
>> Each UFS controller instance should have its own node.
>>
>> Required properties:
>> -- compatible : compatible list, contains "jedec,ufs-1.1"
>> +- compatible : compatible list, contains "jedec,ufs-1.1" or
>> "qcom,ufshc"
>
> Replying again as I inadvertently dropped everyone.
>
> This should also have a more specific compatible string with the SOC
> name/number in it. It may be "the same in all SOCs", but there is
> always the possibility for bugs/limitations to be found that are
> specific to an SOC even if all RTL versions are identical (e.g.
> different max clock speeds). It is about making the dtb future proof,
> not about what exactly you need today. You can keep qcom,ufshc for
> driver matching if you want.
>
>> - interrupts : <interrupt mapping for UFS host controller IRQ>
>> - reg : <registers mapping>
>
> What about phy properties? No Unipro PHY block that requires setup?
phy properties will be updated in V8 that shortly will be uploaded.
>
> Rob
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
WARNING: multiple messages have this Message-ID (diff)
From: ygardi@codeaurora.org
To: "Rob Herring" <robherring2@gmail.com>
Cc: "Yaniv Gardi" <ygardi@codeaurora.org>,
"Jej B" <james.bottomley@hansenpartnership.com>,
"Paul Bolle" <pebolle@tiscali.nl>,
hch@infradead.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-scsi@vger.kernel.org,
"linux-arm-msm" <linux-arm-msm@vger.kernel.org>,
"Santosh Y" <santoshsy@gmail.com>,
linux-scsi-owner@vger.kernel.org,
"Subhash Jadavani" <subhashj@codeaurora.org>,
"Gilad Broner" <gbroner@codeaurora.org>,
"Dolev Raviv" <draviv@codeaurora.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Pawel Moll" <pawel.moll@arm.com>,
"Mark Rutland" <mark.rutland@arm.com>,
"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
"Kumar Gala" <galak@codeaurora.org>,
"Vinayak Holikatti" <vinholikatti@gmail.com>,
"James E.J. Bottomley" <jbottomley@odin.com>,
"Christoph Hellwig" <hch@lst.de>,
"Sujit Reddy Thumma" <sthumma@codeaurora.org>,
"Raviv Shvili" <rshvili@codeaurora.org>,
"Sahitya Tummala" <stummala@codeaurora.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>
Subject: Re: [PATCH v3 6/8] scsi: ufs: make the UFS variant a platform device
Date: Sun, 25 Oct 2015 09:31:26 -0000 [thread overview]
Message-ID: <41ad8423ef4d90ddc900c593aa57547d.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <CAL_JsqLYeM3fbU5jHq-+7SbwHH7T80bETZpkkjR_hbg=un1BBg@mail.gmail.com>
> On Sun, Aug 23, 2015 at 8:09 AM, Yaniv Gardi <ygardi@codeaurora.org>
> wrote:
>> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS
>> a platform device.
>> In order to do so a few additional changes are required:
>> 1. The ufshcd-pltfrm is no longer serves as a platform device.
>> Now it only serves as a group of platform APIs such as PM APIs
>> (runtime suspend/resume, system suspend/resume etc), parsers of
>> clocks, regulators and pm_levels from DT.
>> 2. What used to be the old platform "probe" is now "only"
>> a pltfrm_init() routine, that does exactly the same, but only
>> being called by the new probe function of the UFS variant.
>>
>> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
>>
>> ---
>> .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 2 +-
>> drivers/scsi/ufs/ufs-qcom.c | 78
>> +++++++++++++++++-
>> drivers/scsi/ufs/ufshcd-pltfrm.c | 92
>> ++++++----------------
>> drivers/scsi/ufs/ufshcd-pltfrm.h | 41 ++++++++++
>> drivers/scsi/ufs/ufshcd.c | 10 +++
>> drivers/scsi/ufs/ufshcd.h | 1 +
>> 6 files changed, 152 insertions(+), 72 deletions(-)
>> create mode 100644 drivers/scsi/ufs/ufshcd-pltfrm.h
>>
>> diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> index 5357919..b39e765 100644
>> --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
>> @@ -4,7 +4,7 @@ UFSHC nodes are defined to describe on-chip UFS host
>> controllers.
>> Each UFS controller instance should have its own node.
>>
>> Required properties:
>> -- compatible : compatible list, contains "jedec,ufs-1.1"
>> +- compatible : compatible list, contains "jedec,ufs-1.1" or
>> "qcom,ufshc"
>
> Replying again as I inadvertently dropped everyone.
>
> This should also have a more specific compatible string with the SOC
> name/number in it. It may be "the same in all SOCs", but there is
> always the possibility for bugs/limitations to be found that are
> specific to an SOC even if all RTL versions are identical (e.g.
> different max clock speeds). It is about making the dtb future proof,
> not about what exactly you need today. You can keep qcom,ufshc for
> driver matching if you want.
>
>> - interrupts : <interrupt mapping for UFS host controller IRQ>
>> - reg : <registers mapping>
>
> What about phy properties? No Unipro PHY block that requires setup?
phy properties will be updated in V8 that shortly will be uploaded.
>
> Rob
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2015-10-25 9:31 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-23 13:09 [PATCH v2 0/8] Fix error message and present UFS variant Yaniv Gardi
2015-08-23 13:09 ` [PATCH v3 1/8] phy: qcom-ufs: fix build error when the component is built as a module Yaniv Gardi
2015-08-25 11:52 ` ygardi
2015-08-25 11:52 ` ygardi
2015-08-23 13:09 ` [PATCH v3 2/8] scsi: ufs-qcom: fix compilation warning if compiled " Yaniv Gardi
2015-08-25 11:53 ` ygardi
2015-08-25 11:53 ` ygardi
2015-08-23 13:09 ` [PATCH v3 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component Yaniv Gardi
2015-08-25 11:53 ` ygardi
2015-08-25 11:53 ` ygardi
2015-08-23 13:09 ` [PATCH v3 4/8] add ufshcd_get_variant ufshcd_set_variant Yaniv Gardi
2015-08-25 11:53 ` ygardi
2015-08-25 11:53 ` ygardi
2015-08-23 13:09 ` [PATCH v3 5/8] scsi: ufs: creates wrapper functions for vops Yaniv Gardi
2015-08-25 11:53 ` ygardi
2015-08-25 11:53 ` ygardi
2015-08-23 13:09 ` [PATCH v3 6/8] scsi: ufs: make the UFS variant a platform device Yaniv Gardi
2015-08-23 13:09 ` Yaniv Gardi
2015-08-25 11:54 ` ygardi
2015-08-25 11:54 ` ygardi
2015-08-27 17:56 ` Rob Herring
2015-08-27 17:56 ` Rob Herring
2015-08-30 8:43 ` ygardi
2015-08-30 8:43 ` ygardi
2015-08-30 13:18 ` Rob Herring
2015-08-30 13:18 ` Rob Herring
2015-10-25 9:24 ` ygardi
2015-10-25 9:24 ` ygardi
2015-10-25 9:31 ` ygardi [this message]
2015-10-25 9:31 ` ygardi
2015-08-23 13:09 ` [PATCH v3 7/8] scsi: ufs-qcom: add debug prints for test bus Yaniv Gardi
2015-08-25 11:54 ` ygardi
2015-08-25 11:54 ` ygardi
2015-08-23 13:09 ` [PATCH v3 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations Yaniv Gardi
2015-08-25 11:55 ` ygardi
2015-08-25 11:55 ` ygardi
2015-08-24 23:47 ` [PATCH v2 0/8] Fix error message and present UFS variant Akinobu Mita
2015-08-25 11:49 ` ygardi
2015-10-20 8:03 ` ygardi
2015-08-25 11:52 ` [PATCH v3 " ygardi
2015-08-25 11:52 ` ygardi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41ad8423ef4d90ddc900c593aa57547d.squirrel@www.codeaurora.org \
--to=ygardi@codeaurora.org \
--cc=draviv@codeaurora.org \
--cc=galak@codeaurora.org \
--cc=gbroner@codeaurora.org \
--cc=hch@infradead.org \
--cc=hch@lst.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=james.bottomley@hansenpartnership.com \
--cc=jbottomley@odin.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi-owner@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=pebolle@tiscali.nl \
--cc=robh+dt@kernel.org \
--cc=robherring2@gmail.com \
--cc=rshvili@codeaur \
--cc=santoshsy@gmail.com \
--cc=sthumma@codeaurora.org \
--cc=subhashj@codeaurora.org \
--cc=vinholikatti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.