[PATCHv4 4/5] ARM: dts: imx6q-b650v3: Add switch port configuration

2018-01-16 Thread Sebastian Reichel
) Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-b650v3.dts | 52 ++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-b650v3.dts b/arch/arm/boot/dts/imx6q-b650v3.dts index 7f9f176901d4..5650a9b11091 100644 --- a/arch/arm/boot

[PATCHv4 5/5] ARM: dts: imx6q-b450v3: Add switch port configuration

2018-01-16 Thread Sebastian Reichel
) Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-b450v3.dts | 52 ++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts b/arch/arm/boot/dts/imx6q-b450v3.dts index 404a93d9596b..3ec58500e9c2 100644 --- a/arch/arm/boot

[PATCHv4 3/5] ARM: dts: imx6q-b850v3: Add switch port configuration

2018-01-16 Thread Sebastian Reichel
ev ab) 03:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03) 04:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03) Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-b850v3.dts | 75 +

[PATCHv4 2/5] ARM: dts: imx6q-bx50v3: Add internal switch

2018-01-16 Thread Sebastian Reichel
B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to communicate with a Marvell switch. On all devices the switch is connected to a PCI based network card, which needs to be referenced by DT, so this also adds the common PCI root node. Signed-off-by: Sebastian Reichel --- arch/arm

Re: [PATCHv3 1/5] net: dsa: Support internal phy on 'cpu' port

2018-01-16 Thread Sebastian Reichel
Hi, On Mon, Jan 15, 2018 at 11:57:18PM +0100, Andrew Lunn wrote: > > int dsa_port_fixed_link_register_of(struct dsa_port *dp) > > { > > struct device_node *dn = dp->dn; > > @@ -305,6 +354,10 @@ int dsa_port_fixed_link_register_of(struct dsa_port > > *dp) > > ds->ops->adj

Re: linux-next: Signed-off-by missing for commit in the battery tree

2018-03-12 Thread Sebastian Reichel
Hi Stephen and Pierre, On Mon, Mar 12, 2018 at 10:46:08AM +0100, Pierre Bourdon (delroth) wrote: > On Mon, Mar 12, 2018 at 10:35 AM, Pierre Bourdon (delroth) > wrote: > > On Mon, 12 Mar 2018 at 02:40, Stephen Rothwell > > wrote: > >> > >> Hi Sebastian, > >> > >> Commit > >> > >> 5e0dfcbb1194

Re: [PATCH v2] power: supply: da9150-fg: remove VLA usage

2018-03-12 Thread Sebastian Reichel
Hi, On Fri, Mar 09, 2018 at 12:27:08PM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wvla, remove VLA usage and replace it > with fixed-length arrays. > > DA9150_QIF_LONG_SIZE (4 bytes) is the biggest size of an attribute which can > be accessed [1]. > > Fixed as part of the di

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-26 Thread Sebastian Reichel
Hi, On Mon, Mar 26, 2018 at 04:16:38PM +0200, Pavel Machek wrote: > Do you have any ideas what needs to be done for voice calls > support? Sure. > I can talk to the modem and start a call. Doing an AT query is the easy part :) > Then something like this (untested!) is certainly needed. > Proba

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-26 Thread Sebastian Reichel
Hi, On Mon, Mar 26, 2018 at 10:31:54PM +0200, Pavel Machek wrote: > Hi! > > > On Mon, Mar 26, 2018 at 04:16:38PM +0200, Pavel Machek wrote: > > > Do you have any ideas what needs to be done for voice calls > > > support? > > > > Sure. > > :-). > > > > I can talk to the modem and start a call.

[PATCHv2 0/3] GE Healthcare PPD firmware upgrade driver for ACHC

2018-03-27 Thread Sebastian Reichel
not block upstreaming this driver. Changes since PATCHv1: * split DT binding update into its own patch * add sysfs attribute documentation * fix problem reported by kbuild test robot -- Sebastian Sebastian Reichel (3): dt-bindings: misc: achc: Make ezport distinguishable misc: ezport-fir

[PATCHv2 3/3] ARM: dts: imx53: PPD: Update ACHC programming interface

2018-03-27 Thread Sebastian Reichel
Update ACHC programming interface description following the binding document. This makes it possible to use the new EzPort firmware update driver. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx53-ppd.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch

[PATCHv2 1/3] dt-bindings: misc: achc: Make ezport distinguishable

2018-03-27 Thread Sebastian Reichel
This updates the GE ACHC binding, so that different compatible strings are used for the programming interface, which is the ezport interface from NXP MK20FN1M0VMD12 and the microcontroller's normal SPI interface. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/mi

[PATCHv2 2/3] misc: ezport-firmware: new driver

2018-03-27 Thread Sebastian Reichel
General Electric Healthcare's PPD has a secondary processor from NXP's Kinetis K20 series. It's firmware can be updated from Linux using the EzPort interface. This driver implements the firmware updating process. Signed-off-by: Sebastian Reichel --- Documentation/ABI/testin

Re: 4.16-rc5 on Motorola Droid 4

