[PATCH 3/3] ARM: dts: sun8i: add FriendlyARM NanoPi Duo2-IoT Box

2018-12-18 Thread Karl Palsson
-Box Signed-off-by: Karl Palsson --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts | 45 +++ 2 files changed, 46 insertions(+) create mode 100644 arch/arm/boot/dts/sun8i-h3-nanopi-duo2-iotbox.dts diff --git a/arch

[PATCH 1/3] ARM: dts: sunxi: h3/h5: add missing uart2 rts/cts pins

2018-12-18 Thread Karl Palsson
uart1 and uart3 had existing pin definitions for the rts/cts pairs. Add definitions for uart2 as well. Signed-off-by: Karl Palsson --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5

[PATCH 2/3] ARM: dts: sun8i: add FriendlyARM NanoPi Duo2

2018-12-18 Thread Karl Palsson
This is an Allwinner H3 based board, with 512MB ram, a USB OTG port, microsd slot, an onboard AP6212A wifi/bluetooth module, and a CSI connector. Full details and schematic available from vendor: http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo2 Signed-off-by: Karl Palsson --- arch/arm

Re: [PATCH v3 06/13] USB: ch341: add support for parity, frame length, stop bits

2016-04-11 Thread Karl Palsson
Sorry if you get this twice, I was having some client problems, but wanted to make sure you got this one... Grigori Goronzy wrote: > With the new reinitialization method, configuring parity, > different frame lengths and different stop bit settings work as > expected on both CH340G and CH341A. T

Re: [PATCH v2 14/14] USB: ch341: implement tx_empty callback

2016-04-03 Thread Karl Palsson
Grigori Goronzy wrote: > The status bit was found with USB captures of the Windows > driver and some luck. Tested on CH340G and CH341A. By my reversing, bit 0x4, is "multiple status changes since last interrupt" > > Signed-off-by: Grigori Goronzy > --- > drivers/usb/serial/ch341.c | 19 +

Re: [PATCH v2 07/14] USB: ch341: add support for parity, frame length, stop bits

2016-04-03 Thread Karl Palsson
Grigori Goronzy wrote: > With the new reinitialization method, configuring parity, > different frame lengths and different stop bit settings work as > expected on both CH340G and CH341A. This has been extensively > tested with a logic analyzer. > > Tested-by: Ryan Barber > Signed-off-by: Grigor

Re: [PATCH v7 1/5] leds: core: add generic support for RGB LED's

2016-03-06 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > I admit I hadn't seen this earlier, and I didn't spend all day > > looking at previous attempts, but what's the motivation for > > putting all this overloaded syntax into the "brightness" file? I > > thought the point was to have a single value in

Re: [PATCH v7 1/5] leds: core: add generic support for RGB LED's

2016-03-06 Thread Karl Palsson
s entry should do? I'd like to set the rgb colour of a led (or hsv, that can be it's own file too) and separately ramp the brightness up and down. I also think it's substantially simpler and easier to use from the user's point of view, which is surely the place you want easy right

Re: [RFT PATCH 1/2] usb: dwc2: Add a 10 ms delay to dwc2_core_reset()

2016-03-04 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas Anderson wrote: > > + /* > + * Sleep for 10-15 ms after the reset to let it finish. > + * > + * It's been confirmed on at least one version of the controller > + * that this is a requirement that this is a requirement

block: DISK_MEDIA_CHANGE uevents vs add/remove events

2016-02-23 Thread Karl Palsson
nsible for them? Or alternatively, is userspace _meant_ to be handling this directly from the "change" events? I see that with a CD-ROM, there are no kernel add/remove events, only change events, unlike SD cards. Sincerely, Karl Palsson [1] Using the "in kernel" event polling with &q

Re: Re: [PATCH] USB: serial: add nt124 usb to serial driver

2014-12-11 Thread Karl Palsson
Johan Hovold wrote: > On Mon, Dec 08, 2014 at 05:24:17PM -0600, George McCollister wrote: > > + newline.bParityType = termios->c_cflag & PARENB ? > > + (termios->c_cflag & PARODD ? 1 : 2) + > > + (termios->c_cflag & CMSPAR ? 2 : 0) : 0; > >

Re: [PATCH v2] ARM: dts: rockchip: use internal pull-up resistors on I2C busses

2014-10-29 Thread Karl Palsson
2cdetect results my first thought would have > >been "are there pullups on the bus?". > > > >Cheers, > > Max > > > >Am Mittwoch, 29. Oktober 2014, 13:44:15 schrieb Karl Palsson: > >>I'd be more inclined to have pulls disabled by default, i

Re: [PATCH v2] ARM: dts: rockchip: use internal pull-up resistors on I2C busses

2014-10-29 Thread Karl Palsson
ect, without having to turn off things that are not default anyway. Sincerely, Karl Palsson On Wed, Oct 29, 2014 at 02:17:23PM +0100, Heiko Stübner wrote: > Hi Addy, Max, Wolfram, > > after Doug's explanation of disfavour [0] and Julien's subsequent response I'm > not