Re: [PATCH v1 1/2] usb: chipidea: use of extcon framework to work for non OTG case

2019-10-22 Thread Igor Opaniuk
Hi Peter, On Tue, Oct 22, 2019 at 5:11 AM Peter Chen wrote: > > On 19-10-21 19:16:53, Igor Opaniuk wrote: > > From: Stefan Agner > > > > The existing usage of extcon in chipidea driver freezes the kernel > > presumably due to OTGSC register access. > > >

[PATCH v1 1/2] usb: chipidea: use of extcon framework to work for non OTG case

2019-10-21 Thread Igor Opaniuk
is present, do the role switch using extcon only. Signed-off-by: Sanchayan Maity Signed-off-by: Stefan Agner Signed-off-by: Igor Opaniuk --- drivers/usb/chipidea/ci.h | 2 + drivers/usb/chipidea/core.c | 87 + 2 files changed, 80 insertions(+), 9

[PATCH v1 2/2] ARM: dts: colibri-imx6ull: add extcon for usbotg1

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk Add extcon usb gpio configuration for support dual roles for usbotg1. USB host/gadget switching test (1. USB NIC emulation; 2. USB storage): [ 52.491957] ci_hdrc ci_hdrc.1: switching to gadget role [ 52.502911] mxs_phy 20c9000.usbphy: vbus is not valid [ 56.749160

[PATCH v2 3/3] usb: phy: mxs: optimize disconnect line condition

2019-10-10 Thread Igor Opaniuk
usb host enters suspend but vbus is off. Fixes: 7b09e67639("usb: phy: mxs: refine mxs_phy_disconnect_line") Signed-off-by: Li Jun Signed-off-by: Igor Opaniuk --- v2: - restored original commit author - fixed build for multi_v7 drivers/usb/phy/phy-mxs-usb.c | 28 -

[PATCH v2 1/3] usb: phy: add usb mode for usb_phy

2019-10-10 Thread Igor Opaniuk
From: Li Jun USB phy driver may need to know the current working mode of the controller, and can provide different settings according to host mode or device mode. Signed-off-by: Li Jun Signed-off-by: Igor Opaniuk --- v2: - restored original commit author - fixed build for multi_v7 include

[PATCH v2 2/3] usb: chipidea: set mode for usb phy driver

2019-10-10 Thread Igor Opaniuk
From: Li Jun After enters one specific role, notify usb phy driver. Signed-off-by: Li Jun Signed-off-by: Igor Opaniuk --- v2: - restored original commit author - fixed build for multi_v7 drivers/usb/chipidea/ci.h | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions

Re: [RFC PATCH v1 2/3] usb: chipidea: set mode for usb phy driver

2019-10-08 Thread Igor Opaniuk
Hi Peter, On Tue, Oct 8, 2019 at 6:23 AM Peter Chen wrote: > > On 19-10-07 15:46:06, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > After enters one specific role, notify usb phy driver. > > > > Signed-off-by: Li Jun > > Signed-off-by: Igor Opan

Re: [RFC PATCH v1 3/3] usb: phy: mxs: optimize disconnect line condition

2019-10-07 Thread Igor Opaniuk
HI Fabio, On Mon, Oct 7, 2019 at 3:51 PM Fabio Estevam wrote: > > Hi Igor, > > On Mon, Oct 7, 2019 at 9:47 AM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > We only have below cases to disconnect line when suspend: > > 1. Device mode with

[RFC PATCH v1 3/3] usb: phy: mxs: optimize disconnect line condition

2019-10-07 Thread Igor Opaniuk
From: Igor Opaniuk We only have below cases to disconnect line when suspend: 1. Device mode without connection to any host/charger(no vbus). 2. Device mode connect to a charger, usb suspend when system is entering suspend. This patch can fix cases, when usb phy wrongly does disconnect line

[RFC PATCH v1 1/3] usb: phy: add usb mode for usb_phy

2019-10-07 Thread Igor Opaniuk
From: Igor Opaniuk USB phy driver may need to know the current working mode of the controller, and can provide different settings according to host mode or device mode. Signed-off-by: Li Jun Signed-off-by: Igor Opaniuk --- include/linux/usb/phy.h | 23 +++ 1 file changed

[RFC PATCH v1 2/3] usb: chipidea: set mode for usb phy driver

2019-10-07 Thread Igor Opaniuk
From: Igor Opaniuk After enters one specific role, notify usb phy driver. Signed-off-by: Li Jun Signed-off-by: Igor Opaniuk --- drivers/usb/chipidea/ci.h | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb

[PATCH v3 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-09-04 Thread Igor Opaniuk
From: Igor Opaniuk Introduce DTS for Colibri iMX6S/DL V1.1x re-design, where UHS-I support was added. Provide proper configuration for VGEN3, which allows that rail to be automatically switched to 1.8 volts for proper UHS-I operation mode. Signed-off-by: Igor Opaniuk --- v3: - change

Re: [PATCH v5 2/6] ASoC: sgtl5000: Improve VAG power and mute control

2019-07-18 Thread Igor Opaniuk
_POWER, 4, 0, NULL, 0, > + headphone_pga_event, > + SND_SOC_DAPM_PRE_POST_PMU | > + SND_SOC_DAPM_PRE_POST_PMD), > SND_SOC_DAPM_PGA("LO", SGTL5000_CHIP_ANA_POWER, 0, 0, NULL, 0), > >

Re: [PATCH v2 3/6] ASoC: sgtl5000: Fix of unmute outputs on probe

2019-07-11 Thread Igor Opaniuk
t; + zcd_mask, zcd_mask); > > snd_soc_component_update_bits(component, SGTL5000_CHIP_MIC_CTRL, > SGTL5000_BIAS_R_MASK, > -- > 2.20.1 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüsse - Meilleures salutations Senior Development Engineer, Igor Opaniuk Toradex AG Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48 00 (main line)

Re: [PATCH v2 5/6] ASoC: Define a set of DAPM pre/post-up events

2019-07-11 Thread Igor Opaniuk
enience event type detection */ > #define SND_SOC_DAPM_EVENT_ON(e) \ > -- > 2.20.1 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüsse - Meilleures salutations Senior Development Engineer, Igor Opaniuk Toradex AG Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48 00 (main line)

Re: [PATCH v2 4/6] ASoC: sgtl5000: Fix charge pump source assignment

2019-07-11 Thread Igor Opaniuk
lreg_ctrl |= SGTL5000_VDDC_MAN_ASSN_VDDIO << > + SGTL5000_VDDC_MAN_ASSN_SHIFT; > + } > } > > snd_soc_component_write(component, SGTL5000_CHIP_LINREG_CTRL, > lreg_ctrl); > -- > 2.20.1 > With my comments addressed: Reviewed-b