2018-03-20 Thread Sebastian Reichel
Hi, On Tue, Mar 20, 2018 at 07:03:22AM -0700, Tony Lindgren wrote: > * Pavel Machek [180318 22:05]: > > I have the phone, I have safestrap installed, kexec seems to work > > (crashes my system). But I can't get any output from the new kernel. > > > > All the howtos assume serial connection, but

[PATCH 1/2] misc: ezport-firmware: new driver

2018-03-20 Thread Sebastian Reichel
General Electric Healthcare's PPD has a secondary processor from NXP's Kinetis K20 series. It's firmware can be updated from Linux using the EzPort interface. This driver implements the firmware updating process. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/b

[PATCH 0/2] GE Healthcare PPD firmware upgrade driver for ACHC

2018-03-20 Thread Sebastian Reichel
not block upstreaming this driver. -- Sebastian Sebastian Reichel (2): misc: ezport-firmware: new driver ARM: dts: imx53: PPD: Update ACHC programming interface Documentation/devicetree/bindings/misc/ge-achc.txt | 19 +- arch/arm/boot/dts/imx53-ppd.dts| 5 +- dr

[PATCH 2/2] ARM: dts: imx53: PPD: Update ACHC programming interface

2018-03-20 Thread Sebastian Reichel
Update ACHC programming interface description following the binding document. This makes it possible to use the new EzPort firmware update driver. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx53-ppd.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch

[PATCHv1] Input: atmel_mxt_ts - fix the firmware update

2018-03-22 Thread Sebastian Reichel
triggered. The patch will fix this issue by retrieving the chip info block CRC before the check. Suggested-by: Todd Weyenberg Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/atmel_mxt_ts.c | 27 +++ 1 file changed, 27 insertions

Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-22 Thread Sebastian Reichel
Hi Pavel, On Thu, Mar 22, 2018 at 09:48:05PM +0100, Pavel Machek wrote: > Hi! > > > Add sound support to Motorola Droid 4 using simple-soundcard > > and CPCAP's audio codec. This does not yet correctly represent > > the whole audio routing, since McBSP3 is also connected to > > Bluetooth and MDM6

Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-23 Thread Sebastian Reichel
Hi, On Fri, Mar 23, 2018 at 11:09:30AM +0100, Pavel Machek wrote: > Hi! > > > > # CONFIG_SND_OMAP_SOC_RX51 is not set > > > # CONFIG_SND_OMAP_SOC_N9 is not set > > > CONFIG_SND_OMAP_SOC_OMAP_TWL4030=y > > > CONFIG_SND_OMAP_SOC_OMAP_ABE_TWL6040=y > > > > That's not needed (but does not hurt). The

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-23 Thread Sebastian Reichel
Hi, On Fri, Mar 23, 2018 at 11:54:55AM +0100, Pavel Machek wrote: > Hi! > > > > > Do you have the related dts patches picked from next? > > > > > > > > fdd192037fce ("ARM: dts: omap4-droid4: Fix USB PHY port naming") > > > > e5b9fd7bdeb5 ("ARM: dts: omap4-droid4: Configure MDM6600 USB PHY") > >

Re: [PATCH 1/2] misc: ezport-firmware: new driver

2018-03-23 Thread Sebastian Reichel
Hi, On Fri, Mar 23, 2018 at 02:17:12PM +0100, Greg Kroah-Hartman wrote: > On Tue, Mar 20, 2018 at 06:22:00PM +0100, Sebastian Reichel wrote: > > General Electric Healthcare's PPD has a secondary processor from > > NXP's Kinetis K20 series. It's firmware can be up

Re: [PATCHv4 06/10] mfd: ti-lmu: add PWM support

2018-04-09 Thread Sebastian Reichel
Hi, On Wed, Apr 04, 2018 at 02:04:16PM -0500, Dan Murphy wrote: > Sebastian > > -Milo > > On 03/30/2018 12:24 PM, Sebastian Reichel wrote: > > This adds support to acquire the optional PWM channel, > > that can be used by some of the LMU variants. > > >

Re: [PATCHv4 08/10] backlight: add TI LMU backlight driver

