[PATCH] Documentation: remote-control: fix typo

2017-05-30 Thread Aleksander Morgado
Correctly reference `--port` instead of `--baudrate` when explaining how to specify the port. Signed-off-by: Aleksander Morgado --- Documentation/user/remote-control.rst | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH v2 3/4] gpiolib: Add support for GPIO "hog" nodes

2017-05-30 Thread Andrey Smirnov
Add code to support 'gpio-hog' nodes used in some .dts files in Linux kernel. Cc: cphe...@gmail.com Cc: Nikita Yushchenko Signed-off-by: Andrey Smirnov --- drivers/gpio/gpiolib.c | 83 +-

[PATCH v2 4/4] usb-nop-xceiv: Add support for 'reset-gpios' binding

2017-05-30 Thread Andrey Smirnov
Cc: cphe...@gmail.com Cc: Nikita Yushchenko Signed-off-by: Andrey Smirnov --- drivers/phy/usb-nop-xceiv.c | 46 + 1 file changed, 42 insertions(+), 4 deletions(-) diff --git

[PATCH v2 1/4] gpio-imx: Do not use gpio_set_value()

2017-05-30 Thread Andrey Smirnov
Do not use gpio_set_value() in imx_gpio_direction_output(). We don't check gpio_set_value's result, so calling imx_gpio_set_value() directly instead should be as good. Cc: cphe...@gmail.com Cc: Nikita Yushchenko Acked-by: Nikita Yushchenko

[PATCH v2 0/4] GPIO "active low", hogging and usb-nop-xceive 'reset-gpio' support

2017-05-30 Thread Andrey Smirnov
Hi everyone, This is a v2 of my original patchset. Changes in this version are the following: - 'active low' support is moved inot a dedicated API - of_gpiochip_scan_gpios renamed to of_gpiochip_scan_hogs - nop_usbphy_init doesn't try to needlessly configure reset gpio's directionality

Re: [PATCH 3/4] gpiolib: Add support for GPIO "hog" nodes

2017-05-30 Thread Andrey Smirnov
On Tue, May 23, 2017 at 11:43 PM, Nikita Yushchenko wrote: > > > 24.05.2017 02:25, Andrey Smirnov wrote: >> On Mon, May 22, 2017 at 11:52 PM, Nikita Yushchenko >> wrote: + ret = of_property_read_u32(chip_np,

[PATCH 3/5] fs: add parseopt_b for loop mount option

2017-05-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- fs/parseopt.c | 26 ++ fs/parseopt.h | 1 + 2 files changed, 27 insertions(+) diff --git a/fs/parseopt.c b/fs/parseopt.c index 12dbe1813c..8ff83019a7 100644 --- a/fs/parseopt.c +++ b/fs/parseopt.c @@ -2,6 +2,32 @@

[PATCH 5/5] commands: mount: mention file loop mounts in the help text

2017-05-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- commands/mount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/mount.c b/commands/mount.c index f05e23b227..4cf1179b7b 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -117,6 +117,7 @@ BAREBOX_CMD_HELP_TEXT("With -a

[PATCH 4/5] fs: add cdev_create_from_file for loop mount option

2017-05-30 Thread Philipp Zabel
Allow to create a loopback cdev from a file. Signed-off-by: Philipp Zabel --- fs/devfs-core.c | 81 fs/fs.c | 21 --- include/driver.h | 1 + 3 files changed, 99 insertions(+), 4 deletions(-)

[PATCH 2/5] commands: mount: combine dev and devstr, which are the same

2017-05-30 Thread Philipp Zabel
Unify the device path used by the default mount and mount with specified mount point paths. Signed-off-by: Philipp Zabel --- commands/mount.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/commands/mount.c b/commands/mount.c index

[PATCH 1/5] cdev: make file operations const

2017-05-30 Thread Philipp Zabel
scripts/checkpatch.pl warns that struct file_operations should be const, but cdev->ops is not const, so without this patch we can choose between a warning from checkpatch and a warning from the compiler about discarding the const attribute when assigning the struct file_operations cdev->ops.

Re: Stable branches resurrected

2017-05-30 Thread Sascha Hauer
Hi Ian, On Wed, May 24, 2017 at 04:13:13PM +0100, Ian Abbott wrote: > On 24/05/17 08:36, Sascha Hauer wrote: > > Hi All, > > > > v2017.05.0 contains some nasty bugs. This led me to the idea to > > resurrect the stable branches. I created stable/v2017.05 and also > > released v2017.05.1. Please

Re: Barebox State stored in DOS partition

2017-05-30 Thread Sascha Hauer
Hi Laurent, On Mon, May 29, 2017 at 09:34:43AM +, Joye Laurent wrote: > > I'm trying to save my state variable set inside a DOS partition. Sorry, state as files inside partitions is currently not supported. Only plain partitions are supported. Sascha -- Pengutronix e.K.