the
> device.
>
> Signed-off-by: Guido Günther
Reviewed-by: Martin Kepplinger
thank you,
martin
> ---
> arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx
Am Donnerstag, dem 01.04.2021 um 11:09 -0700 schrieb Wesley Cheng:
>
>
> On 4/1/2021 4:55 AM, Martin Kepplinger wrote:
> > This reverts commit 9de47c3737e0c0207beb03615b320cabe495.
> >
> > Signed-off-by: Martin Kepplinger
> > ---
> >
> &
This reverts commit 9de47c3737e0c0207beb03615b320cabe495.
Signed-off-by: Martin Kepplinger
---
I more or less blindly report:
commit 9de47c ("usb: dwc3: gadget: Prevent EP queuing while stopping
transfers") results in the below error every time I connect the type-c
connector t
8/0xb0
[ 51.149388] irq_thread+0x170/0x294
[ 51.149397] kthread+0x164/0x16c
[ 51.149407] ret_from_fork+0x10/0x34
[ 51.149419] ---[ end trace 62c6cc2ebfb18047 ]---
Linus' tree isn't affected. Revert the change.
Signed-off-by: Martin Kepplinger
---
drivers/usb/dwc3/gadget.c | 11
Am Sonntag, dem 28.03.2021 um 09:53 -0700 schrieb Bart Van Assche:
> On 3/28/21 3:25 AM, Martin Kepplinger wrote:
> > diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
> > index 08c06c56331c..c62915d34ba4 100644
> > --- a/drivers/scsi/scsi_error.c
&
Am Sonntag, dem 28.03.2021 um 10:58 -0400 schrieb Alan Stern:
> On Sun, Mar 28, 2021 at 12:25:27PM +0200, Martin Kepplinger wrote:
> > hi,
> >
> > In short: there are SD cardreaders that send MEDIA_CHANGED on
> > (runtime) resume. We cannot use runtime PM with thes
solution.
To enable runtime PM for an SD cardreader (device number 0:0:0:0), do:
echo 0 > /sys/module/block/parameters/events_dfl_poll_msecs
echo 1000 > /sys/bus/scsi/devices/0:0:0:0/power/autosuspend_delay_ms
echo auto > /sys/bus/scsi/devices/0:0:0:0/power/control
Signed-off-by: Martin
ag. If set by a driver the
one following MEDIA CHANGE unit attention will be ignored.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/scsi_error.c | 36 +++-
include/scsi/scsi_device.h | 1 +
2 files changed, 32 insertions(+), 5 deletions(-)
diff --git
add a new flag for devices that issue MEDIA CHANGE unit attentions
when actually no medium changed. Drivers can for example set the
expecting_media_change device flag in order to ignore the next
following MEDIA CHANGE unit attention.
Signed-off-by: Martin Kepplinger
---
include/scsi
This cardreader device issues a MEDIA CHANGE unit attention not only
when actually a medium changed but also simply when resuming from suspend.
(probably because the device can't know what happens during suspend and
want to say "medium could have changed").
Signed-off-by: Ma
linux-pm list
v2:
https://lore.kernel.org/linux-scsi/20210112093329.3639-1-martin.kepplin...@puri.sm/
* move module parameter to sd
* add Documentation
v1:
https://lore.kernel.org/linux-scsi/2021052029.28426-1-martin.kepplin...@puri.sm/T/
Martin Kepplinger (4):
scsi: add expecting_media_
Am Dienstag, dem 12.01.2021 um 10:33 +0100 schrieb Martin Kepplinger:
> revision history
>
> v2:
> * move module parameter to sd
> * add Documentation
>
> v1:
> https://lore.kernel.org/linux-scsi/2021052029.28426-1-martin.kepplin...@puri.sm/T/#t
>
Am Dienstag, dem 09.03.2021 um 13:43 +0200 schrieb Abel Vesa:
> On 21-02-25 13:13:17, Martin Kepplinger wrote:
> > On 23.02.21 18:20, Abel Vesa wrote:
> > > On 21-02-22 17:03:13, Martin Kepplinger wrote:
> > > > On 19.02.21 16:59, Abel Vesa wrote:
> > > >
From: Fabio Estevam
Enable the Hantro decoder driver so it can be enabled by
default on i.MX8M and Rockchip platforms.
Signed-off-by: Fabio Estevam
Reviewed-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/configs/defconfig | 3 +++
1 file changed, 3 insertions(+)
diff
e Dogwood batch.
To workaround the i2c0 shutdown issue on Dogwood, this commit marks
buck3 as always-on again - but only for Dogwood (r3).
Signed-off-by: Sebastian Krzyszkowiak
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts | 4
1 file changed, 4 inse
From: Guido Günther
There was an additional alias in the specifier it hogged line 27
instead of line 1.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
Two fixes for the Librem 5 phone descriptions and one resend of
https://lore.kernel.org/linux-arm-kernel/20200915141622.14736-1-feste...@gmail.com/
that enables the hantro vpu staging driver. Feel free to ignore that one
if we want to wait for it to be out of staging.
revision history
From: Fabio Estevam
Enable the Hantro decoder driver so it can be enabled by
default on i.MX8M and Rockchip platforms.
Signed-off-by: Fabio Estevam
Reviewed-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/configs/defconfig | 3 +++
1 file changed, 3 insertions(+)
diff
Two fixes for the Librem 5 phone descriptions and one resend of
https://lore.kernel.org/linux-arm-kernel/20200915141622.14736-1-feste...@gmail.com/
that enables the hantro vpu staging driver. Feel free to ignore that one
if we want to wait for it to be out of staging.
Fabio Estevam (1):
arm64: d
wood batch.
To workaround the i2c0 shutdown issue on Dogwood, this commit marks
buck3 as always-on again - but only for Dogwood (r3).
Signed-off-by: Sebastian Krzyszkowiak
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts | 4
1 file changed, 4 insertions(+
From: Guido Günther
There was an additional alias in the specifier it hogged line 27
instead of line 1.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
this reverts commit ce58459d8c7f4174e7b8a8ea903dd949631334a3 for imx8mq.
this is most likely not the real fix but works around the problem I have
(with v5.12-rc2) I want to report:
[0.766925] SoC revision 0x21
[0.770286] imx8_soc_info soc@0: SoC revision via nvmem read failed: -517
This
dynamic debug is "expecting pairs of match-spec " so the example
for all files of which the paths include "usb" there is "file" missing.
Signed-off-by: Martin Kepplinger
---
Documentation/admin-guide/dynamic-debug-howto.rst | 2 +-
1 file changed, 1 insertion(+
On 23.02.21 18:20, Abel Vesa wrote:
On 21-02-22 17:03:13, Martin Kepplinger wrote:
On 19.02.21 16:59, Abel Vesa wrote:
This has been on my queue for quite some time now. It is more of a
proof-of-concept.
This rework is done with the compatibility of future i.MX platforms in
mind. For example
On 19.02.21 16:59, Abel Vesa wrote:
This has been on my queue for quite some time now. It is more of a
proof-of-concept.
This rework is done with the compatibility of future i.MX platforms in
mind. For example, the i.MX8MP platform has multiple NoCs. This
patchsets prepares the imx interconnect
On Birch I can never reach 220 and hence the display would never
turn off. Tests suggest 120 to be a good threshold value for all Birch
devices.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Guido Günther
The PMIC driver now sets appropriate default delays.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5
From: Guido Günther
IMX8MQ_AUDIO_PLL1 and IMX8MQ_AUDIO_PLL2 are setup to the same rates
right on the clock controller.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch
From: Angus Ainslie
These sections should be read only as they contain important data.
Signed-off-by: Angus Ainslie
Signed-off-by: Martin Kepplinger
---
.../boot/dts/freescale/imx8mq-librem5.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts
From: Guido Günther
This is needed to make DRAM frequency scaling via devfreq as used
on the Librem 5 and Librem 5 Devkit.
With the interconnect support enabled we now need imx devfreq on top
to make this work.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
Reviewed-by
of the nor-flash
Guido Günther (3):
arm64: dts: imx8mq-librem5-devkit: Drop buck3 startup-ramp-delay
arm64: dts: librem5: Drop assigned-clocks from SAI2
arm64: defconfig: Enable devfreq support for i.MX8MQ
Martin Kepplinger (1):
arm64: dts: imx8mq-librem5-r2: set nearlevel to 120
.../dts
On Birch I can never reach 220 and hence the display would never
turn off. Tests suggest 120 to be a good threshold value for all Birch
devices.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Guido Günther
This is needed to make DRAM frequency scaling via devfreq as used
on the Librem 5 and Librem 5 Devkit.
With the interconnect support enabled we now need imx devfreq on top
to make this work.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
Reviewed-by
From: Angus Ainslie
These sections should be read only as they contain important data.
Signed-off-by: Angus Ainslie
Signed-off-by: Martin Kepplinger
---
.../arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts
From: Guido Günther
The PMIC driver now sets appropriate default delays.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5
From: Guido Günther
IMX8MQ_AUDIO_PLL1 and IMX8MQ_AUDIO_PLL2 are setup to the same rates
right on the clock controller.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch
(1):
arm64: dts: librem5: protect some partitions of the nor-flash
Guido Günther (3):
arm64: dts: imx8mq-librem5-devkit: Drop buck3 startup-ramp-delay
arm64: dts: librem5: Drop assigned-clocks from SAI2
arm64: defconfig: Enable devfreq support for i.MX8MQ
Martin Kepplinger (1):
arm64: dts
On Birch I can never reach 220 and hence the display would never
turn off. Tests suggest 120 to be a good threshold value for all Birch
devices.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Angus Ainslie
These sections should be read only as they contain important data.
Signed-off-by: Angus Ainslie
Signed-off-by: Martin Kepplinger
---
.../arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts
From: Guido Günther
IMX8MQ_AUDIO_PLL1 and IMX8MQ_AUDIO_PLL2 are setup to the same rates
right on the clock controller.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch
: defconfig: Enable devfreq support for i.MX8MQ
Martin Kepplinger (1):
arm64: dts: imx8mq-librem5-r2: set nearlevel to 120
.../dts/freescale/imx8mq-librem5-devkit.dts| 1 -
.../boot/dts/freescale/imx8mq-librem5-r2.dts | 2 +-
.../boot/dts/freescale/imx8mq-librem5.dtsi | 18
From: Guido Günther
The PMIC driver now sets appropriate default delays.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5
From: Guido Günther
This is needed to make DRAM frequency scaling via devfreq as used
on the Librem 5 and Librem 5 Devkit.
With the interconnect support enabled we now need imx devfreq on top
to make this work.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64
Add optional interconnect properties for the dram path requests.
Signed-off-by: Martin Kepplinger
---
Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
b/Documentation
On 23.01.21 04:09, Martin K. Petersen wrote:
Ewan,
sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 60 40 00 00 01
00
Print the cdb into a new line in any case, not only when cmd_len is
greater than 16. The above example error will then read:
sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28
28 0
example error will then read:
sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28
28 00 01 c0 09 00 00 00 08 00
Signed-off-by: Martin Kepplinger
---
drivers/scsi/scsi_logging.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/scsi_logging.c b/drivers/scsi/scsi_logging.c
rive cache: write through
Print these messages as warnings instead of errors.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/sd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index e7c52d6df4dc..db0171c81c5b 100644
--- a/drivers
d usb-c chip as supplier for the charger
arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator
Martin Kepplinger (4):
arm64: dts: imx8mq-librem5: enable the LCD panel
arm64: dts: imx8mq-librem5: set regulators boot-on
dt-bindings: arm: fsl: Add the librem 5 Evergreen revision
arm64: dts: Add Li
From: Guido Günther
With the pmic driver fixed we can now shut off the regulator in the gpc.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale
From: Guido Günther
The tps65982 feeds the bq25895 charge controller on the Librem 5.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq
Expect all those regulators to be turned on initially.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
b/arch/arm64/boot/dts/freescale
From: Guido Günther
It's a supply for to touch and LCD.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5
This enables the Librem5's ft8006p based LCD panel driven by the
imx8mq's Northwest Logic DSI IP core and mxsfb display controller.
Signed-off-by: Martin Kepplinger
---
.../boot/dts/freescale/imx8mq-librem5.dtsi| 53 ++-
1 file changed, 51 insertions(+), 2 deletion
Add an entry for the Librem 5 phone, Evergreen revision which is supported
by "r4". Schematics and more information can be found at
https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html
Signed-off-by: Martin Kepplinger
Reviewed-by: Krzysztof Kozlowski
Acked-by: R
Add librem5-r4 with specifics to that revision like the near-level,
battery and charger properties. For schematics and more information,
see https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html
Signed-off-by: Martin Kepplinger
Reviewed-by: Krzysztof Kozlowski
---
arch/arm64/boot
From: Guido Günther
The haptic motor for the Librem 5 uses this.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
Reviewed-by: Krzysztof Kozlowski
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64
From: Guido Günther
This is consistent with other IRQs and makes keeps currents low.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
Reviewed-by: Krzysztof Kozlowski
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion
On 15.01.21 10:47, Shawn Guo wrote:
On Thu, Jan 07, 2021 at 01:17:53PM +0100, Martin Kepplinger wrote:
Add interconnect ports for lcdif to set bus capabilities.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff
Expect all those regulators to be turned on initially.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
b/arch/arm64/boot/dts/freescale
Add librem5-r4 with specifics to that revision like the near-level,
battery and charger properties. For schematics and more information,
see https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/Makefile
Add an entry for the Librem 5 phone, Evergreen revision which is supported
by "r4". Schematics and more information can be found at
https://developer.puri.sm/Librem5/Hardware_Reference/Evergreen.html
Signed-off-by: Martin Kepplinger
---
Documentation/devicetree/bindings/arm/fsl.yam
This enables the Librem5's ft8006p based LCD panel driven by the
imx8mq's Northwest Logic DSI IP core and mxsfb display controller.
Signed-off-by: Martin Kepplinger
---
.../boot/dts/freescale/imx8mq-librem5.dtsi| 51 ++-
1 file changed, 49 insertions(+), 2 deletion
From: Guido Günther
The haptic motor for the Librem 5 uses this.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 838301650a79
From: Guido Günther
It's a supply for to touch and LCD.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5
From: Guido Günther
With the pmic driver fixed we can now shut off the regulator in the gpc.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale
usb-c chip as supplier for the charger
arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator
Martin Kepplinger (4):
arm64: dts: imx8mq-librem5: enable the LCD panel
arm64: dts: imx8mq-librem5: set regulators boot-on
arm64: dts: Add Librem5 Evergreen
dt-bindings: arm: fsl: Add the librem 5 Ever
From: Guido Günther
The tps65982 feeds the bq25895 charge controller on the Librem 5.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq
From: Guido Günther
This is consistent with other IRQs and makes keeps currents low.
Signed-off-by: Guido Günther
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts
Add notes about the new sd sysfs knob that works around problems
with runtime PM for certain types of SD cardreaders.
Signed-off-by: Martin Kepplinger
---
Documentation/scsi/sd-parameters.rst | 14 ++
1 file changed, 14 insertions(+)
diff --git a/Documentation/scsi/sd
uggest adding a userspace knob. This way there's at
least a chance to use runtime PM for sd cardreaders that send MEDIA_CHANGED.
I'd appreciate any feedback.
Martin Kepplinger (3):
scsi: add expecting_media_change flag to error path
scsi: sd: add ignore_resume_medium_changed disk setting
Error -5 detected when updating journal superblock for
sda1-8.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/sd.c | 50 ++-
drivers/scsi/sd.h | 1 +
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/s
ng.
To enable runtime PM for an SD cardreader (here, device number 0:0:0:0),
do the following:
echo 0 > /sys/module/block/parameters/events_dfl_poll_msecs
echo 1000 > /sys/bus/scsi/devices/0:0:0:0/power/autosuspend_delay_ms
echo auto > /sys/bus/scsi/devices/0:0:0:0/power/control
On 11.01.21 16:20, Martin Kepplinger wrote:
Make the sd driver act appropriately when the user has set
expect_media_change_suspend for a device.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/sd.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a
Add a user-facing flag that sets expecting_media_change on runtime
resume. That works around devices that send MEDIA_CHANGED when it
actually is just resumed from suspend and the media can be expected
not to have changed.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/scsi_sysfs.c | 38
Make the sd driver act appropriately when the user has set
expect_media_change_suspend for a device.
Signed-off-by: Martin Kepplinger
---
drivers/scsi/sd.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index
ng.
To enable runtime PM for an SD cardreader (here, device number 0:0:0:0),
do the following:
echo 0 > /sys/module/block/parameters/events_dfl_poll_msecs
echo 1000 > /sys/bus/scsi/devices/0:0:0:0/power/autosuspend_delay_ms
echo auto > /sys/bus/scsi/devices/0:0:0:0/power/control
I'd appreciate any feedback.
Martin Kepplinger (3):
scsi: add expecting_media_change flag to error path
scsi: add expect_media_change_suspend sysfs device setting
scsi: sd: add support for expect_media_change_suspend flag
drivers/scsi/scsi_error.c | 36 +
On 11.01.21 01:29, Shawn Guo wrote:
On Tue, Dec 22, 2020 at 04:13:45PM +0100, Martin Kepplinger wrote:
In order for the touchscreen interrupt line to work, describe it properly.
Otherwise it can work if defaults are ok, but we cannot be sure.
Fixes: 8f0216b006e5 ("arm64: dts: Add a device
Add optional interconnect properties for the dram path requests.
Signed-off-by: Martin Kepplinger
---
Documentation/devicetree/bindings/display/mxsfb.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt
b/Documentation/devicetree
Add #interconnect-cells on main &noc so that it will probe the interconnect
provider.
Signed-off-by: Martin Kepplinger
Acked-by: Georgi Djakov
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/
On 11.01.21 05:51, Shawn Guo wrote:
On Thu, Jan 07, 2021 at 01:17:49PM +0100, Martin Kepplinger wrote:
revision history:
v4: (thanks Shawn, Georgi and Greg)
* reorder to have dt-bindings doc before code addition
* add newline between dt nodes
* removed "interconnect: imx8mq
On 04.01.21 13:05, Abel Vesa wrote:
On 20-12-31 17:33:40, Fabio Estevam wrote:
Hi Martin,
On Thu, Dec 31, 2020 at 11:22 AM Martin Kepplinger
wrote:
This reverts commit 936c383673b9e3007432f17140ac62de53d87db9.
It breaks clock reparenting via devfreq on the imx8mq used in the
Librem 5 phone
Enable INTERCONNECT_IMX8MQ in order to make interconnect more widely
available.
Signed-off-by: Martin Kepplinger
Acked-by: Georgi Djakov
---
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index
Add interconnect ports for lcdif to set bus capabilities.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index
n...@puri.sm/T/#t
thanks,
martin
Leonard Crestez (1):
arm64: dts: imx8mq: Add NOC node
Martin Kepplinger (4):
arm64: dts: imx8mq: Add interconnect provider property
dt-bindings: mxsfb: Add interconnect bindings for LCDIF path
arm64: dts: imx8mq: Add interconnect for lcdif
arm64: defco
Add optional interconnect properties for the dram path requests.
Signed-off-by: Martin Kepplinger
---
Documentation/devicetree/bindings/display/mxsfb.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/mxsfb.txt
b/Documentation/devicetree
Add #interconnect-cells on main &noc so that it will probe the interconnect
provider.
Signed-off-by: Martin Kepplinger
Acked-by: Georgi Djakov
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/
top.
Signed-off-by: Leonard Crestez
Signed-off-by: Martin Kepplinger
Acked-by: Georgi Djakov
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 24 +++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/arch/arm64/boot/dts/freescale
from PM QoS (-16)
Note that on the Librem 5 devkit that uses a different revision of the
imx8mq SoC, the added flag does *not* break said clock reparenting so
there might be subtle differences here.
Signed-off-by: Martin Kepplinger
---
drivers/clk/imx/clk-composite-8m.c | 1 -
1 file changed, 1
buck7 is the supply here. Also, fix alphabetical ordering.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
b/arch/arm64
This is a workaround for a hardware bug in the r3 revision that basically would
stop the system due to traffic on the i2c1 bus. A cpu voltage change would
trigger such traffic and that's what is avoided in order to work around it.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boo
According to commit e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks
assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi
too.
Fixes: e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks assignment to board
DT")
Signed-off-by: Martin Kepplinger
---
revision history
v2: (thanks Krzysztof)
add Fixes tags and improve commit messages
v1:
https://lore.kernel.org/linux-arm-kernel/20201218103131.22013-1-martin.kepplin...@puri.sm/
Martin Kepplinger (4):
arm64: dts: imx8mq-librem5: add vin-supply to VDD_1V8
arm64: dts: imx8mq
In order for the touchscreen interrupt line to work, describe it properly.
Otherwise it can work if defaults are ok, but we cannot be sure.
Fixes: 8f0216b006e5 ("arm64: dts: Add a device tree for the Librem 5 phone")
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freesc
According to commit e045f044e84e ("arm64: dts: imx8mq: Move usdhc clocks
assignment to board DT") add the clocks assignment to imx8mq-librem5.dtsi
too.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 4
1 file changed, 4 insertions(+)
di
Some minor updates for the current hardware descriptions:
Martin Kepplinger (4):
arm64: dts: imx8mq-librem5: add vin-supply to VDD_1V8
arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen
description
arm64: dts: imx8mq-librem5: Move usdhc clocks assignment to board DT
arm64
This is a workaround for a hardware bug in the r3 revision that basically would
stop the system due to traffic on the i2c1 bus. A cpu voltage change would
trigger such traffic and that's what is avoided in order to work around it.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boo
Add the pinctrl description for the interrupt.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
b/arch/arm64/boot/dts/freescale/imx8mq-librem5
buck7 is the supply here. Also, fix alphabetical ordering.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
b/arch/arm64
Add interconnect ports for lcdif to set bus capabilities.
Signed-off-by: Martin Kepplinger
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index
1 - 100 of 731 matches
Mail list logo