2018-04-09 Thread Sebastian Reichel
Hi, On Tue, Apr 03, 2018 at 12:49:08PM +0200, Pavel Machek wrote: > > +enum ti_lmu_bl_type { > > + TI_LMU_BL, /* backlight userspace interface */ > > + TI_LMU_LED, /* led userspace interface */ > > +}; > ... > > +static int ti_lmu_bl_add_device(struct ti_lmu_bank *lmu_bank) > > +{ > > + swi

Re: [PATCHv4 08/10] backlight: add TI LMU backlight driver

2018-04-09 Thread Sebastian Reichel
Hi, On Wed, Apr 04, 2018 at 01:30:37PM -0500, Dan Murphy wrote: > Sebastian > > -Milo Kim email is not valid Thanks for your review! Milo was CC'd, since git took over the SoB. I will make sure to avoid it next time. > On 03/30/2018 12:24 PM, Sebastian Reichel wrote: > &

Re: [PATCHv4 08/10] backlight: add TI LMU backlight driver

2018-04-09 Thread Sebastian Reichel
Hi Daniel, On Wed, Apr 04, 2018 at 03:57:39PM +0100, Daniel Thompson wrote: > On Fri, Mar 30, 2018 at 07:24:12PM +0200, Sebastian Reichel wrote: > > This adds backlight support for the following TI LMU > > chips: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697. > > > &

Re: [PATCHv2 1/3] dt-bindings: misc: achc: Make ezport distinguishable

2018-04-09 Thread Sebastian Reichel
Hi, On Mon, Apr 09, 2018 at 01:57:27PM -0500, Rob Herring wrote: > On Tue, Mar 27, 2018 at 03:52:57PM +0200, Sebastian Reichel wrote: > > This updates the GE ACHC binding, so that different compatible > > strings are used for the programming interface, which is the > > ezpo

Re: [PATCHv4 09/10] dt-bindings: mfd: ti-lmu: update for backlight

2018-04-09 Thread Sebastian Reichel
Hi, On Mon, Apr 09, 2018 at 04:06:38PM -0500, Rob Herring wrote: > On Fri, Mar 30, 2018 at 07:24:13PM +0200, Sebastian Reichel wrote: > > Update binding to integrate the backlight feature directly into > > the main node, as suggested by Rob Herring. > > > > Signe

Re: [PATCH v1] battery: Add the ThinkPad battery status quirk

2018-04-10 Thread Sebastian Reichel
Hi, On Tue, Apr 10, 2018 at 11:06:43AM +0200, Ognjen Galic wrote: > The EC/ACPI firmware on Lenovo ThinkPads used to report a status > of "Unknown" when the battery is between the charge start and charge > stop thresholds. On Windows, it reports "Not Charging" so the quirk > has been added to fix

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-08 Thread Sebastian Reichel
Hi Lee, On Wed, Mar 07, 2018 at 04:32:11PM +, Lee Jones wrote: > On Fri, 23 Feb 2018, Sebastian Reichel wrote: > > +static const struct mfd_cell cpcap_mfd_devices[] = { [...] > > + }, { > > + .name = "cpcap-led", >

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-08 Thread Sebastian Reichel
Hi, On Thu, Mar 08, 2018 at 09:53:15AM +, Lee Jones wrote: > On Thu, 08 Mar 2018, Sebastian Reichel wrote: > > On Wed, Mar 07, 2018 at 04:32:11PM +, Lee Jones wrote: > > > On Fri, 23 Feb 2018, Sebastian Reichel wrote: > > > > +static const str

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-08 Thread Sebastian Reichel
Hi, On Thu, Mar 08, 2018 at 10:48:31AM +, Lee Jones wrote: > On Thu, 08 Mar 2018, Sebastian Reichel wrote: > > On Thu, Mar 08, 2018 at 09:53:15AM +, Lee Jones wrote: > > > On Thu, 08 Mar 2018, Sebastian Reichel wrote: > > > > On Wed, Mar 07, 2018 at 04:

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-09 Thread Sebastian Reichel
On Fri, Mar 09, 2018 at 08:34:14AM +, Lee Jones wrote: > On Thu, 08 Mar 2018, Mark Brown wrote: > > > On Thu, Mar 08, 2018 at 10:48:31AM +, Lee Jones wrote: > > > On Thu, 08 Mar 2018, Sebastian Reichel wrote: > > > > > > I had it in PATCHv1-PATCHv4.

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-09 Thread Sebastian Reichel
Hi, On Thu, Mar 08, 2018 at 09:07:36AM -0800, Tony Lindgren wrote: > * Sebastian Reichel [180308 09:47]: > > Hi Lee, > > > > On Wed, Mar 07, 2018 at 04:32:11PM +, Lee Jones wrote: > > > On Fri, 23 Feb 2018, Sebastian Reichel wrote: > > > > +stat

Re: [PATCH v5 3/6] power: supply: axp20x_battery: use data struct for variant specific code

2018-03-09 Thread Sebastian Reichel
Hi Quentin, On Wed, Feb 28, 2018 at 11:35:58AM +0100, Quentin Schulz wrote: > We used to use IDs to select a function or a feature depending on the > variant. It's easier to maintain the code by adding data structure > storing the few differences between variants so that we don't add a pile > of i

Re: [PATCH v5 4/6] dt-bindings: power: supply: axp20x: add AXP813 battery DT binding

2018-03-09 Thread Sebastian Reichel
Hi, On Wed, Feb 28, 2018 at 11:35:59AM +0100, Quentin Schulz wrote: > The AXP813 can have a battery as power supply, so let's add it to the > list of compatibles. > > Signed-off-by: Quentin Schulz > Reviewed-by: Rob Herring > Acked-by: Chen-Yu Tsai > --- Thanks, queued. -- Sebastian > Docu

Re: [PATCH v5 5/6] power: supply: axp20x_battery: add support for AXP813

2018-03-09 Thread Sebastian Reichel
Hi, On Wed, Feb 28, 2018 at 11:36:00AM +0100, Quentin Schulz wrote: > The X-Powers AXP813 PMIC has got some slight differences from > AXP20X/AXP22X PMICs: > - the maximum voltage supplied by the PMIC is 4.35 instead of 4.36/4.24 > for AXP20X/AXP22X, > - the constant charge current formula is di

Re: [PATCH v4] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-03-09 Thread Sebastian Reichel
Hi, On Mon, Feb 26, 2018 at 10:23:14AM +0800, Baolin Wang wrote: > On Spreadtrum platform, we need power off system through external SC27xx > series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. > Thus this patch adds SC27xx series PMICs power-off support. > > Signed-off-by

Re: [PATCH v3 2/2] power: reset: gpio-poweroff: Support for timeout from device property

2018-03-09 Thread Sebastian Reichel
Hi, On Thu, Feb 22, 2018 at 03:17:14PM -0800, Moritz Fischer wrote: > Add support for reading a timeout value from device property. > Fall back to previous default of 3s if nothing is specified. > > Signed-off-by: Moritz Fischer > --- Thanks, both queued. -- Sebastian > Changes from v2: > - u

Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support

2018-03-09 Thread Sebastian Reichel
Hi, On Fri, Mar 09, 2018 at 07:11:53AM -0800, Tony Lindgren wrote: > * Mark Brown [180309 12:41]: > > On Fri, Mar 09, 2018 at 08:34:14AM +, Lee Jones wrote: > > > On Thu, 08 Mar 2018, Mark Brown wrote: > > > > > > Linux. Clocks are a big issue with audio stuff, right now sections of > > > >

Re: [PATCH v2 1/4] power: supply: core: Introduce one property to present the battery internal resistance

2018-09-26 Thread Sebastian Reichel
Hi, On Wed, Sep 26, 2018 at 04:30:39PM +0800, Baolin Wang wrote: > Hi Linus, > > On 26 September 2018 at 16:00, Linus Walleij wrote: > > On Wed, Sep 26, 2018 at 4:59 AM Baolin Wang wrote: > > > >> Introduce one property to present the battery internal resistance for > >> battery > >> informati

Re: [PATCH v2 2/4] power: supply: core: Introduce properties to present the battery OCV table

2018-09-26 Thread Sebastian Reichel
OCV table > temperatures and OCV capacity table values. > > Suggested-by: Sebastian Reichel > Signed-off-by: Baolin Wang > --- > Changes from v1: > - New patch in v2. > --- > .../devicetree/bindings/power/supply/battery.txt | 14 + > drivers/power/supp

Re: [PATCH v2 3/4] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-09-26 Thread Sebastian Reichel
Hi, On Wed, Sep 26, 2018 at 10:59:13AM +0800, Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum SC27XX series PMICs > fuel gauge unit device, which is used to calculate the battery capacity. > > Signed-off-by: Baolin Wang > --- Looks good to me. -- Sebastian > Chan

Re: [PATCH v2 4/4] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-09-26 Thread Sebastian Reichel
Hi, On Wed, Sep 26, 2018 at 10:59:14AM +0800, Baolin Wang wrote: > This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support, > which is used to calculate the battery capacity. > > Original-by: Yuanjiang Yu > Signed-off-by: Baolin Wang > --- > Changes from v1: > - Use battery stand

Re: [PATCH v2 2/4] power: supply: core: Introduce properties to present the battery OCV table

2018-09-26 Thread Sebastian Reichel
Hi, On Thu, Sep 27, 2018 at 09:10:05AM +0800, Baolin Wang wrote: > On 26 September 2018 at 21:51, Sebastian Reichel wrote: > > Looks good to me. Technically this can result in existing users of > > power_supply_get_battery_info leaking memory, if they have an OCV

Re: [PATCH v2] dt-bindings: input: pwm-vibrator: correct pwms in example

2018-09-26 Thread Sebastian Reichel
t;, > -<&pwm9 0 10 0>; > + pwms = <&pwm9 0 10 0>, > + <&pwm8 0 10 0>; > pwm-names = "enable", "direction"; > direction-duty-cycle-ns = <10>; > }; Reviewed-by: Sebastian Reichel -- Sebastian signature.asc Description: PGP signature

Re: [PATCHv4 5/6] drm/omap: add framedone interrupt support

2018-11-19 Thread Sebastian Reichel
Hi, On Sat, Nov 17, 2018 at 10:08:40PM +0100, Pavel Machek wrote: > > This prepares framedone interrupt handling for > > manual display update support. > > > > Signed-off-by: Sebastian Reichel > > Acked-by: Pavel Machek Thanks. > > @@ -217,6 +239,9 @@ sta

Re: [Letux-kernel] [PATCH RFC] bluetooth: add uart h4 devices via serdev/devicetree

2018-11-12 Thread Sebastian Reichel
Hi, On Mon, Nov 12, 2018 at 10:19:02PM +0100, H. Nikolaus Schaller wrote: > > Am 12.11.2018 um 21:59 schrieb Andreas Kemnade : > > On Sun, 11 Nov 2018 03:46:48 +0100 > > Sebastian Reichel wrote: > >> On Sun, Nov 11, 2018 at 12:20:34AM +0100, Andreas Kemnade wrote: >

Re: [PATCH] HSI: omap_ssi: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 30, 2018 at 09:33:55PM -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- Thanks, nice cleanup! Queued to hsi-next. -- Sebastian > drivers/hsi/controllers/omap_ssi_core.c | 29 - > drive

Re: [PATCH v2 1/2] power: supply: add input voltage limit property.

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Dec 03, 2018 at 11:58:45AM -0800, Benson Leung wrote: > On Sat, Dec 01, 2018 at 04:09:34PM +0100, Pavel Machek wrote: > > > I think that handle this via dt / ACPI is not possible for our use case. > > > It can > > > be a hardware bug or a hardware/user constrain, let me try to explain

Re: [PATCH] power: supply: cpcap-battery: make array cpcap_battery_irqs static, shrinks object size

2018-12-05 Thread Sebastian Reichel
Hi, On Thu, Nov 29, 2018 at 11:03:42PM +, Colin King wrote: > From: Colin Ian King > > Don't populate the array cpcap_battery_irqs on the stack but instead > make it static. Makes the object code smaller by 99 bytes: > > Before: >text data bss dec hex filename >

Re: [PATCH 13/14] power: supply: axp20x: add missing include bitops.h

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 26, 2018 at 05:27:54PM +0200, Priit Laes wrote: > From: Olliver Schinagl > > The axp20x_usb_power driver uses BIT() operations but lacks the include > for it. Include the bitops.h header file. > > Signed-off-by: Olliver Schinagl > Signed-off-by: Priit Laes > --- > drivers/pow

Re: [PATCH 14/14] power: supply: axp288: use the BIT() macro

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 26, 2018 at 05:27:55PM +0200, Priit Laes wrote: > From: Olliver Schinagl > > Make use of the recommended BIT() macro for bit defines. > > Signed-off-by: Olliver Schinagl > Signed-off-by: Priit Laes > --- Thanks, queued to power-supply-next. -- Sebastian > drivers/power/sup

Re: [PATCH v6 0/8] AXP8x3 AC and battery power supply support

2018-12-05 Thread Sebastian Reichel
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/psy-mfd-axp813-immutable-for-v4.21-signed for you to fetch changes up to 7693b5643fd2d682de90733b67fc8032b9646911: power: supply: add AC power supply driver for AXP813 (2018-12-05 18:49:32 +0100) Immutable b

Re: [PATCH] power: supply: cpcap-charger: clean an indentation issue, remove tab

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 06:48:41PM +, Colin King wrote: > From: Colin Ian King > > Trivial fix to clean up indentation issue, remove an extraneous tab > > Signed-off-by: Colin Ian King > --- Thanks, queued. -- Sebastian > drivers/power/supply/cpcap-charger.c | 2 +- > 1 file change

Re: [PATCH 5/6] power: supply: charger-manager: Remove deprecated extcon APIs

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 10:57:12AM +0800, Baolin Wang wrote: > Hi Rob, > On Wed, 5 Dec 2018 at 05:52, Rob Herring wrote: > > > > On Fri, Nov 16, 2018 at 07:01:12PM +0800, Baolin Wang wrote: > > > The struct extcon_specific_cable_nb and related APIs are deprecated now, > > > so we should use n

Re: [PATCH 1/6] power: supply: charger-manager: Remove unused index counting

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 07:01:08PM +0800, Baolin Wang wrote: > Remove unused index counting. > > Signed-off-by: Baolin Wang > --- Thanks, queued. -- Sebastian > drivers/power/supply/charger-manager.c |4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/power/supply/cha

Re: [PATCH 2/6] power: supply: charger-manager: Fix some misspelled words

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 07:01:09PM +0800, Baolin Wang wrote: > Fix some misspelled words. > > Signed-off-by: Baolin Wang > --- Thanks, queued. -- Sebastian > drivers/power/supply/charger-manager.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/

Re: [PATCH 4/6] power: supply: charger-manager: Make code more readable

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 07:01:11PM +0800, Baolin Wang wrote: > Make code more readable. > > Signed-off-by: Baolin Wang > --- Thanks, queued. -- Sebastian > drivers/power/supply/charger-manager.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/dr

Re: [PATCH 3/6] power: supply: charger-manager: Fix incorrect return value

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 07:01:10PM +0800, Baolin Wang wrote: > Fix incorrect return value. > > Signed-off-by: Baolin Wang > --- Thanks, queued. -- Sebastian > drivers/power/supply/charger-manager.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/pow

Re: [PATCH v2 11/17] dt-bindings: olpc_battery: Add XO-1.5 battery

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:23:57PM +0100, Lubomir Rintel wrote: > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > Acked-by: Pavel Machek > > --- Review

Re: [PATCH v2 13/17] power: supply: olpc_battery: Use DT to get battery version

2018-12-05 Thread Sebastian Reichel
Acked-by: Pavel Machek > > --- Reviewed-by: Sebastian Reichel I assume this patch cannot be applied to power-supply without patch 12 having been merged to avoid breaking XO1.5 devices temporarily? -- Sebastian > Changes since v1: > - Sort the new include a bit higher > >

Re: [PATCH v2 14/17] power: supply: olpc_battery: Move priv data to a struct

2018-12-05 Thread Sebastian Reichel
On Fri, Nov 16, 2018 at 05:24:00PM +0100, Lubomir Rintel wrote: > The global variables for private data are not too nice. I'd like some > more, and that would clutter the global name space even further. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Andy Shevchenko > > --- > Changes since v1:

Re: [PATCH v2 15/17] power: supply: olpc_battery: Use devm_power_supply_register()

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:24:01PM +0100, Lubomir Rintel wrote: > This simplifies the error handling. > > Signed-off-by: Lubomir Rintel > > --- Reviewed-by: Sebastian Reichel -- Sebastian > Changes since v1: > - This was split off the "power: supply: olpc_

Re: [PATCH v2 16/17] power: supply: olpc_battery: Avoid using platform_info

2018-12-05 Thread Sebastian Reichel
else if (ec_byte & BAT_STAT_DISCHARGING) > @@ -608,14 +607,32 @@ static int olpc_battery_probe(struct platform_device > *pdev) > struct power_supply_config psy_cfg = {}; > struct olpc_battery_data *data; > uint8_t status; > + uint8_t ecver; > + int

Re: [PATCH v2 01/17] power: supply: olpc_battery: correct the temperature units

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:23:47PM +0100, Lubomir Rintel wrote: > According to [1] and [2], the temperature values are in tenths of degree > Celsius. Exposing the Celsius value makes the battery appear on fire: > > $ upower -i /org/freedesktop/UPower/devices/battery_olpc_battery > ... >

Re: [PATCH] power: reset: gpio-poweroff: add ability to specific active and inactive delays

2018-12-05 Thread Sebastian Reichel
Hi, On Sun, Nov 11, 2018 at 10:45:38PM +0100, Heiko Stuebner wrote: > From: Heiko Stuebner > > Similar to gpio-reset allow to specify active and inactive delays > while keeping the 100ms defaults that were used previously all the time. > > The dt-properties are named the same as in gpio-reset b

Re: [PATCH] power: reset: ocelot: switch the SI to boot mode

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 09, 2018 at 08:57:00PM +0100, Alexandre Belloni wrote: > Switch the SI to boot mode so on a warm reboot, the SI is able to access > the flash. > > Signed-off-by: Alexandre Belloni > --- Thanks, queued. -- Sebastian > drivers/power/reset/ocelot-reset.c | 12 > 1 f

Re: [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name

2018-12-05 Thread Sebastian Reichel
Hi, On Tue, Nov 27, 2018 at 10:51:09AM -0600, Rob Herring wrote: > On Sat, Nov 24, 2018 at 8:31 AM Yangtao Li wrote: > > > > In preparation to remove the node name pointer from struct device_node, > > convert printf users to use the %pOFn format specifier. > > > > Signed-off-by: Yangtao Li > > -

Re: [PATCH v2 1/7] dt-bindings: power: supply: bq24190_charger: add bq24192 and usb-otg-vbus

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 08:11:43PM -0400, Brian Masney wrote: > Add support for the ti,bq24192 variant and a child node for the > usb-otg-vbus regulator. > > Signed-off-by: Brian Masney > --- Thanks, queued. -- Sebastian > .../devicetree/bindings/power/supply/bq24190.txt | 9

Re: [PATCH v2 3/7] power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 08:11:45PM -0400, Brian Masney wrote: > From: Jonathan Marek > > This patch adds an of_match for the usb-otg-vbus regulator to > bq24190_charger. > > Signed-off-by: Jonathan Marek > Signed-off-by: Brian Masney > --- Thanks, queued. -- Sebastian > drivers/power/

Re: [PATCH v2 4/7] power: supply: bq24190_charger: add extcon support for USB OTG

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 08:11:46PM -0400, Brian Masney wrote: > Add extcon support so that we can notify USB drivers of cable state > changes. Based on work from Jonathan Marek. USB OTG was tested on a LG > Nexus 5 (hammerhead) phone. > > Signed-off-by: Brian Masney > --- Thanks, queued. -

Re: [PATCH v2 2/7] power: supply: bq24190_charger: add support for bq24192 variant

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Oct 31, 2018 at 08:11:44PM -0400, Brian Masney wrote: > From: Jonathan Marek > > This patch adds support for the bq24192 variant to bq24190_charger. > > Signed-off-by: Jonathan Marek > [masn...@onstation.org: Changed if statement to a switch based on > fe

Re: [PATCH v2] power: supply: bq24190_charger: add support for bq24196 variant

2018-12-05 Thread Sebastian Reichel
Hi, On Tue, Nov 13, 2018 at 01:47:53PM +0100, Heiko Stuebner wrote: > From: Heiko Stuebner > > The bq24196 is another variant of the bq24190 charger ic. > Its register set is identical to the bq24192 and it even reuses > the same part number (0x5). > > Signed-off-by: Heiko Stuebner > --- Than

Re: [PATCH 4/4] power: reset: at91-poweroff: remove at91_ramc_of_match

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 05, 2018 at 11:14:31AM +, claudiu.bez...@microchip.com wrote: > Remove at91_ramc_of_match[] since it is not used anywhere in this code. > > Signed-off-by: Claudiu Beznea > --- Thanks, queued. -- Sebastian > drivers/power/reset/at91-poweroff.c | 5 - > 1 file changed,

Re: [PATCH 1/4] power: reset: at91-poweroff: use one poweroff function for at91-poweroff

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 05, 2018 at 11:14:23AM +, claudiu.bez...@microchip.com wrote: > Use only one poweroff function and adapt it to work for both scenarios > (with LPDDR or not). The assignement of pm_power_off was moved at the > end of probe after all initializations are OK. This patch adapt the i

Re: [PATCH 3/4] power: reset: at91-poweroff: check shdwc data structure at the beginning of probe

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 05, 2018 at 11:14:28AM +, claudiu.bez...@microchip.com wrote: > Check at91_shdwc before continuing with probe since we want only one instance > of > this driver. Inspired from commit 9f1e44774be5 ("power: reset: at91-poweroff: > do not procede if at91_shdwc is allocated"). >

Re: [PATCH 2/4] power: reset: at91-poweroff: move shdwc related data to one structure

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Nov 07, 2018 at 06:23:40PM +0100, Alexandre Belloni wrote: > On 07/11/2018 14:54:17+, claudiu.bez...@microchip.com wrote: > > Hi Alexandre, > > > > On 06.11.2018 23:09, Alexandre Belloni wrote: > > > Hi Claudiu, > > > > > > On 05/11/2018 11:14:26+, claudiu.bez...@microchip.co

Re: [PATCH 1/4] power: supply: sc2731_charger: Add one work to charge/discharge

2018-12-05 Thread Sebastian Reichel
Hi, On Mon, Nov 12, 2018 at 06:52:35PM +0800, Baolin Wang wrote: > Since the USB notifier context is atomic, we can not start or stop charging > in atomic context. Thus this patch adds one work to help to charge or > discharge. > > Signed-off-by: Baolin Wang > --- Thanks, patchset queued. -- S

Re: [PATCH 0/5] Add new features for SC27XX fuel gauge driver

2018-12-05 Thread Sebastian Reichel
Hi, On Wed, Nov 14, 2018 at 05:07:03PM +0800, Baolin Wang wrote: > This patch set adds some new features for SC27XX fuel gauge driver. > > 1. Read calibration data from eFuse device to calibrate fuel gauge. > 2. Add low voltage alarm to adjust the battery capacity in lower > voltage stage. > 3. A

Re: [PATCH] mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe

2018-12-06 Thread Sebastian Reichel
Hi, On Thu, Dec 06, 2018 at 11:07:44PM +0530, Keerthy wrote: > Use devm_regmap_add_irq_chip and clean up error path in probe. > > Reported-by: Christian Hohnstaedt > Signed-off-by: Keerthy > --- > > Boot tested on am437x-gp-evm. This is missing cleanup of remove path? -- Sebastian > driver

Re: [PATCH v2] power: reset: at91-poweroff: move shdwc related data to one structure

2018-12-06 Thread Sebastian Reichel
Hi, On Thu, Dec 06, 2018 at 05:29:46PM +, claudiu.bez...@microchip.com wrote: > From: Claudiu Beznea > > Move SHDWC realted data to only one structure to have them grouped. > Inspired from commit 9be74f0d39c1 ("power: reset: at91-poweroff: make > mpddrc_base part of struct shdwc"). > > Sign

Re: [PATCH v2] power: supply: sc27xx: Save last battery capacity

2018-12-06 Thread Sebastian Reichel
Hi, On Thu, Dec 06, 2018 at 11:20:39AM +0800, Baolin Wang wrote: > From: Yuanjiang Yu > > Our charger manager can optimize the battery capacity periodically, so > we can save last battery capacity into registers. Then next system > power-on, we can read the last saved battery capacity as the ini

Re: [PATCH v3] mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe

2018-12-09 Thread Sebastian Reichel
Hi, On Sun, Dec 09, 2018 at 07:29:31PM +0530, Keerthy wrote: > Use devm_regmap_add_irq_chip and clean up error path in probe > and also the remove function. > > Reported-by: Christian Hohnstaedt > Signed-off-by: Keerthy > --- Reviewed-by: Sebastian Reichel -- Sebastian

Re: [PATCH RFC] bluetooth: add uart h4 devices via serdev/devicetree

2018-11-10 Thread Sebastian Reichel
Hi, On Sun, Nov 11, 2018 at 12:20:34AM +0100, Andreas Kemnade wrote: > This is a first try to be able to use h4 devices specified in > the devicetree, so you do not need to call hciattach and > it can be automatically probed. > > Of course, proper devicetree bindings documentation is > missing. A

Re: Vibrations on Droid 4?

2018-07-09 Thread Sebastian Reichel
Hi, On Mon, Jul 09, 2018 at 10:15:35AM +0200, Pavel Machek wrote: > Do you have vibrations on d4 working? > I believe I have required drivers enabled, but no luck: > > user@devuan:/sys/bus/platform/drivers$ ls pwm-vibrator/ > bind uevent unbind > user@devuan:/sys/bus/platform/drivers$ ls omap-d

Re: [PATCH v4] driver core: add a debugfs entry to show deferred devices

2018-07-10 Thread Sebastian Reichel
s. This can be error probe and has to be done in a ad-hoc > manner by everyone who needs to debug these kind of issues. > > Since the information is already known by the kernel, just show it to make > it easier to debug. > > Signed-off-by: Javier Martinez Canillas > Reviewed-by:

Re: Vibrations on Droid 4?

2018-07-10 Thread Sebastian Reichel
Hi, On Tue, Jul 10, 2018 at 12:02:11AM +0200, Pavel Machek wrote: > Hi! > > > > Do you have vibrations on d4 working? > > > I believe I have required drivers enabled, but no luck: > > > > > > user@devuan:/sys/bus/platform/drivers$ ls pwm-vibrator/ > > > bind uevent unbind > > > user@devuan:/sy

Re: Vibrations on Droid 4?

2018-07-10 Thread Sebastian Reichel
Hi, On Tue, Jul 10, 2018 at 03:30:40PM +0200, Pavel Machek wrote: > On Tue 2018-07-10 12:11:47, Sebastian Reichel wrote: > > On Tue, Jul 10, 2018 at 12:02:11AM +0200, Pavel Machek wrote: > > > > > Do you have vibrations on d4 working? > > > > > I believe

Re: [PATCH] MAINTAINERS: Update E-mail address

2018-07-10 Thread Sebastian Reichel
Hi Peter, On Tue, Jul 10, 2018 at 04:47:02PM +0200, Peter Senna Tschudin wrote: > Update my E-mail address on MAINTAINERS file. > > Signed-off-by: Peter Senna Tschudin Reviewed-by: Sebastian Reichel -- Sebastian > MAINTAINERS | 2 +- > 1 file changed, 1 insertion

Re: [PATCH] power: supply: adp5061: Fix a couple off by ones

2018-07-11 Thread Sebastian Reichel
Hi, On Wed, Jul 11, 2018 at 10:58:13AM +0300, Dan Carpenter wrote: > We end up reading one element beyond the end of the adp5061_vmax[] array > here. > > Fixes: fe8e81b7e899 ("adp5061: New driver for ADP5061 I2C battery charger") > Signed-off-by: Dan Carpenter Thanks, queued. -- Sebastian > d

Re: [PATCH v2 4/4] power: ds2760_battery: add device tree glue

2018-06-28 Thread Sebastian Reichel
Hi, On Thu, Jun 28, 2018 at 09:55:40AM +0200, Daniel Mack wrote: > The w1 slave device used by this driver now has a of_node in case it > was matched against a devicetree sub-node of the bus master. This can > now be passed down to the power supply core which will parse more > properties from the

[PATCHv2 2/2] ARM: dts: imx53: PPD: Rename usbphy nodes

2018-06-28 Thread Sebastian Reichel
This renames usbphy nodes 2 & 3, so that they follow the same format as usbphy node 0 & 1 from imx53.dtsi. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx53-ppd.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/

[PATCHv2 1/2] ARM: dts: imx53: PPD: Add fixed-regulator information

2018-06-28 Thread Sebastian Reichel
Add information about 3V3 power rail to avoid kernel warnings, that dummy regulators have been added. Signed-off-by: Sebastian Reichel --- Changes since PATCHv1: * split usbphy rename into its own patch * drop useless regulator-boot-on --- arch/arm/boot/dts/imx53-ppd.dts | 32

[PATCH 0/2] serial: imx: more shutdown cleanups

2018-05-24 Thread Sebastian Reichel
Hi, Here are two more cleanup patches for imx-serial. Both issues were found by code reading, no real-world issues are known. -- Sebastian Sebastian Reichel (2): serial: imx: drop CTS/RTS handling from shutdown serial: imx: disable UCR4_OREN on shutdown drivers/tty/serial/imx.c | 8

[PATCH 2/2] serial: imx: disable UCR4_OREN on shutdown

2018-05-24 Thread Sebastian Reichel
UCR4_OREN is (depending on the configuration) enabled in startup, but is never disabled. Fix this by disabling it in shutdown. Reported-by: Nandor Han Signed-off-by: Sebastian Reichel --- drivers/tty/serial/imx.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 1/2] serial: imx: drop CTS/RTS handling from shutdown

2018-05-24 Thread Sebastian Reichel
According to Documentation/serial/driver the shutdown function should not disable RTS, so drop it. Suggested-by: Uwe Kleine-König Signed-off-by: Sebastian Reichel --- drivers/tty/serial/imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/imx.c b/drivers

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-25 Thread Sebastian Reichel
Hi Shawn, On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian Reichel wrote: > > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn G

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-05-27 Thread Sebastian Reichel
Hi, On Mon, May 28, 2018 at 10:26:54AM +0800, Shawn Guo wrote: > On Tue, Feb 27, 2018 at 11:17:12AM +0100, Sebastian Reichel wrote: > > Hi, > > > > On Tue, Feb 27, 2018 at 09:10:34AM +0800, Shawn Guo wrote: > > > On Mon, Feb 26, 2018 at 02:47:41PM +0100, Sebastian

Re: [PATCH 1/2] serdev: add controller runtime PM support

2018-05-11 Thread Sebastian Reichel
d by any serdev driver which wants and/or > can handle aggressive controller runtime PM. > > Note that the .ignore_children flag is set for the serdev controller to > allow the underlying hardware to idle when no I/O is expected, regardless > of the slave device RPM state. > > Si

<    1   2   3   4   5   6   7   8   9   10   >