All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: Bjorn Andersson
	<Bjorn.Andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Andy Gross <agross-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Kevin Hilman <khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Josh Cartwright <joshc-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v7 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding
Date: Tue, 30 Sep 2014 11:02:53 -0500	[thread overview]
Message-ID: <2FC56515-E6AF-4A4D-9B04-70B4A8B2C4C7@codeaurora.org> (raw)
In-Reply-To: <20140930152838.GN28481-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>


On Sep 30, 2014, at 10:28 AM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:

> On Wed 24 Sep 09:39 PDT 2014, Kumar Gala wrote:
> 
>> 
>> On Sep 22, 2014, at 6:25 PM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:
>> 
> 
> [..]
> 
>>> diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
> 
> [..]
> 
>>> +- qcom,ipc:
>>> +     Usage: required
>>> +     Value type: <prop-encoded-array>
>>> +
>>> +     Definition: three entries specifying the outgoing ipc bit used for
>>> +                 signaling the RPM:
>>> +                 - phandle to a syscon node representing the apcs registers
>>> +                 - u32 representing offset to the register within the syscon
>>> +                 - u32 representing the ipc bit within the register
>>> +
>> 
>> Does this really ever differ for the SoCs, and even if it does why do we need
>> to encode it in DT.  Can’t we determine it via the compatible setting?
>> 
> 
> The two offsets could be hard coded, especially based on the compatible.
> 
> But I don't know if it's worth respinning this just to get those two number out
> of here. Also this is now "symmetric" with the smd use cases, where it
> shouldn't be hard coded.

I do think its worth respinning until the DT is agreed to as we shouldn’t be changing the binding.

I’m not sure how being ‘symmetric’ with the smd use case maters if we are treating this RPM support vs RPM-SMD as two different things.

- k
-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Kumar Gala <galak@codeaurora.org>
To: Bjorn Andersson <Bjorn.Andersson@sonymobile.com>
Cc: Rob Herring <robh+dt@kernel.org>, Mark Brown <broonie@kernel.org>,
	Lee Jones <lee.jones@linaro.org>, Pawel Moll <pawel.moll@arm.com>,
	Andy Gross <agross@codeaurora.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Kevin Hilman <khilman@linaro.org>,
	Josh Cartwright <joshc@codeaurora.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH v7 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding
Date: Tue, 30 Sep 2014 11:02:53 -0500	[thread overview]
Message-ID: <2FC56515-E6AF-4A4D-9B04-70B4A8B2C4C7@codeaurora.org> (raw)
In-Reply-To: <20140930152838.GN28481@sonymobile.com>


On Sep 30, 2014, at 10:28 AM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:

> On Wed 24 Sep 09:39 PDT 2014, Kumar Gala wrote:
> 
>> 
>> On Sep 22, 2014, at 6:25 PM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:
>> 
> 
> [..]
> 
>>> diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
> 
> [..]
> 
>>> +- qcom,ipc:
>>> +     Usage: required
>>> +     Value type: <prop-encoded-array>
>>> +
>>> +     Definition: three entries specifying the outgoing ipc bit used for
>>> +                 signaling the RPM:
>>> +                 - phandle to a syscon node representing the apcs registers
>>> +                 - u32 representing offset to the register within the syscon
>>> +                 - u32 representing the ipc bit within the register
>>> +
>> 
>> Does this really ever differ for the SoCs, and even if it does why do we need
>> to encode it in DT.  Can’t we determine it via the compatible setting?
>> 
> 
> The two offsets could be hard coded, especially based on the compatible.
> 
> But I don't know if it's worth respinning this just to get those two number out
> of here. Also this is now "symmetric" with the smd use cases, where it
> shouldn't be hard coded.

I do think its worth respinning until the DT is agreed to as we shouldn’t be changing the binding.

I’m not sure how being ‘symmetric’ with the smd use case maters if we are treating this RPM support vs RPM-SMD as two different things.

- k
-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation


WARNING: multiple messages have this Message-ID (diff)
From: galak@codeaurora.org (Kumar Gala)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding
Date: Tue, 30 Sep 2014 11:02:53 -0500	[thread overview]
Message-ID: <2FC56515-E6AF-4A4D-9B04-70B4A8B2C4C7@codeaurora.org> (raw)
In-Reply-To: <20140930152838.GN28481@sonymobile.com>


On Sep 30, 2014, at 10:28 AM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:

