vicetree/bindings/power/power-controller.txt
https://elixir.bootlin.com/linux/latest/source/drivers/mfd/max77620.c#L566
...maybe that can be added to the devices getting in the way?
Cheers,
[0]
https://elixir.bootlin.com/linux/latest/source/drivers/watchdog/bcm2835_wdt.c#L152
(chosen at random)
Andrew
--
Jamie Lentin
Lift configuration command from udlfb. This appears to be essential for
at least a Rextron VCUD-60, without which no URB communication occurs.
Signed-off-by: Jamie Lentin
---
udl_encoder_commit() is too late to do this set up in it seems. This
setup doesn't need to be performed again af
on Linux 4.7.0
Signed-off-by: Jamie Lentin
---
This ended up in udl_connector_init() since the name suggests it has
something to do with configuring which output to use, although a quick
search through other displaylink drivers didn't shed any light on what
the bytes in set_def_chn actually
GPIO controller is available.
I was also hoping that we could get to the point where pci_common_init()
is only used for legacy machines without DT and without multiplatform,
it seems I missed a couple of users here.
Arnd
--
Jamie Lentin
On Sun, 17 Jul 2016, Rob Herring wrote:
On Sat, Jul 16, 2016 at 03:29:04PM +0100, Jamie Lentin wrote:
This is a router based on the mv88f5181 chipset.
http://www.netgear.com/support/product/WNR854T.aspx
http://wiki.openwrt.org/toh/netgear/wnr854t
Signed-off-by: Jamie Lentin
On Sat, 16 Jul 2016, Arnd Bergmann wrote:
On Saturday, July 16, 2016 3:29:04 PM CEST Jamie Lentin wrote:
+
+#define WNR854T_PCI_SLOT0_OFFS 7
+#define WNR854T_PCI_SLOT0_IRQ_PIN 4
+
+static void __init wnr854t_pci_preinit(void)
+{
+ int pin;
+
+ /*
+* Configure PCI GPIO
The default bootloader leaves the LEDs orange, and the 88E1121R driver
applies it's own inappropriate configuration. Configure as per manual,
i.e. orange = 100 / green = 1000 / blink = activity
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
As far as I'm aware the mv88f5181-b1 and mv88f5181l are the same at the
pinctrl level, so re-use the definitions for both.
Signed-off-by: Jamie Lentin
---
.../bindings/pinctrl/marvell,orion-pinctrl.txt | 4 ++--
drivers/pinctrl/mvebu/pinctrl-orion.c
This is a router based on the mv88f5181 chipset.
http://www.netgear.com/support/product/WNR854T.aspx
http://wiki.openwrt.org/toh/netgear/wnr854t
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 1 +
arch/arm/boot/dts/Makefile | 1
marvell,reg-init is generally used to apply a custom LED configuration
on boot. However this is then blatted in m88e1121_config_aneg when the
interface is brought up. Re-apply any custom configuration afterwards,
to keep custom LED configuration.
Signed-off-by: Jamie Lentin
---
drivers/net/phy
Copy the format for kirkwood/dove to orion5x
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
diff --git a
Signed-off-by: Jamie Lentin
---
.../bindings/arm/marvell/marvell,orion5x.txt | 1 +
arch/arm/boot/dts/orion5x-mv88f5181.dtsi | 35 ++
2 files changed, 36 insertions(+)
create mode 100644 arch/arm/boot/dts/orion5x-mv88f5181.dtsi
diff --git a/Documentation
orion-wdt refuses to start without these properties defined, so lift
definitions out of kirkwood/dove.dtsi
Signed-off-by: Jamie Lentin
---
arch/arm/boot/dts/orion5x.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts
If PHY is registered via. a DSA switch, the MDIO bus the phy is on does
not exist in devicetree, but there may be a reference to the PHY node
on the physical MDIO bus to use.
Signed-off-by: Jamie Lentin
---
drivers/net/phy/marvell.c | 22 --
1 file changed, 16 insertions
ollowing patch:
https://github.com/lentinj/linux/commit/d6b7b4695b7dcbf36d0663aea9cb4ecd65a1ada8
...but this is probably a matter for another thread.
Cheers,
[0] http://thread.gmane.org/gmane.linux.network/120616/focus=121320
[1]
https://github.com/lentinj/linux/commit/a4bceebb08ecdc25a4d49e23f2abad2148
Signed-off-by: Jamie Lentin
---
arch/arm/mach-orion5x/Makefile| 1 -
arch/arm/mach-orion5x/wnr854t-setup.c | 185 --
2 files changed, 186 deletions(-)
delete mode 100644 arch/arm/mach-orion5x/wnr854t-setup.c
diff --git a/arch/arm/mach-orion5x/Makefile
Referring to values in the u-boot port, add support for the mv88f5181
Signed-off-by: Jamie Lentin
---
.../devicetree/bindings/clock/mvebu-core-clock.txt | 1 +
drivers/clk/mvebu/orion.c | 70 ++
2 files changed, 71 insertions(+)
diff --git a
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index 65df414..265bfe2 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -178,9 +178,12
tab as well as scrolling, for example.
This means you can no longer long-middle-click, but I don't think this
is likely to upset users as much as the current behaviour.
Tested against 4.1.2 with both Bluetooth and USB compact keyboards.
Cheers,
Jamie Lentin (3):
HID: lenovo: Use constant
Don't relay a middle button press to userspace until release, and then
only if there was no scroll events inbetween. This is closer to what
Xorg's wheel emulation does, and avoids spurious middle-click pastes.
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-len
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index c4c3f09..65df414 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -117,10 +117,10
vent comes after the wheel events.
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index 0f35a76..c4c3f09 100644
--- a/drivers/hid/hid-lenovo.c
+
Jamie Lentin (2):
HID: lenovo: Add sensitivity control to compact keyboards
HID: lenovo: Use native middle-button mode for compact keyboards
drivers/hid/hid-lenovo.c | 79 +++-
1 file changed, 78 insertions(+), 1 deletion(-)
--
2.1.3
--
To
The trackpoint sensitivity can also be controlled, expose this via
sysfs.
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 42 +-
1 file changed, 41 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
The bluetooth keyboard also generates 0x00fa when the middle button is
pressed. Move the made-up report out of the way so we don't trigger
KEY_FILE when middle button is pressed
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 12 ++--
1 file changed, 6 insertions(
On the USB keyboard, the VENDOR hotkeys share the same device as the
mouse. Setting EV_REP also affects mouse buttons, so leave it off.
The bluetooth keyboard still has autorepeating mouse buttons, as it
only has one device and is set by the KEYBOARD pages.
Signed-off-by: Jamie Lentin
is is currently solvable.
The first 2 I will sort out once enough free time appears, if you would prefer
a single large patchset, feel free to ignore this and wait for a bigger
patchset.
Many thanks,
[0] https://lkml.org/lkml/2014/7/23/702
Jamie Lentin (2):
HID: lenovo: Move USB KEY_FILE to 0
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index a56b9e7..f96bf09 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -350,6 +350,7
On Fri, 25 Jul 2014, Antonio Ospite wrote:
On Wed, 23 Jul 2014 23:30:44 +0100
Jamie Lentin wrote:
This patchset follows on from my previous attempts to add support for
these keyboards from Lenovo.
Antonio, I've used cptkbd_data and left data_pointer for now. It'd be
an easy patch
Add support for both ThinkPad Compact Bluetooth Keyboard with
TrackPoint and ThinkPad Compact USB Keyboard with TrackPoint.
Signed-off-by: Jamie Lentin
---
Documentation/ABI/testing/sysfs-driver-hid-lenovo | 12 ++
drivers/hid/Kconfig | 2 +
drivers/hid/hid
ith Bluetooth and USB variants of the
Compact Keyboard with Trackpoint.
Cheers,
Jamie Lentin (4):
HID: lenovo: Rename hid-lenovo-tpkbd to hid-lenovo
HID: lenovo: Prepare support for adding other devices
HID: lenovo: Style fixes
HID: lenovo: Add support for Compact (BT|USB) keyboard
...er
Ensure all tpkbd specifics are within a postfixed function, the
main functions for the driver should just switch to the appropriate
function depending on product ID. Given this, we can add extra devices
by including extra postfixed functions.
Signed-off-by: Jamie Lentin
---
drivers/hid/hid
Rename module and all functions within so we can add support for other
keyboards in the same file. Rename the _tp postfix to _tpkbd, to
signify functions relevant to the TP USB keyboard.
Signed-off-by: Jamie Lentin
---
...er-hid-lenovo-tpkbd => sysfs-driver-hid-lenovo} | 0
drivers/
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index a56b9e7..6d55939 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -350,6 +350,7
On Mon, 14 Jul 2014, Antonio Ospite wrote:
On Sun, 13 Jul 2014 08:24:19 +0100
Jamie Lentin wrote:
Rename module and all functions within so we can add support for other
keyboards in the same file. Rename the _tp postfix to _tpkbd, to
signify functions relevant to the TP USB keyboard.
Signed
Rename module and all functions within so we can add support for other
keyboards in the same file. Rename the _tp postfix to _tpkbd, to
signify functions relevant to the TP USB keyboard.
Signed-off-by: Jamie Lentin
---
...er-hid-lenovo-tpkbd => sysfs-driver-hid-lenovo} | 0
drivers/
Keyboard with Trackpoint.
Cheers,
Jamie Lentin (4):
Rename hid-lenovo-tpkbd to hid-lenovo
Make all base functions switch depending on product ID
Style fixes
Add support for Compact (Bluetooth|USB) keyboard with Trackpoint
...er-hid-lenovo-tpkbd => sysfs-driver-hid-lenovo} | 12 +
dr
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index d11e337..a1a693c 100644
--- a/drivers/hid/hid-lenovo.c
+++ b/drivers/hid/hid-lenovo.c
@@ -349,7 +349,7
Signed-off-by: Jamie Lentin
---
Documentation/ABI/testing/sysfs-driver-hid-lenovo | 12 ++
drivers/hid/Kconfig | 2 +
drivers/hid/hid-core.c| 2 +
drivers/hid/hid-ids.h | 2 +
drivers/hid/hid-lenovo.c
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo.c | 45 ++---
1 file changed, 38 insertions(+), 7 deletions(-)
diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c
index 0320b96..d11e337 100644
--- a/drivers/hid/hid-lenovo.c
+++ b
USB variants of the
Compact Keyboard with Trackpoint, as well as the original Thinkpad USB
keyboard (thanks to Alexander Clouter).
Cheers,
Jamie Lentin (2):
Rename hid-lenovo-tpkbd to hid-lenovo, so we can add other keyboards
Add support for Compact (Bluetooth|USB) keyboard with Trackpoint
dri
Signed-off-by: Jamie Lentin
---
drivers/hid/Kconfig | 14 +-
drivers/hid/Makefile | 2 +-
drivers/hid/hid-core.c | 2 +-
drivers/hid/{hid-lenovo-tpkbd.c => hid-lenovo.c} | 233 +--
4 fi
Signed-off-by: Jamie Lentin
---
drivers/hid/Kconfig | 2 +
drivers/hid/hid-core.c | 2 +
drivers/hid/hid-ids.h| 2 +
drivers/hid/hid-lenovo.c | 202 +++
include/linux/hid.h | 1 +
5 files changed, 209 insertions(+)
diff --git a
On Wed, 11 Jun 2014, Antonio Ospite wrote:
On Tue, 10 Jun 2014 23:24:54 +0100
Jamie Lentin wrote:
Signed-off-by: Jamie Lentin
Some minor comments here too.
Thankyou for taking the time over both sets! All comments make sense.
---
drivers/hid/hid-core.c | 2 +
drivers/hid
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-core.c | 2 +
drivers/hid/hid-ids.h | 2 +
drivers/hid/hid-lenovo-tpkbd.c | 203 +
include/linux/hid.h| 1 +
4 files changed, 208 insertions(+)
diff --git a/drivers/hid/hid
I suspect in
reality so long as Fn-Lock is left on nobody will really care what the
Fn-Lock key does :)
Applies and tested against 3.14.5.
Cheers,
[1] https://lkml.org/lkml/2014/3/25/535
Jamie Lentin (2):
Loosen seams to allow support of other keyboards
Add support for Compact (Bluetooth|USB
Signed-off-by: Jamie Lentin
---
drivers/hid/hid-lenovo-tpkbd.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/drivers/hid/hid-lenovo-tpkbd.c b/drivers/hid/hid-lenovo-tpkbd.c
index 2d25b6c..3bec9f5 100644
--- a/drivers/hid/hid-lenovo-tpkbd.c
On Tue, 20 May 2014, Jiri Kosina wrote:
On Tue, 25 Mar 2014, Jamie Lentin wrote:
This keyboard requires some custom mappings for all keys to be
available, and the Fn-lock toggle needs to be controlled in software.
Signed-off-by: Jamie Lentin
---
I assume that Linux users want Fn-Lock
This keyboard requires some custom mappings for all keys to be
available, and the Fn-lock toggle needs to be controlled in software.
Signed-off-by: Jamie Lentin
---
Apologies for nagging, but anyone got any feedback on this? I don't
think there's anything massively contentious, but h
This keyboard requires some custom mappings for all keys to be
available, and the Fn-lock toggle needs to be controlled in software.
Signed-off-by: Jamie Lentin
---
I assume that Linux users want Fn-Lock enabled by default, so they can
get at the function keys. If this is an incorrect assumption
Commit: 96ff0f5c7efd4a2205c48a76a6a1fcd2731e6128
> Parent: f4a00139b7cbeff538e616a21f6b57249a9d3ed8
> Author: Jamie Lentin
> AuthorDate: Sat Nov 17 09:51:04 2012 +0100
> Committer: Jason Cooper
> CommitDate: Sat Nov 24 02:56:38 2012 +
>
> power: Add simple poweroff-gpio drive
51 matches
Mail list logo