On 11/23/15 16:47, Stephen Boyd wrote:
> On 11/22, Rob Herring wrote:
>>
>> Much more reasonable now. I do find the '/' in it a bit strange though.
> I can remove the backslash if you like. Is a dash more preferred?
>
>> Acked-by: Rob Herring
>>
>
On 11/17/15 16:06, Stephen Boyd wrote:
> From: "Ivan T. Ivanov"
>
> Revision ID registers are available only on devices with
> Slave IDs that are even, so don't make access to unavailable
> registers.
>
> Signed-off-by: Ivan T. Ivanov
> [sb...@codeaurora.or
These clocks are fixed rate board sources that should be in DT.
Add them.
Cc: Georgi Djakov
Signed-off-by: Stephen Boyd
---
It seems that I never sent out the updated version of this patch
to cover all the SoCs we have. This is on top of linux-next.
arch/arm/boot/dts/qcom-apq8084.dtsi | 14
of_irq_count() is not an exported symbol (and it shouldn't be
used by platform drivers anyway) so use platform_irq_count()
instead. This allows us to make the qcom pinctrl drivers modular
again.
Cc: Rob Herring
Cc: Andy Gross
Cc: Bjorn Andersson
Signed-off-by: Stephen Boyd
---
Changes
On 01/06/16 17:19, Bjorn Andersson wrote:
> On Wed, Jan 6, 2016 at 5:12 PM, Stephen Boyd wrote:
>> of_irq_count() is not an exported symbol (and it shouldn't be
>> used by platform drivers anyway) so use platform_irq_count()
>> instead. This allows us to make the qc
drivers should use
platform device APIs instead. Therefore, add a platform_irq_count()
API that mirrors the of_irq_count() API so that platform drivers
can stay DT agnostic.
Cc: Rob Herring
Cc: Greg Kroah-Hartman
Cc: Andy Gross
Signed-off-by: Stephen Boyd
---
drivers/base/platform
of_irq_count() is not an exported symbol (and it shouldn't be
used by platform drivers anyway) so use platform_irq_count()
instead. This allows us to make the qcom pinctrl drivers modular
again.
Cc: Rob Herring
Cc: Andy Gross
Signed-off-by: Stephen Boyd
---
drivers/pinctrl/qcom/pinctrl
ol so that the build
failure went away, so I've reverted that patch here after
we fix the build failure with the new API.
Greg, please ack the first patch so it can go through Linus'
tree.
Cc: Rob Herring
Cc: Greg Kroah-Hartman
Cc: Andy Gross
Stephen Boyd (3):
driver-core
This reverts commit bda7c4c2b9767ce2af4394754498662d62079af5.
These drivers build as modules now that we use
platform_irq_count() instead of of_irq_count().
Cc: Rob Herring
Cc: Andy Gross
Signed-off-by: Stephen Boyd
---
drivers/pinctrl/qcom/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2
On 12/11, Nicolas Pitre wrote:
> On Fri, 11 Dec 2015, Arnd Bergmann wrote:
>
> > On Friday 11 December 2015 12:22:20 Nicolas Pitre wrote:
> > > Subject: [PATCH] ARM: Runtime patch udiv/sdiv instructions into
> > > __aeabi_{u}idiv()
> > >
>
> Thanks.
>
> > Before you put it in the patch tracker
Typically we return error pointers when we want to use those
pointers in the non-error case, but this function is just
returning error pointers or NULL for success. Change the style to
plain int to follow normal kernel coding styles.
Cc: Joachim Eastwood
Signed-off-by: Stephen Boyd
---
.../net
On 12/02, Archit Taneja wrote:
> On 12/02/2015 01:50 PM, Stephen Boyd wrote:
> >
> >My only thought there would be to make of_clk_set_defaults() wait
> >until both clocks are registered before it does any parent
> >setting. But only in the case where the assigned paren
On 12/02, Stephen Boyd wrote:
>
> My only thought there would be to make of_clk_set_defaults() wait
> until both clocks are registered before it does any parent
> setting. But only in the case where the assigned parents contains
> a clock that is provided by the node being proce
On 11/23, Archit Taneja wrote:
>
>
> On 11/21/2015 1:29 AM, Rob Herring wrote:
> >+Stephen
> >
> >On Wed, Nov 18, 2015 at 9:24 AM, Archit Taneja
> >wrote:
> >>Hi Rob,
> >>
> >>On 11/18/2015 6:48 PM, Rob Herring wrote:
> >>>
> >>>+dt list
> >>>
> >>>On Wed, Nov 18, 2015 at 4:55 AM, Archit Taneja
On 11/27, Rajendra Nayak wrote:
> >
> > I'm lost. I was hoping we could just make up a clkspec on the
> > stack and pass it over to of_clk_get_from_provider() without
> > having to go through the np of the client device. The point being
> > to avoid forcing this code from knowing about the consumer
On 12/01, Rajendra Nayak wrote:
>
> On 12/01/2015 07:52 AM, Stephen Boyd wrote:
> > On 11/26, Rajendra Nayak wrote:
> >
> >> + udelay(1);
> >> + }
> >> +
> >> + do {
> >> + if (gdsc_is_enabled(sc, statu
On 12/01, Rajendra Nayak wrote:
>
> On 12/01/2015 05:18 AM, Stephen Boyd wrote:
> > On 11/26, Rajendra Nayak wrote:
> >> Add new dtsi and dts files for the apq8096 dragonboards with just
> >> a serial device used as debug console
> >>
> >> Si
On 11/30, Stephen Boyd wrote:
> These patches add support for the global and multimedia clock controllers
> found on MSM8996 devices. The first patch allows us to implement a
> "power of two" divider of different widths with a table based divider.
> The second patch adds supp
On 11/26, Rajendra Nayak wrote:
> @@ -58,30 +58,34 @@ static int gdsc_toggle_logic(struct gdsc *sc, bool en)
> {
> int ret;
> u32 val = en ? 0 : SW_COLLAPSE_MASK;
> - u32 check = en ? PWR_ON_MASK : 0;
> unsigned long timeout;
> + unsigned int status_reg = sc->gdscr;
>
>
On 11/26, Rajendra Nayak wrote:
> Some gdscs might be controlled via voting registers and might not
> really disable when the kernel intends to disable them (due to other
> votes keeping them enabled)
> Mark these gdscs with a flag for we do not check/wait on a disable
> status for these gdscs with
Add support for configuring rates of, enabling, and disabling
Alpha PLLs. This is sufficient for the types of PLLs found in
the global and multimedia clock controllers.
Signed-off-by: Stephen Boyd
---
drivers/clk/qcom/Makefile| 1 +
drivers/clk/qcom/clk-alpha-pll.c | 355
ng to
_get_table_maxdiv() so that we only return the maximum divider
that is valid. This is useful for clocks that want to share the
same divider table while limiting the available dividers to some
subset of the table depending on the width of the bitfield.
Cc: Rajendra Nayak
Signed-off-by: Stephen Boyd
---
dr
tween frequencies that aren't
the maximum. Implement custom rcg clk ops for this type of
frequency switching.
Signed-off-by: Stephen Boyd
---
drivers/clk/qcom/clk-rcg.h | 1 +
drivers/clk/qcom/clk-rcg2.c | 87 +
2 files changed, 88 insertions(+)
di
Add a driver for the multimedia clock controller found on MSM8996
based devices. This should allow most multimedia device drivers
to probe and control their clocks.
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/clock/qcom,mmcc.txt|1 +
drivers/clk/qcom/Kconfig
dd support for the two clock controllers. The fourth patch is
a new type of clock ops for the graphics clock that does some custom
ping-pong between different PLLs when switching graphics frequencies.
Changes from v1:
* Added some missing clocks in gcc and mmcc drivers
* Updated PLL settings in mmc
gmann
Signed-off-by: Stephen Boyd
---
arch/arm/Makefile | 3 +--
arch/arm/mach-qcom/Kconfig | 13 +
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 2c2b28ee4811..dd5799dbcf26 100644
--- a/arch/arm/Makefile
+++ b/arc
Drop these configs now that we select the clocksources we need
via the defconfig.
Acked-by: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
arch/arm/mach-qcom/Kconfig | 12
1 file changed, 12 deletions(-)
diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index
Enable this config in the defconfig so that we can delete the
selection logic surrounding it that exists in mach-qcom/Kconfig.
Acked-by: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
arch/arm/configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs
tch 1 replaced with one that moves config to mach-qcom/Kconfig
* Applied Arnd's acks to patches 2 and 3
Stephen Boyd (3):
ARM: qcom: Make an option for qcom 'a-family' platforms
ARM: qcom_defconfig: Enable HAVE_ARM_ARCH_TIMER
ARM: qcom: Drop ARCH_MSM* configs
arch/arm/Makefil
Enable some ssbi drivers present on msm8660, msm8960 and apq8064
devices so that we fully exercise the devices present in the dts
files.
Signed-off-by: Stephen Boyd
---
arch/arm/configs/qcom_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/configs/qcom_defconfig b
On 11/26, Rajendra Nayak wrote:
> Add new dtsi and dts files for the apq8096 dragonboards with just
> a serial device used as debug console
>
> Signed-off-by: Rajendra Nayak
> ---
> Patch applies on top of Stephens' patches to add msm8996 dtsi
> https://lkml.org/lkml/2015/11/17/955
>
> arch/arm
The #size-cells for the pmics are 0, but we specify a size in the
reg property so that MPP and GPIO modules can figure out how many
pins there are. Now that we've done that by counting irqs, we can
remove the size elements in the reg properties and be DT
compliant.
Signed-off-by: Stephen
The #size-cells for the pmics are 0, but we specify a size in the
reg property so that MPP and GPIO modules can figure out how many
pins there are. Now that we've done that by counting irqs, we can
remove the size elements in the reg properties and be DT
compliant.
Signed-off-by: Stephen
d to count the irqs instead
of look at this reg property, we can apply this patch to remove the size
elements and be DT compliant. That would be a complicated cross-merge
between pinctrl and arm-soc trees though, so perhaps this series should
wait until the two trees meet in v4.5?
Stephen Boyd (2):
On 11/25/15 14:08, Arnd Bergmann wrote:
> On Wednesday 25 November 2015 13:04:36 Stephen Boyd wrote:
>> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
>> index 2c2b28ee4811..999d523ac09f 100644
>> --- a/arch/arm/Makefile
>> +++ b/arch/arm/Makefile
>
. Using the division
instructions should be faster and less power intensive than
running the support code.
Cc: Nicolas Pitre
Cc: Arnd Bergmann
Cc: Steven Rostedt
Cc: Måns Rullgård
Cc: Thomas Petazzoni
Signed-off-by: Stephen Boyd
---
arch/arm/Kconfig | 14 +
arch/arm/include
Pitre
Cc: Arnd Bergmann
Cc: Steven Rostedt
Cc: Måns Rullgård
Cc: Michal Marek
Signed-off-by: Stephen Boyd
---
scripts/Makefile | 1 +
scripts/Makefile.build | 17 +-
scripts/recorduidiv.c | 745 +
3 files changed, 761 insertions(+), 2
c: Måns Rullgård
Cc: Thomas Petazzoni
Cc: Michal Marek
Cc: Russell King - ARM Linux
Stephen Boyd (2):
scripts: Add a recorduidiv program
ARM: Replace calls to __aeabi_{u}idiv with udiv/sdiv instructions
arch/arm/Kconfig | 14 +
arch/arm/include/asm/cputype.h | 8 +-
arch/arm
Enable this config in the defconfig so that we can delete the
selection logic surrounding it that exists in mach-qcom/Kconfig.
Acked-by: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
arch/arm/configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs
Drop these configs now that we select the clocksources we need
via the defconfig.
Acked-by: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
arch/arm/mach-qcom/Kconfig | 12
1 file changed, 12 deletions(-)
diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index
patches 2 and 3
Stephen Boyd (3):
ARM: qcom: Make an option for qcom clocksource platforms
ARM: qcom_defconfig: Enable HAVE_ARM_ARCH_TIMER
ARM: qcom: Drop ARCH_MSM* configs
arch/arm/Makefile | 3 +--
arch/arm/configs/qcom_defconfig | 1 +
arch/arm/mach-qcom/Kconfig
t the text offset by
2MB or not, because the two go hand in hand.
Cc: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
arch/arm/Makefile | 3 +--
arch/arm/mach-qcom/Kconfig | 8
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
On 11/25/15 12:30, Arnd Bergmann wrote:
> On Wednesday 25 November 2015 11:34:47 Stephen Boyd wrote:
>> On 11/25, Arnd Bergmann wrote:
>>> On Wednesday 25 November 2015 13:27:55 Daniel Lezcano wrote:
>>>> What about:
>>>>
>>>> tex
On 11/25, Arnd Bergmann wrote:
> On Wednesday 25 November 2015 13:27:55 Daniel Lezcano wrote:
> >
> > What about:
> >
> > textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
> > textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
> >
> > in arch/arm/Makefile
>
> Good point, we need to do something about thes
On 11/25/15 06:13, Lina Iyer wrote:
> On Tue, Nov 24 2015 at 14:00 -0700, Stephen Boyd wrote:
>> On 11/17, Lina Iyer wrote:
>>> diff --git a/drivers/base/power/cpu-pd.c b/drivers/base/power/cpu-pd.c
>>> index 9758b8d..617ce54 100644
>>> --- a/drivers/base/p
This patch series allows us to remove the ARCH_MSM* configs that live
in mach-qcom/Kconfig. They're mostly proxy configs for user selectable
clocksource configurations anyway. The first patch can go via Daniel,
while the other two can go via Andy.
Stephen Boyd (3):
clocksource: de
Drop these configs now that we select the clocksources we need
via the defconfig.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-qcom/Kconfig | 16
1 file changed, 16 deletions(-)
diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index 2256cd1e25d1
vers/built-in.o: In function `qcom_cpuidle_init':
> :(.init.text+0x610c): undefined reference to `cpu_resume_arm'
>
> This adds a 'select' Kconfig statement to ensure it's always
> enabled.
>
> Signed-off-by: Arnd Bergmann
> ---
Reviewed-by: Stephen Boyd
--
On 11/24/15 17:08, Stephen Boyd wrote:
> We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig
> because they are mostly proxy configs for selecting the right
> clocksource driver. Therefore, make CLKSRC_QCOM default to the
> value of ARCH_QCOM, but also make it visible if AR
On 11/24, Arnd Bergmann wrote:
> On Monday 23 November 2015 15:13:52 Stephen Boyd wrote:
> > On 11/23, Arnd Bergmann wrote:
> > >
> > > - PJ4/PJ4B (not PJ4B-MP) has a different custom opcode for udiv and sdiv
> > > in ARM mode. We don't sup
nt it.
Suggested-by: Arnd Bergmann
Signed-off-by: Stephen Boyd
---
drivers/clocksource/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index b423785d6afc..7a5ffaa3e490 100644
--- a/drivers/clocksource/Kconfig
Enable this config in the defconfig so that we can delete the
selection logic surrounding it that exists in mach-qcom/Kconfig.
Signed-off-by: Stephen Boyd
---
arch/arm/configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs
On 11/17, Lina Iyer wrote:
> diff --git a/drivers/base/power/cpu-pd.c b/drivers/base/power/cpu-pd.c
> index 9758b8d..617ce54 100644
> --- a/drivers/base/power/cpu-pd.c
> +++ b/drivers/base/power/cpu-pd.c
> @@ -18,6 +18,7 @@
> #include
> #include
> #include
> +#include
What's this added for?
On 11/17, Lina Iyer wrote:
> diff --git a/Documentation/arm/cpu-domains.txt
> b/Documentation/arm/cpu-domains.txt
> new file mode 100644
> index 000..ef5f215
> --- /dev/null
> +++ b/Documentation/arm/cpu-domains.txt
> @@ -0,0 +1,52 @@
> +CPU Clusters and PM domain
> +
> +Newer CPUs are grouped
On 11/17, Lina Iyer wrote:
> diff --git a/Documentation/devicetree/bindings/power/power_domain.txt
> b/Documentation/devicetree/bindings/power/power_domain.txt
> index ecfaf44..d71da29 100644
> --- a/Documentation/devicetree/bindings/power/power_domain.txt
> +++ b/Documentation/devicetree/bindings
On 11/24, Russell King - ARM Linux wrote:
> On Tue, Nov 24, 2015 at 12:53:49AM -0800, Stephen Boyd wrote:
> >
> > And adding CPU_V7VE causes a cascade of changes to wherever
> > CPU_V7 is being used today. Here's the patch I currently have,
> > without the p
On 11/23, Russell King - ARM Linux wrote:
> On Mon, Nov 23, 2015 at 01:16:01PM -0800, Stephen Boyd wrote:
> > Thanks. I don't see the prints on my system even with this config
> > on top of allyesconfig. Odd.
>
> Hmm.
>
> It could be because I use ccache in
On 11/21, Srinivas Kandagatla wrote:
> Hi Stephen,
>
> Thanks for the fix.
>
> I will send it to Greg for next rc.
Thanks. The change in regmap core that causes the problem is only
in -next. I'm not sure if it's going to hit mainline this release
cycle, so if it doesn't you could queue this for
On 11/21, Bjorn Andersson wrote:
> On Fri 20 Nov 16:39 PST 2015, Stephen Boyd wrote:
>
> > On 11/19, Georgi Djakov wrote:
> > > diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
> > > b/Documentation/devicetree/bindings/clock/qcom,rpmcc.
On 11/22, Rob Herring wrote:
> On Fri, Nov 20, 2015 at 03:31:16PM -0800, Stephen Boyd wrote:
> > Some qcom based bootloaders identify the dtb blob based on a set
> > of device properties like SoC, platform, PMIC, and revisions of
> > those components. In downstream kernels, t
On 11/23, Rajendra Nayak wrote:
>
> On 11/18/2015 06:42 AM, Stephen Boyd wrote:
> > Add initial device tree support for the Qualcomm MSM8996 SoC and
> > MTP8996 evaluation board.
> >
> > Signed-off-by: Stephen Boyd
> > ---
> []...
>
> &g
On 11/23, Arnd Bergmann wrote:
>
> Ok, thanks for the confirmation.
>
> Summarizing what we've found, I think we can get away with just
> introducing two Kconfig symbols ARCH_MULTI_V7VE and CPU_V7VE.
> Most CPUs fall clearly into one category or the other, and then
> we can allow LPAE to be selec
On 11/23, Arnd Bergmann wrote:
> On Monday 23 November 2015 13:32:06 Stephen Boyd wrote:
> > On 11/23, Arnd Bergmann wrote:
> > > On Monday 23 November 2015 12:38:47 Stephen Boyd wrote:
> >
> > It would be nice to drop the ARCH_MSM* configs entirely. If we
> >
On 11/23, Arnd Bergmann wrote:
> On Monday 23 November 2015 12:38:47 Stephen Boyd wrote:
> > On 11/23, Arnd Bergmann wrote:
> > > On Monday 23 November 2015 09:14:39 Christopher Covington wrote:
> > > > On 11/23/2015 03:15 AM, Arnd Bergmann wrote:
> > > &g
On 11/23, Måns Rullgård wrote:
> Stephen Boyd writes:
>
> > On 11/21, Måns Rullgård wrote:
> >>
> >> These functions are rather similar. Perhaps they could be combined
> >> somehow.
> >>
> >
> > Yes. I have this patch on top, just
On 11/23, Russell King - ARM Linux wrote:
> On Mon, Nov 23, 2015 at 12:53:35PM -0800, Stephen Boyd wrote:
> > On 11/21, Russell King - ARM Linux wrote:
> > > On Fri, Nov 20, 2015 at 05:23:16PM -0800, Stephen Boyd wrote:
> > > > @@ -452,14 +631,14 @@ static char con
On 11/21, Russell King - ARM Linux wrote:
> On Fri, Nov 20, 2015 at 05:23:16PM -0800, Stephen Boyd wrote:
> > @@ -452,14 +631,14 @@ static char const *
> > __has_rel_mcount(Elf_Shdr const *const relhdr, /* is SHT_REL or SHT_RELA
> > */
> >
On 11/21, Måns Rullgård wrote:
> Stephen Boyd writes:
>
> > +static int module_patch_aeabi_uidiv(unsigned long loc, const Elf32_Sym
> > *sym)
> > +{
> > + extern char __aeabi_uidiv[], __aeabi_idiv[];
> > + unsigned long udiv_addr = (unsigned long)
On 11/23, Arnd Bergmann wrote:
> On Monday 23 November 2015 09:14:39 Christopher Covington wrote:
> > On 11/23/2015 03:15 AM, Arnd Bergmann wrote:
> > > On Sunday 22 November 2015 21:36:45 Nicolas Pitre wrote:
> > >> On Sun, 22 Nov 2015, Arnd Bergmann wrote:
> > >
> > > Ok, thanks a lot! So the re
Add the generic compatible strings for the PMIC gpio and MPP
modules found on qcom based PMICs.
Cc:
Cc: "Ivan T. Ivanov"
Cc: Bjorn Andersson
Cc: Rob Herring
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 6 --
arch/arm/boot/dts/qcom-pm8841.dtsi | 2 +-
Pitre
Cc: Arnd Bergmann
Cc: Steven Rostedt
Cc: Måns Rullgård
Signed-off-by: Stephen Boyd
---
scripts/recordmcount.h | 335 +++--
1 file changed, 269 insertions(+), 66 deletions(-)
diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h
index
. Using the division
instructions should be faster and less power intensive than
running the support code.
Cc: Nicolas Pitre
Cc: Arnd Bergmann
Cc: Steven Rostedt
Cc: Måns Rullgård
Signed-off-by: Stephen Boyd
---
Makefile | 7 +++
arch/arm/Kconfig | 14
?
Comments/feedback appreciated.
[1]
http://lkml.kernel.org/r/1383951632-6090-1-git-send-email-sb...@codeaurora.org
Cc: Nicolas Pitre
Cc: Arnd Bergmann
Cc: Steven Rostedt
Cc: Måns Rullgård
Stephen Boyd (3):
scripts: Allow recordmcount to be used without tracing enabled
recordmcount: Record loc
ostedt
Cc: Måns Rullgård
Signed-off-by: Stephen Boyd
---
kernel/trace/Kconfig| 4
scripts/Makefile.build | 15 +--
scripts/recordmcount.c | 10 +++---
scripts/recordmcount.h | 2 +-
scripts/recordmcount.pl | 11 ---
5 files changed, 25 insertions(+), 17
On 11/19, Georgi Djakov wrote:
> Currently the rates of the xo and sleep clocks are hard-coded in the
> GCC driver, but this is a board layout description that actually should
> be in the DT. Moving them into DT also allows us to insert the RPM
> controlled clocks between the DT and GCC clocks.
>
On 11/19, Georgi Djakov wrote:
> Move the xo and sleep clocks to device-tree, instead of hard-coding
> them in the driver. This allows us to insert the RPM clocks (if they
> are enabled) in between the on-board oscillators and the actual clock.
>
> Signed-off-by: Georgi Djakov
> ---
Applied to c
On 11/19, Georgi Djakov wrote:
> diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
> b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
> new file mode 100644
> index ..bd0fd0cd50dc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
>
byte swapping
to big endian accesses without byte swapping, leading to some
confusing results. Specify the endianness explicitly so that the
regmap core properly byte swaps the accesses for us.
Cc: Kenneth Westfield
Cc: Kevin Hilman
Cc: Tyler Baker
Cc: Simon Arlott
Signed-off-by: Stephen Boyd
ian byte swapping
to big endian accesses without byte swapping, leading to some
confusing results. Specify the endianness explicitly so that the
regmap core properly byte swaps the accesses for us.
Cc: Rajendra Nayak
Cc: Kevin Hilman
Cc: Tyler Baker
Cc: Simon Arlott
Cc: Mark Brown
Signed-
Add an alias for pm8916 on msm8916 based SoCs so that the newly
updated dtbTool can find the pmic compatible string and add the
pmic-id element to the QCDT header.
Signed-off-by: Stephen Boyd
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 1 +
arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi | 1
The ifc6540 is an sbc (single board computer) board, so update
the compatible field accordingly.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/qcom-apq8084-ifc6540.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/qcom-apq8084-ifc6540.dts
b/arch/arm
This compatible string isn't compliant with the format for
subtypes. Replace it with a compliant compatible type.
Signed-off-by: Stephen Boyd
---
arch/arm64/boot/dts/qcom/msm8916-mtp.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-mt
Add an alias for the PMICs found on qcom based SoCs so that the
newly updated dtbTool can find the PMIC compatible string and add
the pmic-id element to the QCDT header.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 2 ++
arch/arm/boot/dts/qcom-apq8084-ifc6540
trees. Future bootloaders may be
updated to look at the compatible field instead of looking for
the table of contents image. For non-updateable bootloaders, a
new dtbTool program will parse the compatible string and generate
a QCDT image from it.
Signed-off-by: Stephen Boyd
---
Documentation/devic
a.org
Stephen Boyd (5):
devicetree: bindings: Document qcom board compatible format
arm64: dts: qcom: Make msm8916-mtp compatible string compliant
arm: dts: qcom: Update ifc6540 compat for qcom boot format
arm64: dts: qcom: Alias pm8916 on msm8916 devices
arm: dts: qcom: Add aliases for
On 11/09, Stephen Boyd wrote:
> All these clock controllers are little endian devices, but so far
> we've been relying on the regmap mmio bus handling this for us
> without explicitly stating that fact. After commit 4a98da2164cf
> (regmap-mmio: Use native endianness for read/
On 11/20, Tyler Baker wrote:
> On 9 November 2015 at 14:30, Stephen Boyd wrote:
> > All these clock controllers are little endian devices, but so far
> > we've been relying on the regmap mmio bus handling this for us
> > without explicitly stating that fact. After commi
On 11/19, Rob Herring wrote:
> On Tue, Nov 17, 2015 at 05:00:26PM -0800, Stephen Boyd wrote:
> > The drivers don't really need to know which PMIC they're for, so
> > make a generic binding for them. This alleviates us from updating
> > the drivers every time a
On 11/17, Stephen Boyd wrote:
> +static struct clk_alpha_pll mmpll0_early = {
> + .offset = 0x0,
> + .vco_table = mmpll_p_vco,
> + .num_vco = ARRAY_SIZE(mmpll_p_vco),
> + .clkr.hw.init = &(struct clk_init_data){
> + .name = "mmpll0_early"
the number of changes
we have to make to the driver for each new pmic revision.
Cc: "Ivan T. Ivanov"
Cc: Bjorn Andersson
Signed-off-by: Stephen Boyd
---
Stephen Boyd wrote:
> We can also figure out the number of the pins from the number
> of interrupts, so we really don't
On 11/17/2015 09:06 PM, kbuild test robot wrote:
> Hi Stephen,
>
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on v4.4-rc1 next-20151117]
>
> url:
> https://github.com/0day-ci/linux/commits/Stephen-Boyd/devicetree-bindings-Document-Kryo-cpu/20151118-0
On 11/16, Ulf Hansson wrote:
> [...]
>
>
> >
> > In case you're wondering, the max frequency for sdc1 on 8974ac is
> > 400MHz. If it's just a plain 8974pro then the max frequency is
> > 200MHz. Otherwise, sdc2 maxes out at 200Mhz and sdc3 and sdc4 max
> > out at 100MHz.
>
> When you say that sdc
Add the gpio and MPP devices to the pm8994 pmic dts.
Signed-off-by: Stephen Boyd
---
arch/arm64/boot/dts/qcom/pm8994.dtsi | 43
1 file changed, 43 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi
b/arch/arm64/boot/dts/qcom/pm8994.dtsi
index
Add initial device tree support for the Qualcomm MSM8996 SoC and
MTP8996 evaluation board.
Signed-off-by: Stephen Boyd
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 21 +++
arch/arm64/boot/dts/qcom/msm8996-mtp.dtsi | 30
arch/arm64
Document the compatible string for the Kryo family of qcom cpus.
Cc:
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/arm/cpus.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt
b/Documentation/devicetree/bindings/arm
Add the skeleton nodes for the PMICs found on msm8996-mtp
devices.
Signed-off-by: Stephen Boyd
---
arch/arm64/boot/dts/qcom/pm8004.dtsi | 19 +++
arch/arm64/boot/dts/qcom/pm8994.dtsi | 19 +++
arch/arm64/boot/dts/qcom/pmi8994.dtsi | 19 +++
3
These patches add the initial dts files for the MSM8996 SoC and
MTP evaluation board.
Stephen Boyd (4):
devicetree: bindings: Document Kryo cpu
arm64: dts: Add msm8996 SoC and MTP board support
arm64: dts: qcom: Add pm8994, pmi8994, pm8004 PMIC skeletons
arm64: dts: qcom: Add pm8994 gpios
tween frequencies that aren't
the maximum. Implement custom rcg clk ops for this type of
frequency switching.
Signed-off-by: Stephen Boyd
---
drivers/clk/qcom/clk-rcg.h | 1 +
drivers/clk/qcom/clk-rcg2.c | 87 +
2 files changed, 88 insertions(+)
di
ng to
_get_table_maxdiv() so that we only return the maximum divider
that is valid. This is useful for clocks that want to share the
same divider table while limiting the available dividers to some
subset of the table depending on the width of the bitfield.
Cc: Rajendra Nayak
Signed-off-by: Stephen Boyd
---
dr
Add support for configuring rates of, enabling, and disabling
Alpha PLLs. This is sufficient for the types of PLLs found in
the global and multimedia clock controllers.
Signed-off-by: Stephen Boyd
---
drivers/clk/qcom/Makefile| 1 +
drivers/clk/qcom/clk-alpha-pll.c | 355
1 - 100 of 2121 matches
Mail list logo