> On Wed 24 Sep 09:39 PDT 2014, Kumar Gala wrote:
> 
>> 
>> On Sep 22, 2014, at 6:25 PM, Bjorn Andersson <Bjorn.Andersson@sonymobile.com> wrote:
>> 
> 
> [..]
> 
>>> diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
> 
> [..]
> 
>>> +- qcom,ipc:
>>> +     Usage: required
>>> +     Value type: <prop-encoded-array>
>>> +
>>> +     Definition: three entries specifying the outgoing ipc bit used for
>>> +                 signaling the RPM:
>>> +                 - phandle to a syscon node representing the apcs registers
>>> +                 - u32 representing offset to the register within the syscon
>>> +                 - u32 representing the ipc bit within the register
>>> +
>> 
>> Does this really ever differ for the SoCs, and even if it does why do we need
>> to encode it in DT.  Can?t we determine it via the compatible setting?
>> 
> 
> The two offsets could be hard coded, especially based on the compatible.
> 
> But I don't know if it's worth respinning this just to get those two number out
> of here. Also this is now "symmetric" with the smd use cases, where it
> shouldn't be hard coded.

I do think its worth respinning until the DT is agreed to as we shouldn?t be changing the binding.

I?m not sure how being ?symmetric? with the smd use case maters if we are treating this RPM support vs RPM-SMD as two different things.

- k
-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

  parent reply	other threads:[~2014-09-30 16:02 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 23:25 [PATCH v7 0/3] Qualcomm Resource Power Manager driver Bjorn Andersson
2014-09-22 23:25 ` Bjorn Andersson
2014-09-22 23:25 ` Bjorn Andersson
2014-09-22 23:25 ` [PATCH v7 2/3] mfd: qcom-rpm: Driver for the Qualcomm RPM Bjorn Andersson
2014-09-22 23:25   ` Bjorn Andersson
2014-09-22 23:25   ` Bjorn Andersson
2014-09-24  8:23   ` Lee Jones
2014-09-24  8:23     ` Lee Jones
     [not found] ` <1411428329-23172-1-git-send-email-bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
2014-09-22 23:25   ` [PATCH v7 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding Bjorn Andersson
2014-09-22 23:25     ` Bjorn Andersson
2014-09-22 23:25     ` Bjorn Andersson
2014-09-24  8:22     ` Lee Jones
2014-09-24  8:22       ` Lee Jones
2014-09-24 15:53       ` Bjorn Andersson
2014-09-24 15:53         ` Bjorn Andersson
2014-09-24 15:53         ` Bjorn Andersson
2014-09-24 16:21         ` Lee Jones
2014-09-24 16:21           ` Lee Jones
2014-09-24 16:21           ` Lee Jones
     [not found]     ` <1411428329-23172-2-git-send-email-bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
2014-09-24 16:39       ` Kumar Gala
2014-09-24 16:39         ` Kumar Gala
2014-09-24 16:39         ` Kumar Gala
2014-09-30 15:28         ` Bjorn Andersson
2014-09-30 15:28           ` Bjorn Andersson
2014-09-30 15:28           ` Bjorn Andersson
     [not found]           ` <20140930152838.GN28481-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
2014-09-30 16:02             ` Kumar Gala [this message]
2014-09-30 16:02               ` Kumar Gala
2014-09-30 16:02               ` Kumar Gala
2014-09-30 16:25               ` Bjorn Andersson
2014-09-30 16:25                 ` Bjorn Andersson
2014-09-30 16:25                 ` Bjorn Andersson
2014-09-22 23:25   ` [PATCH v7 3/3] regulator: qcom-rpm: Regulator driver for the Qualcomm RPM Bjorn Andersson
2014-09-22 23:25     ` Bjorn Andersson
2014-09-22 23:25     ` Bjorn Andersson
2014-09-24  8:35     ` Mark Brown
2014-09-24  8:35       ` Mark Brown
2014-09-24 13:50       ` Kumar Gala
2014-09-24 13:50         ` Kumar Gala
2014-09-24 15:45         ` Mark Brown
2014-09-24 15:45           ` Mark Brown
     [not found]         ` <4437DA50-D8BC-4E78-821C-41440A08B9A9-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2014-09-30 15:33           ` Bjorn Andersson
2014-09-30 15:33             ` Bjorn Andersson
2014-09-30 15:33             ` Bjorn Andersson
2014-09-23  8:17   ` [PATCH v7 0/3] Qualcomm Resource Power Manager driver Srinivas Kandagatla
2014-09-23  8:17     ` Srinivas Kandagatla
2014-09-23  8:17     ` Srinivas Kandagatla
2014-09-24  4:27     ` Bjorn Andersson
2014-09-24  4:27       ` Bjorn Andersson
2014-09-24  4:27       ` Bjorn Andersson
2014-09-24  7:55       ` Lee Jones
2014-09-24  7:55         ` Lee Jones
2014-09-24  7:55         ` Lee Jones
2014-09-24  8:11         ` Lee Jones
2014-09-24  8:11           ` Lee Jones
2014-09-24  8:11           ` Lee Jones
2014-09-24 13:46       ` Kumar Gala
2014-09-24 13:46         ` Kumar Gala
2014-09-24 13:46         ` Kumar Gala

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=2FC56515-E6AF-4A4D-9B04-70B4A8B2C4C7@codeaurora.org \
    --to=galak-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
    --cc=Bjorn.Andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org \
    --cc=agross-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=joshc-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=khilman-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /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.