-by: Lubomir Rintel <lkund...@v3.sk>
Cc: stable <sta...@vger.kernel.org>
---
drivers/usb/serial/option.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index d96d423..036687f 100644
--- a/drivers/usb/serial/option.c
+++ b/driver
usbtv driver.
>
> Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
Acked-by: Lubomir Rintel <lkund...@v3.sk>
Thanks for resending this. I can't seem to find the original posting in
the patchwork and don't see how could it have slipped through the
cracks. But then my understanding of how
Signed-off-by: Lubomir Rintel <lkund...@v3.sk>
---
drivers/media/usb/usbtv/usbtv-video.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/media/usb/usbtv/usbtv-video.c
b/drivers/media/usb/usbtv/usbtv-video.c
index d3b6d3d..8135614 100644
--- a/drivers/media/usb/usbtv
From: Icenowy Zheng <icen...@aosc.xyz>
A new usbid of UTV007 is found in a newly bought device.
The usbid is 1f71:3301.
The ID on the chip is:
UTV007
A89029.1
1520L18K1
Both video and audio is tested with the modified usbtv driver.
Reviewed-by: Lubomir Rintel <lkund...@v3.sk>
ndpoints. The driver exchanges the command submissions and
responses over a plain read()/write() interface, compatible with legacy
OpenCT's pcmcia_block driver.
Patches for the newer CCID driver are available:
https://github.com/lkundrak/CCID/tree/lr/pcmcia_block
Signed-off-by: Lubomir Rintel <lkund...@
ndpoints. The driver exchanges the command submissions and
responses over a plain read()/write() interface, compatible with legacy
OpenCT's pcmcia_block driver.
Patches for the newer CCID driver are available:
https://github.com/lkundrak/CCID/tree/lr/pcmcia_block
Signed-off-by: Lubomir Rintel <lkun
ndpoints. The driver exchanges the command submissions and
responses over a plain read()/write() interface, compatible with legacy
OpenCT's pcmcia_block driver.
Patches for the newer CCID driver are available:
https://github.com/lkundrak/CCID/tree/lr/pcmcia_block
Signed-off-by: Lubomir Rintel <lkun
,
> char __user *buf, size_t count,
> ret = -EIO;
> goto out;
> }
> - read_chunk(dev, CCID_HEADER_SIZE, len);
> + ret = read_chunk(dev, CCID_HEADER_SIZE, len);
> if (ret < 0)
> goto out;
Acked-by: Lubomir Rintel <lkund...@v3.sk>
Thank you,
Lubo
24x_cs.c
> @@ -27,6 +27,7 @@
> #include
> #include
> #include
> +#include
> #include
>
> #include
Acked-by: Lubomir Rintel <lkund...@v3.sk>
Thanks
Hi Greg,
(responses inline)
On Mon, 2016-10-10 at 19:33 +0200, Greg Kroah-Hartman wrote:
> On Mon, Oct 10, 2016 at 05:58:15PM +0200, Lubomir Rintel wrote:
> >
> > This implements only the very basic protocol "Mode A", just to make
> > the
> > device fun
Brightness, Contrast, Hue and Color Saturation are supported.
Signed-off-by: Lubomir Rintel <lkund...@v3.sk>
---
drivers/media/usb/usbtv/usbtv-video.c | 97 ++-
drivers/media/usb/usbtv/usbtv.h | 3 ++
2 files changed, 99 insertions(+), 1 deletion(-)
On Sun, 2016-10-16 at 11:57 +0200, Greg Kroah-Hartman wrote:
> On Sun, Oct 16, 2016 at 11:23:36AM +0200, Lubomir Rintel wrote:
> >
> > Hi Greg,
> >
> > (responses inline)
> >
> > On Mon, 2016-10-10 at 19:33 +0200, Greg Kroah-Hartman wrote:
> > >
btv driver.
Thank you.
Acked-by: Lubomir Rintel <lkund...@v3.sk>
Also, it may make sense to add
Tested-by: Icenowy Zheng <icen...@aosc.xyz>
>
> Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
> ---
> drivers/media/usb/usbtv/usbtv-core.c | 1 +
> 1 file changed, 1 inse
On Sun, 2016-12-04 at 22:59 +0800, Icenowy Zheng wrote:
>
> 04.12.2016, 22:00, "Icenowy Zheng" :
> > A new usbid of UTV007 is found in a newly bought device.
> >
> > The usbid is 1f71:3301.
> >
> > The ID on the chip is:
> > UTV007
> > A89029.1
> > 1520L18K1
> >
>
> Seems
On Mon, 2016-12-05 at 23:47 +0800, Icenowy Zheng wrote:
> 2016年12月5日 19:49于 Lubomir Rintel <lkund...@v3.sk>写道:
> >
> > On Sun, 2016-12-04 at 22:59 +0800, Icenowy Zheng wrote:
> > >
> > > 04.12.2016, 22:00, "Icenowy Zheng" <icen...@aosc.xyz&
On Wed, 2017-04-19 at 17:12 +0100, Jose Abreu wrote:
> Hi Lubomir,
>
>
> On 18-04-2017 18:15, Mark Brown wrote:
> > On Tue, Apr 18, 2017 at 06:13:30PM +0200, Lubomir Rintel wrote:
> >
> > > I don't think designware_pcm is a separate driver. It
On Tue, 2017-04-18 at 16:18 +0100, Mark Brown wrote:
> On Tue, Apr 18, 2017 at 12:59:54PM +0200, Lubomir Rintel wrote:
> > It makes not sense: the whether the PIO PCM extension is used is
> > hardcoded to the designware_i2s driver and designware_pcm doesn't
> > have any mod
It makes not sense: the whether the PIO PCM extension is used is
hardcoded to the designware_i2s driver and designware_pcm doesn't
have any module metadata, causing a kernel taint:
[ 44.287000] designware_pcm: module license 'unspecified' taints kernel.
Signed-off-by: Lubomir Rintel <lk
On Wed, 2017-06-28 at 17:02 +0200, Johannes Berg wrote:
> On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote:
> > The mac80211_hwsim doesn't offer a way to disable the debugging
> > output.
> > Unfortunately, it's pretty chatty, dumping a lot of stuff into the
> &g
),
at runtime (2) or persisted in modprobe.conf (3).
(1) modprobe mac80211_hwsim dyndbg=+p
(2) echo "module mac80211_hwsim +p" >/sys/kernel/debug/dynamic_debug/control
(3) echo "options mac80211_hwsim dyndbg=+p" >>/etc/modprobe.d/my.conf
Signed-off-by: L
),
at runtime (2) or persisted in modprobe.conf (3).
(1) modprobe mac80211_hwsim dyndbg=+p
(2) echo "module mac80211_hwsim +p" >/sys/kernel/debug/dynamic_debug/control
(3) echo "options mac80211_hwsim dyndbg=+p" >>/etc/modprobe.d/my.conf
Signed-off-by: L
Hi,
we're trying to get this reasonably trivial patch [1] applied for more
than a year and four attempts now. (I'm not including it in this
message so that this message won't be ignored for the same reason the
submissions were, whatever they are.)
[1] https://patchwork.linuxtv.org/patch/40862/
This allows setting "security.capability" xattr by a user that has
CAP_SETFCAP in an userns with SELinux. Namespaced capabilities are
supported, as of commit 8db6c34f1dbc ("Introduce v3 namespaced file
capabilities").
Signed-off-by: Lubomir Rintel <lkund...@v3.sk>
--
On Thu, 2017-10-05 at 01:48 -0500, Serge E. Hallyn wrote:
> On Thu, Oct 05, 2017 at 08:16:11AM +0200, Lubomir Rintel wrote:
> > This allows setting "security.capability" xattr by a user that has
> > CAP_SETFCAP in an userns with SELinux. Namespaced capabilities are
&g
On Sat, 2018-02-10 at 19:03 +0100, Lubomir Rintel wrote:
> Now that drm_do_get_edid() handles override and firmware EDIDs it makes
> no sense to conditionalize it with a DCC probe. On the contrary -- the
> overrides are useful specifically when DCC is not functioning.
>
>
Now that drm_do_get_edid() handles override and firmware EDIDs it makes
no sense to conditionalize it with a DCC probe. On the contrary -- the
overrides are useful specifically when DCC is not functioning.
drm_do_get_edid() already bails out when DCC fails, there's no need for
an extra check. It
Hi.
Many thanks for the response! Some replies inline.
On Sun, 2018-07-22 at 22:42 +0300, Andy Shevchenko wrote:
> On Sun, Jul 22, 2018 at 1:36 AM, Lubomir Rintel
> wrote:
> > This driver switches the P10T tablet to "Android" mode, where the
> > Home
> > but
This is to replace the USB PHY initialization code (pxa_usb_phy_init(),
pxa_usb_phy_deinit()) with a proper PHY driver.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/devices.c | 21 +
arch/arm/mach-mmp/pxa910.h | 1 +
2 files changed, 22 insertions(+)
diff --git
plementary hwdb patch with the scan code mapping:
https://github.com/systemd/systemd/commit/40a3078b.patch
Signed-off-by: Lubomir Rintel
---
MAINTAINERS | 6 +++
drivers/platform/x86/Kconfig | 8
drivers/platform/x86/Makefile | 1 +
drivers/platform/x86/czc-tab
A typo that makes it impossible to get the correct clocks for
MMP2_CLK_SDH2 and MMP2_CLK_SDH3.
Signed-off-by: Lubomir Rintel
---
drivers/clk/mmp/clk-of-mmp2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/mmp/clk-of-mmp2.c b/drivers/clk/mmp/clk-of-mmp2.c
There's apparently four of them on a MMP2.
Signed-off-by: Lubomir Rintel
---
arch/arm/boot/dts/mmp2.dtsi | 40 +
1 file changed, 40 insertions(+)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 766bbb8495b6..51d4a2d70db9 100644
This spares drivers from #ifdef-ing on CONFIG_PCI if the driver can be
optionally built on machines without PCI bus.
Consistent with acpi_driver_match_device() and similar.
Signed-off-by: Lubomir Rintel
---
include/linux/pci.h | 4
1 file changed, 4 insertions(+)
diff --git a/include
This makes SPI work on an OPLC 1.75 that is a DT MMP2 platform.
CONFIG_CPU_MMP2 is not there on multiplatform kernels with MACH_MMP2_DT.
The MMP2 platform uses the PJ4 CPU.
Signed-off-by: Lubomir Rintel
---
drivers/irqchip/irq-mmp.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip
at rate that's 1/100 slower or so.
Perhaps the other cpu_is_mmp2() uses are more benign, but still useless.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/cputype.h | 9 -
arch/arm/mach-mmp/mmp2.c| 2 +-
arch/arm/mach-mmp/pm-mmp2.c | 2 +-
arch/arm/mach-mmp/time.c| 2 +-
4 files
0013
---[ end trace c0af40f9e2ed7cb4 ]---
Signed-off-by: Lubomir Rintel
---
drivers/video/fbdev/pxa168fb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c
index def3a501acd6
The clock is necessary for the device operation, hence it's required.
Its name, "sp", stands for "Security Processor". It is one of several
names that are used for the processor that serves as the keyboard
controller on an OLPC and is consistent with the node name.
Signed-of
Without the clock, the keyboard controller won't operate.
Tested on an OLPC XO 1.75.
Signed-off-by: Lubomir Rintel
---
drivers/input/serio/olpc_apsp.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c
index
Let's defer the FIFO status checking until open().
When we'll get a clk handle, this will allow us to defer clock enablement
until the device is actually used.
Signed-off-by: Lubomir Rintel
---
drivers/input/serio/olpc_apsp.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions
compatible with "ps2-gpio". I'm not
adding a compatible property, because ps2-gpio would use a different
interrupt, so that we'd need to name it. And I haven't actually tried it.
Signed-off-by: Lubomir Rintel
---
Documentation/devicetree/bindings/serio/olpc,ap-sp.txt | 6 ++
1 file
That seems to be the correct type.
Signed-off-by: Lubomir Rintel
---
drivers/spi/spi-pxa2xx.c | 6 +++---
include/linux/pxa2xx_ssp.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index 14f4ea59caff..f674541675bb
There seem to be SSP2, SSP4 and perhaps SSP5 too, but Marvel keeps their
base addresses secret.
The SSP1 and SSP3 addresses were taken from OLPC 1.75, OpenFirmware and
kernel respectively.
Signed-off-by: Lubomir Rintel
---
arch/arm/boot/dts/mmp2.dtsi | 18 ++
1 file changed, 18
The MMP2 platform, that uses device tree, has this controller. Let's add
devicetree alongside platform & PCI.
Signed-off-by: Lubomir Rintel
---
drivers/spi/spi-pxa2xx.c | 73 +++---
include/linux/pxa2xx_ssp.h | 1 +
2 files changed, 45 insertions(+)
This is the SPI controller found on Marvel MMP2 and perhaps more
platforms.
Signed-off-by: Lubomir Rintel
---
.../devicetree/bindings/spi/spi-pxa2xx.txt| 24 +++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/spi-pxa2xx.txt
diff
s/whold/whole/.
Jiri Kosina
Signed-off-by: Lubomir Rintel
---
.../devicetree/bindings/interrupt-controller/mrvl,intc.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.txt
b/Documentation/devicetree
Jiri Kosina
Signed-off-by: Lubomir Rintel
---
net/mac80211/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 76e30f4797fb..7dc77fc91891 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -79,7 +79,7
A missing space before a curly brace.
Jiri Kosina
Signed-off-by: Lubomir Rintel
---
arch/arm/boot/dts/mmp2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 766bbb8495b6..4161d4701e4c 100644
--- a/arch/arm
A trivial one, but it's annoying that copy & paste of the link
doesn't work.
Jiri Kosina
Signed-off-by: Lubomir Rintel
---
Documentation/devicetree/bindings/clock/marvell,mmp2.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/c
A missing space in an error message.
Jiri Kosina
Signed-off-by: Lubomir Rintel
---
drivers/video/fbdev/pxa168fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c
index def3a501acd6..e795d1849e70 100644
This makes keyboard/touchpad work on a DT MMP2 platform.
Take the GPIO lines are used by the SP. The driver doesn't touch the
lines -- this is done to disallow anything else from fiddling with
them because that would confuse the SP firmware.
Also, the lines are now nicely visible in /sys/kernel/debug/gpio.
Signed-off-by: Lubomir Rintel
---
drivers
This is a device-tree enabled driver. Moreover CONFIG_OLPC is specific
to the x86 platform code, while the driver is for an ARM-based laptop.
Signed-off-by: Lubomir Rintel
---
drivers/input/serio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/serio
This is the clock for the "security processor" core.
Signed-off-by: Lubomir Rintel
---
include/dt-bindings/clock/marvell,mmp2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/marvell,mmp2.h
b/include/dt-bindings/clock/marvell,mmp2.h
index 22
as a keyboard controller:
http://dev.laptop.org/git/users/wmb/cforth/tree/src/app/arm-xo-1.75/ps2.fth
The register address was obtained from the OLPC kernel, since the
datasheet seems to be the Marvell's most important business secret.
Signed-off-by: Lubomir Rintel
---
drivers/clk/mmp/clk-of-mmp2.c | 4
The timer shall enable its clock.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/mmp2-dt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
index 0341359b24a4..50c5e8b5be3d 100644
--- a/arch/arm/mach-mmp/mmp2-dt.c
The timer needs the timer clock to be enabled, otherwise it stops
ticking.
Signed-off-by: Lubomir Rintel
---
arch/arm/boot/dts/mmp2.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 766bbb8495b6..58e0098a007d 100644
The device-tree booted MMP2 needs to enable the timer clock, otherwise
the it would stop ticking when the boot finishes.
It can also use the clock rate from the clk, the non-DT boards need to
keep using the hardcoded rates.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/common.h | 2
This makes the timer work for me on an OLPC 1.75, which is a
device-tree based MMP2 platform.
The timer needs the timer clock to be enabled, otherwise it stops
ticking.
Signed-off-by: Lubomir Rintel
---
Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt
b
1 << 4. When asked for a data sheet, Marvell
told me to fuck off, politely.
Signed-off-by: Lubomir Rintel
---
drivers/irqchip/irq-mmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 25f32e1d7764..1ed38f9f1d0a 10
On Mon, 2018-09-10 at 10:21 -0500, Rob Herring wrote:
> On Mon, Sep 10, 2018 at 6:30 AM Lubomir Rintel
> wrote:
> >
> > The timer needs the timer clock to be enabled, otherwise it stops
> > ticking.
> >
> > Signed-off-by: Lubomir Rintel
> > ---
> &g
On Mon, 2018-09-10 at 10:14 -0500, Rob Herring wrote:
> On Mon, Sep 10, 2018 at 7:02 AM Lubomir Rintel
> wrote:
> >
> > There's apparently four of them on a MMP2.
> >
> > Signed-off-by: Lubomir Rintel
> > ---
&
Signed-off-by: Lubomir Rintel
---
net/mac80211/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 76e30f4797fb..7dc77fc91891 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -79,7 +79,7 @@ config
On Thu, 2018-10-11 at 09:28 +0200, Geert Uytterhoeven wrote:
> Hi Lubomir,
>
> On Wed, Oct 10, 2018 at 7:10 PM Lubomir Rintel
> wrote:
> > Strobe a GPIO line when the slave TX FIFO is filled. This is how
> > the
> > Embedded Controller on an OLPC XO-1.75 machine
On Thu, 2018-10-11 at 15:27 +0100, Mark Brown wrote:
> On Wed, Oct 10, 2018 at 07:09:26PM +0200, Lubomir Rintel wrote:
> > This is the SPI controller found on Marvel MMP2 and perhaps more
> > platforms.
>
> *Way* more.
>
> Please use subject lines matching
Hello Pavel,
On Mon, 2018-10-15 at 21:56 +0200, Pavel Machek wrote:
> Hi!
>
> > This makes keyboard/touchpad work on a DT MMP2 platform.
> >
> > I believe that it would be a good idea if this, once reviewed, went
> > in
> > via the input tree. The DT and CLK parts got reviews/acks.
> >
> >
On Fri, 2018-10-19 at 16:57 +0300, Andy Shevchenko wrote:
> On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel wrote:
> > Hi.
> >
> > This patchset adds support for the Embedded Controller on an OLPC XO
> > 1.75 machine. OLPC XO 1.75 is a MMP2 based ARM laptop. It plugs
Hello Pavel,
On Tue, 2018-10-30 at 11:26 +0100, Pavel Machek wrote:
> Hi!
>
> > > https://github.com/hackerspace/olpc-xo175-linux/wiki/How-to-run-an-up-to-date-Linux-on-a-XO-1.75
> > >
> > > I didn't test it yet -- will do when I get home in the evening.
> > > But
> > > chances are it's good
On Sat, 2018-11-10 at 16:59 +0100, Stefan Wahren wrote:
> Adopt the SPDX license identifier headers to ease license compliance
> management.
>
> Cc: Lubomir Rintel
> Signed-off-by: Stefan Wahren
> ---
> drivers/mailbox/bcm2835-mailbox.c | 8 +---
> 1 file ch
for the time being, while my XO 1.75 can utilize
this one.
Signed-off-by: Lubomir Rintel
Reviewed-by: Rob Herring
---
Changes since v2:
- s/controlls/controls/
- Rob Herring's Reviewed-by tag
Changes since v1:
- Use interrupt bindings instead of gpio for the IRQ
- Update the statement on XO 1/1.5
it would be a good idea to plug in it
between the two in a manner described in
.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v2:
- s/betweend/between/
Changes since v1:
- s/load-gpio/load-gpios/
- Use interrupt bindings instead of gpio for the IRQ
.../devicetree
as a keyboard controller:
http://dev.laptop.org/git/users/wmb/cforth/tree/src/app/arm-xo-1.75/ps2.fth
The register address was obtained from the OLPC kernel, since the
datasheet seems to be the Marvell's most important business secret.
Signed-off-by: Lubomir Rintel
Acked-by: Stephen Boyd
Acked-by: Pavel Ma
This makes keyboard/touchpad work on a DT MMP2 platform.
Changes since v1:
- Collected Acks
- Replaced "Input: olpc_apsp: depend on CONFIG_OF" patch with "Input:
olpc_apsp: drop CONFIG_OLPC dependency", since it was correctly
pointed out that the driver doesn't actually depend on OF.
-
CONFIG_OLPC is specific to the x86 platform code, while the driver is for
an ARM-based laptop.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
drivers/input/serio/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index
Without the clock, the keyboard controller won't operate.
Tested on an OLPC XO 1.75.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v1:
- Disable the clock in error handling path
drivers/input/serio/olpc_apsp.c | 14 ++
1 file changed, 14 insertions
This is the clock for the "security processor" core.
Signed-off-by: Lubomir Rintel
Reviewed-by: Rob Herring
Acked-by: Stephen Boyd
Acked-by: Pavel Machek
---
include/dt-bindings/clock/marvell,mmp2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/marv
Let's defer the FIFO status checking until open().
When we'll get a clk handle, this will allow us to defer clock enablement
until the device is actually used.
Signed-off-by: Lubomir Rintel
---
drivers/input/serio/olpc_apsp.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions
The clock is necessary for the device operation, hence it's required.
Its name, "sp", stands for "Security Processor". It is one of several
names that are used for the processor that serves as the keyboard
controller on an OLPC and is consistent with the node name.
Signed-of
This will be useful for boards that actually use GPIO pins.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index db15d1186cd0
The device-tree booted MMP2 needs to enable the timer clock, otherwise
it would stop ticking when the boot finishes.
It can also use the clock rate from the clk, the non-DT boards need to
keep using the hardcoded rates.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v2
at rate that's 1/100 slower or so.
Perhaps the other cpu_is_mmp2() uses are more benign, but still useless.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/mach-mmp/cputype.h | 9 -
arch/arm/mach-mmp/mmp2.c| 2 +-
arch/arm/mach-mmp/pm-mmp2.c | 2 +-
arch/arm/mach-mmp
Use a proper PHY driver, instead of hooks to a board support package.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/devices.c | 11 +---
drivers/usb/gadget/udc/mv_udc.h | 7 -
drivers/usb/gadget/udc/mv_udc_core.c | 38
3 files changed
Similarly to PXA3xx pinctrl-single can't set pin direction on MMP2 either.
See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for
PXA3xx")
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
drivers/gpio/gpio-pxa.c | 1 +
1 file changed, 1 insertion(+)
diff --git
This will replace the *_pdata.phy_{de,}init()
Signed-off-by: Lubomir Rintel
---
Changes since v1:
- Squashed patches with ttc_dkb and aspenite changes together.
arch/arm/mach-mmp/aspenite.c | 4
arch/arm/mach-mmp/ttc_dkb.c | 4
2 files changed, 8 insertions(+)
diff --git a/arch
Use a proper PHY driver, instead of hooks to a board support package.
Signed-off-by: Lubomir Rintel
Tested-by: Pavel Machek
---
arch/arm/mach-mmp/devices.c | 11 +---
drivers/usb/phy/phy-mv-usb.c | 123 ---
drivers/usb/phy/phy-mv-usb.h | 8 ++-
3 files
1 << 4. When asked for a data sheet, Marvell
was not helpful.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v1:
- Adjusted wording & ack from Pavel
drivers/irqchip/irq-mmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq
There's apparently four of them on a MMP2.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v1:
- The controllers seem to be on AXI bus, not APB. Move them.
- Remove aliases.
arch/arm/boot/dts/mmp2.dtsi | 36
1 file changed, 36
Hi,
this series contains contains a bunch of MMP2 platform fixes.
I've sent these in before, some as part of other patch sets, but got just
radio silence from MMP2 maintainers. Eric Miao and Haojian Zhuang -- if
you're listening, please speak up.
I'm now re-sending as a single patch set for
The USB OTG PHY chip. To be used by the OTG controller.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 7549680ab2e3..6ca1e17b6ac2
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 6ca1e17b6ac2..fed28c754804 100644
--- a/arch/arm/boot/dts/mmp2.dtsi
+++ b/arch
The timer shall enable its clock.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/mach-mmp/mmp2-dt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
index 0341359b24a4..50c5e8b5be3d 100644
RTC is on TWSI2.
Signed-off-by: Lubomir Rintel
Tested-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 063382b3eaca..63d49abf4e92 100644
--- a/arch/arm/boot
I've gotten the base addresses, clocks and interrupts from an rusty and old
out-of-tree driver. I haven't actually checked against the datasheet, since
that one is reserved for the Marvell inner circle.
Tested with an accelerometer on TWSI6 on an OLPC XO 1.75 machine.
Signed-off-by: Lubomir
The timer needs the timer clock to be enabled, otherwise it stops
ticking.
Signed-off-by: Lubomir Rintel
Reviewed-by: Rob Herring
Acked-by: Pavel Machek
---
Changes since v1:
- Made the clock optional, to keep compatibility with DTs without it
Documentation/devicetree/bindings/timer/mrvl
The timer needs the timer clock to be enabled, otherwise it stops
ticking.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index f2a18779de7c
gpio-pxa uses two cell to encode the interrupt source: the pin number
and the trigger type. Adjust the device node accordingly.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
arch/arm/boot/dts/mmp2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot
This is to replace the USB PHY initialization code (pxa_usb_phy_init(),
pxa_usb_phy_deinit()) with a proper PHY driver.
Signed-off-by: Lubomir Rintel
---
arch/arm/mach-mmp/devices.c | 21 +
arch/arm/mach-mmp/pxa910.h | 1 +
2 files changed, 22 insertions(+)
diff --git
This this is used to let the SPI master know that our FIFO is filled and
we're ready to service a transfer. Only useful in slave mode.
A signal like this is used by an embedded controller on a OLPC XO 1.75
machine, that happens to be a SPI master.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel
nd discard the actual data... For the
OLPC EC this will work just fine and pushing more data to TXFIFO would
break further transactions.
Signed-off-by: Lubomir Rintel
Acked-by: Pavel Machek
---
Changes since v1:
- Fixed a commit message typo (spotted by James Cameron)
drivers/spi/spi-pxa
Strobe a GPIO line when the slave TX FIFO is filled. This is how the
Embedded Controller on an OLPC XO-1.75 machine, that happens to be a SPI
master, learns that it can initiate a transaction.
Signed-off-by: Lubomir Rintel
Tested-by: Pavel Machek
---
Changes since v2
- Avoid an useless delay
101 - 200 of 1280 matches
Mail list logo