Re: [PATCH v2 2/6] ASoC: sgtl5000: add ADC mute control

2019-07-11 Thread Igor Opaniuk
0_CHIP_ANA_CTRL, 0, 1, 1), > > SOC_DOUBLE_TLV("Headphone Playback Volume", > SGTL5000_CHIP_ANA_HP_CTRL, > -- > 2.20.1 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüsse - Meilleures salutations Senior Development Engineer, Igor Opaniuk Toradex AG Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48 00 (main line)

Re: [PATCH v2 1/6] ASoC: sgtl5000: Fix definition of VAG Ramp Control

2019-07-11 Thread Igor Opaniuk
H 3 > -#define SGTL5000_SMALL_POP 1 > +#define SGTL5000_SMALL_POP 0x0001 > > /* > * SGTL5000_CHIP_MIC_CTRL > -- > 2.20.1 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüsse - Meilleures salutations Sen

Re: [PATCH v2 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-07-02 Thread Igor Opaniuk
Hi Marco, On Tue, Jul 2, 2019 at 10:27 AM Marco Felsch wrote: > > Hi Igor, > > On 19-05-14 17:38, Igor Opaniuk wrote: > > Introduce DTS for Colibri iMX6S/DL V1.1x re-design, where UHS-I support was > > added. Provide proper configuration for VGEN3, which allows that rail

Re: [PATCH v2 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-06-27 Thread Igor Opaniuk
Hi Shawn and Sascha, On Fri, May 24, 2019 at 7:15 PM Marcel Ziswiler wrote: > > On Tue, 2019-05-14 at 17:38 +0300, Igor Opaniuk wrote: > > Introduce DTS for Colibri iMX6S/DL V1.1x re-design, where UHS-I > > support was > > added. Provide proper configuration for VGEN3

Re: [PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

2019-06-12 Thread Igor Opaniuk
On Wed, Jun 12, 2019 at 4:39 PM Shawn Guo wrote: > > On Wed, Jun 12, 2019 at 03:49:03PM +0300, Igor Opaniuk wrote: > > Hi Stefan, > > > > On Wed, Jun 12, 2019 at 3:17 PM Stefan Agner wrote: > > > > > > On 06.06.2019 11:06, Igor Opaniuk wrote: > >

Re: [PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

2019-06-12 Thread Igor Opaniuk
Hi Stefan, On Wed, Jun 12, 2019 at 3:17 PM Stefan Agner wrote: > > On 06.06.2019 11:06, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Allows to use the SD interface at a higher speed mode if the card > > supports it. For this the signaling voltage is switch

[PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

2019-06-06 Thread Igor Opaniuk
From: Igor Opaniuk Allows to use the SD interface at a higher speed mode if the card supports it. For this the signaling voltage is switched from 3.3V to 1.8V under the usdhc1's drivers control. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/imx6ul.dtsi | 4 arch/arm

[PATCH v2 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-05-14 Thread Igor Opaniuk
Introduce DTS for Colibri iMX6S/DL V1.1x re-design, where UHS-I support was added. Provide proper configuration for VGEN3, which allows that rail to be automatically switched to 1.8 volts for proper UHS-I operation mode. Signed-off-by: Igor Opaniuk --- v2: - rework hierarchy of dts files

Re: [PATCH v1 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-05-06 Thread Igor Opaniuk
Hi Marcel, On Thu, Apr 25, 2019 at 11:47 AM Marcel Ziswiler wrote: > > Hi Igor > > Sorry, for my late reply but this one got stuck in my private email. > > On Thu, 2019-04-04 at 11:19 +0200, Igor Opaniuk wrote: > > Introduce DTS for Colibri iMX6DL with proper configurat

Re: [PATCH v1 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-04-19 Thread Igor Opaniuk
Hi Marcel, Stefan, Could you please look into this and ack if there are no any objections from your end? Thanks! On Thu, Apr 4, 2019 at 12:19 PM Igor Opaniuk wrote: > > Introduce DTS for Colibri iMX6DL with proper configuration for VGEN3, > which allows that rail to be automatically

[PATCH v4 1/2] ARM: dts: colibri/apalis: convert to SPDX license tags

2019-04-17 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v4: - no changes v3: - Add Marcel's Acked-by tag - Remove un-needed parentheses in SPDX line v2: - Address Stefan's comment: replace GPL

[PATCH v4 2/2] ARM: dts: tegra124-apalis: convert to SPDX license tags

2019-04-17 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v4: - Fix typo in the SPDX tag, noticed by Marc (probably was introduced when manually removing unneeded brackets) v3: - Add Marcel's

Re: [PATCH v2 2/2] ARM: dts: tegra124-apalis: convert to SPDX license tags

2019-04-17 Thread Igor Opaniuk
eses don't really server any purpose here. With that: > > > > Acked-by: Marcel Ziswiler > > > > On April 10, 2019 9:10:07 AM GMT+02:00, Igor Opaniuk > > wrote: > > >Replace boiler plate licenses texts with the SPDX license > > >identif

[PATCH v3 2/2] ARM: dts: tegra124-apalis: convert to SPDX license tags

2019-04-17 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v3: - Add Marcel's Acked-by tag - Remove un-needed parentheses in SPDX line - Replace MIT with GPL-2.0 in tegra124-apalis-emc.dtsi v2

[PATCH v3 1/2] ARM: dts: colibri/apalis: convert to SPDX license tags

2019-04-17 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v3: - Add Marcel's Acked-by tag - Remove un-needed parentheses in SPDX line v2: - Address Stefan's comment: replace GPL-2.0+ instead GPL

[PATCH v2 1/2] ARM: dts: colibri/apalis: convert to SPDX license tags

2019-04-10 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/imx6q-apalis-eval.dts | 40 +- arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 40 +- arch/arm/boot/dts

[PATCH v2 2/2] ARM: dts: tegra124-apalis: convert to SPDX license tags

2019-04-10 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/tegra124-apalis-emc.dtsi | 39 ++--- arch/arm/boot/dts/tegra124-apalis-eval.dts | 40 ++ arch/arm/boot/dts

[PATCH v1 1/1] ARM: dts: colibri/apalis: convert to SPDX license tags

2019-04-04 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/imx6q-apalis-eval.dts | 40 +- arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 40 +- arch/arm/boot/dts

[PATCH v1 1/1] ARM: dts: colibri: introduce dts with UHS-I support enabled

2019-04-04 Thread Igor Opaniuk
Introduce DTS for Colibri iMX6DL with proper configuration for VGEN3, which allows that rail to be automatically switched to 1.8 volts for proper UHS-I operation mode. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 245 +- arch/arm/boot/dts

Re: [PATCH v2 1/1] tee: add cancellation support to client interface

2019-02-13 Thread Igor Opaniuk
On Thu, 24 Jan 2019 at 19:32, Igor Opaniuk wrote: > > Add support of cancellation request to the TEE kernel internal > client interface. Can be used by software TPM drivers, that leverage > TEE under the hood (for instance TPM2.0 mobile profile), for requesting > cancellation of

[PATCH v2 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Igor Opaniuk
Add support of cancellation request to the TEE kernel internal client interface. Can be used by software TPM drivers, that leverage TEE under the hood (for instance TPM2.0 mobile profile), for requesting cancellation of time-consuming operations (RSA key-pair generation etc.). Signed-off-by: Igor

Re: [PATCH 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Igor Opaniuk
right, missed that. Thanks! Addressed this issue + also fixed the description and sent v2. On Thu, 24 Jan 2019 at 18:19, Jens Wiklander wrote: > > On Thu, Jan 24, 2019 at 2:11 PM Igor Opaniuk wrote: > > > > Add support of cancellation request to the TEE kernel internal > &g

[PATCH 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Igor Opaniuk
-by: Igor Opaniuk --- drivers/tee/tee_core.c | 12 include/linux/tee_drv.h | 14 ++ 2 files changed, 26 insertions(+) diff --git a/drivers/tee/tee_core.c b/drivers/tee/tee_core.c index 7b2bb4c..aba71a8 100644 --- a/drivers/tee/tee_core.c +++ b/drivers/tee/tee_core.c @@ -1027,6

[PATCH v2 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 cap

2018-08-20 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- v2: - as there are three dwmmc blocks integrated on Hi3798CV200 SoC with identical CMD23 support, provide MMC_CAP_CMD23 capability instead of 0 for the third block also. drivers/mmc/host

[PATCH v2 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 cap

2018-08-20 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- v2: - as there are three dwmmc blocks integrated on Hi3798CV200 SoC with identical CMD23 support, provide MMC_CAP_CMD23 capability instead of 0 for the third block also. drivers/mmc/host

Re: [PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability

2018-08-16 Thread Igor Opaniuk
Hi Shawn, Will test it today with the change you suggested, in case if everything is OK will send v2 asap Thanks On 16 August 2018 at 11:01, Shawn Guo wrote: > On Wed, Aug 15, 2018 at 7:39 PM Igor Opaniuk wrote: >> >> Enable access to the RPMB on the on-board eMMC of the

Re: [PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability

2018-08-16 Thread Igor Opaniuk
Hi Shawn, Will test it today with the change you suggested, in case if everything is OK will send v2 asap Thanks On 16 August 2018 at 11:01, Shawn Guo wrote: > On Wed, Aug 15, 2018 at 7:39 PM Igor Opaniuk wrote: >> >> Enable access to the RPMB on the on-board eMMC of the

[PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability

2018-08-15 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- drivers/mmc/host/dw_mmc-hi3798cv200.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c index f9b333f

[PATCH 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 capability

2018-08-15 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- drivers/mmc/host/dw_mmc-hi3798cv200.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-hi3798cv200.c b/drivers/mmc/host/dw_mmc-hi3798cv200.c index f9b333f