On Fri, 28 Aug 2020 at 08:37, Krzysztof Kozlowski wrote:
>
> Common pattern of handling deferred probe can be simplified with
> dev_err_probe(). Less code and the error value gets printed.
>
> Signed-off-by: Krzysztof Kozlowski
Acked-by: Markus Mayer
> ---
> drivers/
y
directly. The function includes a bounds check that prevents the array
from being overrun.
This patch was prepared in response to
https://lkml.org/lkml/2020/8/18/505.
Signed-off-by: Markus Mayer
Acked-by: Florian Fainelli
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE"
On Sat, 22 Aug 2020 at 13:46, Krzysztof Kozlowski wrote:
>
> On Sat, Aug 22, 2020 at 01:21:47PM -0700, Florian Fainelli wrote:
> >
> >
> > On 8/22/2020 1:14 PM, Markus Mayer wrote:
> > > On Sat, 22 Aug 2020 at 09:46, Krzysztof Kozlowski wrote:
> > > &g
On Sat, 22 Aug 2020 at 13:21, Florian Fainelli wrote:
>
> On 8/22/2020 1:14 PM, Markus Mayer wrote:
> > On Sat, 22 Aug 2020 at 09:46, Krzysztof Kozlowski wrote:
> >>
> >> On Sat, Aug 22, 2020 at 09:40:59AM -0700, Markus Mayer wrote:
> >>> On Sat, 22 Aug
On Sat, 22 Aug 2020 at 09:46, Krzysztof Kozlowski wrote:
>
> On Sat, Aug 22, 2020 at 09:40:59AM -0700, Markus Mayer wrote:
> > On Sat, 22 Aug 2020 at 04:56, Krzysztof Kozlowski wrote:
> > >
> > > On Fri, Aug 21, 2020 at 09:52:21AM -0700, Markus Mayer w
On Sat, 22 Aug 2020 at 04:56, Krzysztof Kozlowski wrote:
>
> On Fri, Aug 21, 2020 at 09:52:21AM -0700, Markus Mayer wrote:
> > We would overrun the error_text array if we hit a TIMEOUT condition,
> > because we were using the error code "ETIMEDOUT" (which is 110) as an
y
directly. The function includes a bounds check that prevents the array
from being overrun.
This patch was prepared in response to
https://lkml.org/lkml/2020/8/18/505.
Signed-off-by: Markus Mayer
Acked-by: Florian Fainelli
---
Changes since v1:
- Added link of the coverity report to
On Thu, 20 Aug 2020 at 22:40, Krzysztof Kozlowski wrote:
>
> On Thu, Aug 20, 2020 at 06:03:33PM -0700, Markus Mayer wrote:
> > We would overrun the error_text array if we hit a TIMEOUT condition,
> > because we were using the error code "ETIMEDOUT" (which is 110) as an
On Thu, 20 Aug 2020 at 10:23, Markus Mayer wrote:
>
> On Wed, 19 Aug 2020 at 11:34, Florian Fainelli wrote:
> >
> > On 8/18/20 5:21 AM, Colin Ian King wrote:
> > > Hi,
> > >
> > > static analysis with coverity has found a buffer overflow issue with th
y
directly. The function includes a bounds check that prevents the array
from being overrun.
Signed-off-by: Markus Mayer
---
This patch was prepared in response to https://lkml.org/lkml/2020/8/18/505.
drivers/memory/brcmstb_dpfe.c | 23 ---
1 file changed, 16 insertions(+), 7
On Thu, 20 Aug 2020 at 10:21, Alex Dewar wrote:
>
> In brcmstb_dpfe_download_firmware(), memory is allocated to variable fw by
> firmware_request_nowarn(), but never released. Fix up to release fw on
> all return paths.
Thanks for the fix!
Acked-by: Markus Mayer
> Signed-off
ing
> > commit:
> >
> > commit a7c25759d8d84b64c437a78f05df7314b02934e5
> > Author: Markus Mayer
> > Date: Tue Apr 2 16:01:00 2019 -0700
> >
> > memory: brcmstb: dpfe: wait for DCPU to be ready
> >
> > The static analysis is as follows
Hi,
I don't know if anybody else is seeing this, but for me the commit
"arm64: dts: agilex: add nand clocks"[1] is causing a build error
while generating DTS files for ARM64.
The error goes away when I drop the commit.
$ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig dtbs
HOSTCC
On Thu, 23 Jul 2020 at 10:11, Florian Fainelli wrote:
>
> On 7/23/20 12:37 AM, Krzysztof Kozlowski wrote:
> > The string itself can be made const for safety.
> >
> > Signed-off-by: Krzysztof Kozlowski
>
> Acked-by: Florian Fainelli
Acked-by: Markus Mayer
;
> > Signed-off-by: Krzysztof Kozlowski
>
> Acked-by: Florian Fainelli
Acked-by: Markus Mayer
^~
make[3]: *** [: tui.o] Error 1
make[2]: *** [Makefile:83: tmon] Error 2
Signed-off-by: Markus Mayer
---
The issue was discovered cross-compiling tmon for aarch64 with musl-libc.
The build succeeds with glibc, because the required headers are included
implicitly. This is not the case wit
On suspend we send AVS_CMD_S2_ENTER and on resume AVS_CMD_S2_EXIT.
These are best effort calls, so we don't check the return code or take
any action if either of the calls fails.
Signed-off-by: Markus Mayer
---
drivers/cpufreq/brcmstb-avs-cpufreq.c | 12 +++-
1 file changed, 11
From: Florian Fainelli
In case the interrupt towards the host is never raised, yet the AVS
firmware responds correctly within the alloted time, allow supporting a
polling mode.
Signed-off-by: Florian Fainelli
Signed-off-by: Markus Mayer
---
drivers/cpufreq/brcmstb-avs-cpufreq.c | 47
We are changing how parameters are passed to __issue_avs_command(), so we
can pass input *and* output arguments with the same command, rather than
just one or the other.
Signed-off-by: Markus Mayer
---
drivers/cpufreq/brcmstb-avs-cpufreq.c | 30 +--
1 file changed, 14
-cpufreq: Support polling AVS firmware
Markus Mayer (2):
cpufreq: brcmstb-avs-cpufreq: more flexible interface for
__issue_avs_command()
cpufreq: brcmstb-avs-cpufreq: send S2_ENTER / S2_EXIT commands to AVS
drivers/cpufreq/brcmstb-avs-cpufreq.c | 89 ++-
1 file
Rather than declaring our init_data in several places and passing it as
parameter into brcmstb_dpfe_download_firmware(), we declare it inside
brcmstb_dpfe_download_firmware() instead.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 21 +
1 file changed, 9
Rather than passing a (struct platform_device *) to
brcmstb_dpfe_download_firmware(), we pass a (struct private_data *).
This is the more sensible thing to do.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff
necessary
and is removed.
Signed-off-by: Florian Fainelli
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index cf320302d2c0
-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 44 ---
1 file changed, 36 insertions(+), 8 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index 7c6e85ad25a7..82b415be18d1 100644
--- a/drivers/memory/brcmstb_dpfe.c
+++ b/drivers
We add support for deferred downloading of the DPFE firmware. It may be
necessary to do this if the root file system containing the firmware
image is not yet available at the time the driver's probe function is
being called.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 12
To ensure consistency, we add locking primitives inside the DCPU enable
and disable routines.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b
To avoid potential (future) conflicts with other data structures we
rename "struct private_data" to "struct brcmstb_dpfe_priv".
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 28 ++--
1 file changed, 14 insertions(+), 14 dele
Add missing initialization of priv->dev. It is only used in an
emergency error message that is very unlikely to ever occur, which is
how this has remained unnoticed.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/driv
v2 (now called "old v2") and v3
Florian Fainelli (2):
memory: brcmstb: dpfe: Compute checksum at __send_command() time
memory: brcmstb: dpfe: Fixup API version/commands for 7211
Markus Mayer (6):
memory: brcmstb: dpfe: rename struct private_data
memory: brcmstb: dpfe: initializ
for the brcmstb-avs-cpufreq
> >> driver.
> >>
> >> Florian Fainelli (2):
> >> cpufreq: brcmstb-avs-cpufreq: Fix initial command check
> >> cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency
To both of these
Acked-by: Markus M
From: Markus Mayer
Extend the driver, so it can handle different API versions for
interacting with the DCPU. This is in preparation for the upcoming API
v3.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 87 ---
1 file changed, 59 insertions
From: Markus Mayer
Prepare the driver so that sysfs attributes can differ based on the API
version.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 47 +--
1 file changed, 34 insertions(+), 13 deletions(-)
diff --git a/drivers/memory
From: Markus Mayer
Remove an unused struct and fix source code formatting in a few areas.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory
From: Markus Mayer
This series introduces a new API for communicating with the DCPU.
It will be used as the default going forward.
Before adding the new API, there is also some code cleanup and
hardening.
This series is based on drivers/next of
https://github.com/Broadcom/stblinux.git, since
From: Markus Mayer
Introduce code to handle DPFE API v3. We also change the driver to
default to v3 by default and use API v2 only for select chips.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 114 +++---
1 file changed, 105 insertions(+), 9
From: Markus Mayer
We wait for the DCPU to be ready before sending a command.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index c67774a4fe8b
From: Markus Mayer
Print an error message if the DCPU firmware couldn't be downloaded.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index
From: Markus Mayer
To be more "scheduler friendly", we use msleep() rather than udelay()
while we wait for the DCPU to respond.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/memory/brcmst
From: Markus Mayer
This series contains three unrelated improvements or fixes for the
BRCMSTB DPFE driver:
* use msleep() over udelay() to be more scheduler friendly
* optimize generic_show()
* work around a firmware issue by reading byte 3 instead of byte 0
Markus Mayer (3):
soc: brcmstb
From: Markus Mayer
For dual-rank LPDDR4, result data for any command is placed in byte 0
and byte 3 of the corresponding MR register by the firmware.
Single-rank RAM was supposed to work the same way. However, due to a
firmware bug, result values are only placed in byte 3 of the
corresponding MR
From: Markus Mayer
We can pass a (struct priv_data *) to generic_show() rather than a
(struct device *). For two of the three callers of this function, the
change means one less call to dev_get_drvdata(). For the third caller,
it makes no difference.
Signed-off-by: Markus Mayer
---
drivers
From: Markus Mayer <mma...@broadcom.com>
Most CPUfreq drivers (at least on ARM) seem to be sorting the available
frequencies from lowest to highest. To match this behaviour, we reverse
the sorting order in brcmstb-avs-cpufreq, so it is now also lowest to
highest.
Signed-off-by: Markus Maye
From: Markus Mayer
Most CPUfreq drivers (at least on ARM) seem to be sorting the available
frequencies from lowest to highest. To match this behaviour, we reverse
the sorting order in brcmstb-avs-cpufreq, so it is now also lowest to
highest.
Signed-off-by: Markus Mayer
---
drivers/cpufreq
On 18 April 2018 at 09:37, Florian Fainelli <f.faine...@gmail.com> wrote:
> On 04/18/2018 08:56 AM, Markus Mayer wrote:
>> From: Jim Quinlan <jim2101...@gmail.com>
>>
>> If the SCMI cpufreq driver is supported, we bail, so that the new
>> approach can be
On 18 April 2018 at 09:37, Florian Fainelli wrote:
> On 04/18/2018 08:56 AM, Markus Mayer wrote:
>> From: Jim Quinlan
>>
>> If the SCMI cpufreq driver is supported, we bail, so that the new
>> approach can be used.
>>
>> Signed-off-by: Jim
From: Jim Quinlan <jim2101...@gmail.com>
If the SCMI cpufreq driver is supported, we bail, so that the new
approach can be used.
Signed-off-by: Jim Quinlan <jim2101...@gmail.com>
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/cpufreq/brcmstb-avs-cpufreq.c | 16 +
From: Jim Quinlan
If the SCMI cpufreq driver is supported, we bail, so that the new
approach can be used.
Signed-off-by: Jim Quinlan
Signed-off-by: Markus Mayer
---
drivers/cpufreq/brcmstb-avs-cpufreq.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/cpufreq
From: Markus Mayer <mma...@broadcom.com>
This debug code was helpful while developing the driver, but it isn't
being used for anything anymore.
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/cpufreq/Kconfig.arm | 10 --
drivers/cpufreq/brcmstb-avs-cpu
From: Markus Mayer <mma...@broadcom.com>
These changes are based on v4.17-rc1. The two patches are unrelated.
Patch 1/2 removes unused code that was only useful during driver
development and that has been disabled by default for a long time.
Patch 2/2 allows the driver to detect if the
From: Markus Mayer
This debug code was helpful while developing the driver, but it isn't
being used for anything anymore.
Signed-off-by: Markus Mayer
---
drivers/cpufreq/Kconfig.arm | 10 --
drivers/cpufreq/brcmstb-avs-cpufreq.c | 323 +-
2 files
From: Markus Mayer
These changes are based on v4.17-rc1. The two patches are unrelated.
Patch 1/2 removes unused code that was only useful during driver
development and that has been disabled by default for a long time.
Patch 2/2 allows the driver to detect if the system supports SCMI cpufreq
re
> guaranteed to have an unique path in the sysfs hiearchy.
>
> Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Looks good. Thanks.
Acked-by: Markus Mayer <mma...@broadcom.com>
> ---
> drivers/memory/brcmstb_dpfe.c | 42 ++--
unique path in the sysfs hiearchy.
>
> Signed-off-by: Florian Fainelli
Looks good. Thanks.
Acked-by: Markus Mayer
> ---
> drivers/memory/brcmstb_dpfe.c | 42 ++
> 1 file changed, 10 insertions(+), 32 deletions(-)
>
> diff --git
.
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/memory/brcmstb_dpfe.c | 65 ---
1 file changed, 55 insertions(+), 10 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index 2013a91217a9..e9c148
.
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 65 ---
1 file changed, 55 insertions(+), 10 deletions(-)
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index 2013a91217a9..e9c1485c32b9 100644
--- a/drivers
In some functions, variable "ret" should be ssize_t, so we fix it.
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE")
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/memory/brcmstb_dpfe.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletion
In some functions, variable "ret" should be ssize_t, so we fix it.
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE")
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mem
which method to use upon receiving a reply.
The series also contains two fixes to the driver that have no direct
relation with the new communication feature.
Markus Mayer (3):
memory: brcmstb: dpfe: properly mask vendor error bits
memory: brcmstb: dpfe: fix type declaration of variable &quo
which method to use upon receiving a reply.
The series also contains two fixes to the driver that have no direct
relation with the new communication feature.
Markus Mayer (3):
memory: brcmstb: dpfe: properly mask vendor error bits
memory: brcmstb: dpfe: fix type declaration of variable &quo
We were printing the entire 32 bit register rather than just the lower
8 bits. Anything above bit 7 is reserved and may be any random value.
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE")
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/memory/brcmstb_d
We were printing the entire 32 bit register rather than just the lower
8 bits. Anything above bit 7 is reserved and may be any random value.
Fixes: 2f330caff577 ("memory: brcmstb: Add driver for DPFE")
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 3 ++-
1 file
On 1 November 2017 at 10:06, Jörg Otte wrote:
> In 4.14.0-rc7-9-g287683d cpufreq directory under
> /sys/devices/system/cpu/cpufreq
> is empty. Also link /sys/devices/system/cpu/cpu0/cpufreq is missing.
It is looking fine on my system.
# dmesg | grep cpufreq
<6>[
On 1 November 2017 at 10:06, Jörg Otte wrote:
> In 4.14.0-rc7-9-g287683d cpufreq directory under
> /sys/devices/system/cpu/cpufreq
> is empty. Also link /sys/devices/system/cpu/cpu0/cpufreq is missing.
It is looking fine on my system.
# dmesg | grep cpufreq
<6>[1.313374]
On 27 September 2017 at 16:02, Markus Mayer <c...@mmayer.net> wrote:
> From: Markus Mayer <mma...@broadcom.com>
>
> This series introduces a number of improvements to tmon's Makefile. The
> changes are meant to make it easier to cross-compile tmon on a greater
> number
On 27 September 2017 at 16:02, Markus Mayer wrote:
> From: Markus Mayer
>
> This series introduces a number of improvements to tmon's Makefile. The
> changes are meant to make it easier to cross-compile tmon on a greater
> number of platforms by giving more control to the pe
From: Markus Mayer <mma...@broadcom.com>
We want to skip downloading the DPFE firmware from Linux if it was
already downloaded by the boot loader.
The driver now checks if the DCPU is already running and, if so,
whether it can process commands. If the DCPU processes commands
succes
From: Markus Mayer
We want to skip downloading the DPFE firmware from Linux if it was
already downloaded by the boot loader.
The driver now checks if the DCPU is already running and, if so,
whether it can process commands. If the DCPU processes commands
successfully, the driver skips
From: Markus Mayer <mma...@broadcom.com>
In order to check whether or not the DCPU is running, we introduce
a function called is_dcpu_enabled().
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/memory/brcmstb_dpfe.c | 21 +++--
1 file changed, 15 inse
From: Markus Mayer
In order to check whether or not the DCPU is running, we introduce
a function called is_dcpu_enabled().
Signed-off-by: Markus Mayer
---
drivers/memory/brcmstb_dpfe.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/drivers/memory
From: Markus Mayer <mma...@broadcom.com>
This series lets the DPFE driver skip the DPFE firmware download if the
DCPU is already running. If it's running by the time Linux comes up, it
means the boot loader already downloaded the DPFE firmware.
Markus Mayer (2):
memory: brcmstb
From: Markus Mayer
This series lets the DPFE driver skip the DPFE firmware download if the
DCPU is already running. If it's running by the time Linux comes up, it
means the boot loader already downloaded the DPFE firmware.
Markus Mayer (2):
memory: brcmstb: dpfe: introduce is_dcpu_enabled
From: Markus Mayer <mma...@broadcom.com>
To ease cross-compiling, make use of the $(PKG_CONFIG) variable rather
than hard-coding calls to pkg-config.
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
tools/thermal/tmon/Makefile | 9 +
1 file changed, 5 insertions(+),
From: Markus Mayer
To ease cross-compiling, make use of the $(PKG_CONFIG) variable rather
than hard-coding calls to pkg-config.
Signed-off-by: Markus Mayer
---
tools/thermal/tmon/Makefile | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tools/thermal/tmon/Makefile
From: Markus Mayer <mma...@broadcom.com>
It can be helpful, especially when using a build system, to set the C
compiler externally.
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
tools/thermal/tmon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t
From: Markus Mayer <mma...@broadcom.com>
Most, but not all, toolchains support the "-fstack-protector" flag. We
check if the compiler supports the flag before using it. This allows
tmon to be compiled for more environments.
Signed-off-by: Markus Mayer <mma...@broadcom.com&
From: Markus Mayer
It can be helpful, especially when using a build system, to set the C
compiler externally.
Signed-off-by: Markus Mayer
---
tools/thermal/tmon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon
From: Markus Mayer
Most, but not all, toolchains support the "-fstack-protector" flag. We
check if the compiler supports the flag before using it. This allows
tmon to be compiled for more environments.
Signed-off-by: Markus Mayer
---
tools/thermal/tmon/Makefile | 7 ++-
1 file
From: Markus Mayer <mma...@broadcom.com>
This series introduces a number of improvements to tmon's Makefile. The
changes are meant to make it easier to cross-compile tmon on a greater
number of platforms by giving more control to the person performing the
build.
At the same time, se
From: Markus Mayer
This series introduces a number of improvements to tmon's Makefile. The
changes are meant to make it easier to cross-compile tmon on a greater
number of platforms by giving more control to the person performing the
build.
At the same time, sensible defaults are retained so
On 26 September 2017 at 14:32, Scott Branden <scott.bran...@broadcom.com> wrote:
> Hi Markus,
>
>
> On 17-09-26 02:27 PM, Markus Mayer wrote:
>>
>> From: Brian Norris <computersforpe...@gmail.com>
>>
>> The AVS TMON core provides temperature r
On 26 September 2017 at 14:32, Scott Branden wrote:
> Hi Markus,
>
>
> On 17-09-26 02:27 PM, Markus Mayer wrote:
>>
>> From: Brian Norris
>>
>> The AVS TMON core provides temperature readings, a pair of configurable
>> high- and low-temperature thre
l.com>; Rafal Milecki <ra...@milecki.pl>
>> Cc: Markus Mayer <c...@mmayer.net>; Eduardo Valentin
>> <edubez...@gmail.com>; Rob Herring <robh...@kernel.org>; Mark Rutland
>> <mark.rutl...@arm.com>; Doug Berger <open...@gmail.com>; Brian
>
On 25 September 2017 at 23:17, Zhang, Rui wrote:
> Hi, Florian,
>
>> -Original Message-
>> From: Florian Fainelli [mailto:f.faine...@gmail.com]
>> Sent: Tuesday, September 26, 2017 12:14 PM
>> To: Zhang, Rui ; Rafal Milecki
>> Cc: Markus Mayer ; Edua
m (e.g., through polling), or both.
Signed-off-by: Brian Norris <computersforpe...@gmail.com>
Signed-off-by: Doug Berger <open...@gmail.com>
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
drivers/thermal/Kconfig| 2 +-
drivers/thermal/broadcom/Kconfig
.
Signed-off-by: Brian Norris
Signed-off-by: Doug Berger
Signed-off-by: Markus Mayer
---
drivers/thermal/Kconfig| 2 +-
drivers/thermal/broadcom/Kconfig | 7 +
drivers/thermal/broadcom/Makefile | 1 +
drivers/thermal/broadcom/brcmstb_thermal.c | 387
From: Brian Norris <computersforpe...@gmail.com>
Add binding for Broadcom STB thermal.
Signed-off-by: Brian Norris <computersforpe...@gmail.com>
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
.../devicetree/bindings/t
From: Markus Mayer <mma...@broadcom.com>
This series adds the brcmstb AVS TMON driver.
The driver was originally written by Brian Norris.
Changes since v4:
- disable trip points properly when needed; there was code left-over
from an older iteration of this driver that used long ints,
From: Brian Norris
Add binding for Broadcom STB thermal.
Signed-off-by: Brian Norris
Acked-by: Rob Herring
Signed-off-by: Markus Mayer
---
.../devicetree/bindings/thermal/brcm,avs-tmon.txt| 20
MAINTAINERS | 8
2
From: Markus Mayer
This series adds the brcmstb AVS TMON driver.
The driver was originally written by Brian Norris.
Changes since v4:
- disable trip points properly when needed; there was code left-over
from an older iteration of this driver that used long ints, which
resulted in code
On 14 September 2017 at 16:19, Markus Mayer <c...@mmayer.net> wrote:
> From: Markus Mayer <mma...@broadcom.com>
>
> The code checking for low and high temperature points was still based
> on an earlier implementation of the driver. It wasn't working properly
> with the
On 14 September 2017 at 16:19, Markus Mayer wrote:
> From: Markus Mayer
>
> The code checking for low and high temperature points was still based
> on an earlier implementation of the driver. It wasn't working properly
> with the data types currently being used.
>
> We
From: Markus Mayer <mma...@broadcom.com>
The code checking for low and high temperature points was still based
on an earlier implementation of the driver. It wasn't working properly
with the data types currently being used.
We fix this by disabling the high trip point if our high tempe
From: Markus Mayer
The code checking for low and high temperature points was still based
on an earlier implementation of the driver. It wasn't working properly
with the data types currently being used.
We fix this by disabling the high trip point if our high temperature is
INT_MAX and disabling
From: Markus Mayer <mma...@broadcom.com>
This driver allows access to DRAM properties, such as the refresh rate,
via the Broadcom STB DDR PHY Front End (DPFE). The refresh rate can be
used as indirect indicator of the DRAM temperature.
The driver also allows setting of the sampling in
From: Markus Mayer <mma...@broadcom.com>
Provide bindings for the Broadcom STB DDR PHY Front End (DPFE).
Signed-off-by: Markus Mayer <mma...@broadcom.com>
Acked-by: Rob Herring <r...@kernel.org>
---
.../bindings/memory-controllers/brcm,dpfe-cpu.txt | 27
From: Markus Mayer
This driver allows access to DRAM properties, such as the refresh rate,
via the Broadcom STB DDR PHY Front End (DPFE). The refresh rate can be
used as indirect indicator of the DRAM temperature.
The driver also allows setting of the sampling interval.
Signed-off-by: Markus
From: Markus Mayer
Provide bindings for the Broadcom STB DDR PHY Front End (DPFE).
Signed-off-by: Markus Mayer
Acked-by: Rob Herring
---
.../bindings/memory-controllers/brcm,dpfe-cpu.txt | 27 ++
1 file changed, 27 insertions(+)
create mode 100644
Documentation
From: Markus Mayer <mma...@broadcom.com>
This series introduces a driver to interact with the Broadcom STB DDR
PHY Front End (DPFE), specifically to communicate with the DCPU that is
part of the DDR PHY and which is running its own firmware.
The DCPU provides information such as DRAM r
From: Markus Mayer
This series introduces a driver to interact with the Broadcom STB DDR
PHY Front End (DPFE), specifically to communicate with the DCPU that is
part of the DDR PHY and which is running its own firmware.
The DCPU provides information such as DRAM refresh rate, which can be
used
From: Markus Mayer <mma...@broadcom.com>
Turn on CONFIG_BRCMSTB_THERMAL as module.
Signed-off-by: Markus Mayer <mma...@broadcom.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
i
1 - 100 of 677 matches
Mail list logo