Re: [PATCH] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-09-23 Thread Tim Harvey
ror in the adv7280 reference manual suggested that EAV/SAV mode > > > was enabled by default, however upon inspecting register 0x31, it was > > > determined to be disabled by default. > > > > > > Signed-off-by: Matthew Michilot > > > Reviewed-by: Ti

[PATCH v9 3/3] hwmon: add Gateworks System Controller support

2020-04-30 Thread Tim Harvey
The Gateworks System Controller has a hwmon sub-component that exposes up to 16 ADC's, some of which are temperature sensors, others which are voltage inputs. The ADC configuration (register mapping and name) is configured via device-tree and varies board to board. Signed-off-by: Tim H

[PATCH v9 0/3] Add support for the Gateworks System Controller

2020-04-30 Thread Tim Harvey
unction - use strlcpy to ensure null termination - fix static array sizes and removed unnecessary initializers - dynamically allocate channels - fix fan input label - support platform data Tim Harvey (3): dt-bindings: mfd: Add Gateworks System Controller bindings mfd: add Gateworks System Contr

[PATCH v9 1/3] dt-bindings: mfd: Add Gateworks System Controller bindings

2020-04-30 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey Reviewed-by: Rob Herring --- v9: - added Reviewed-by: Rob Herring - remove allOf: see https://lkml.org/lkml/2020/4/15/1930 - encorporate Lee's review comments for

[PATCH v9 2/3] mfd: add Gateworks System Controller core driver

2020-04-30 Thread Tim Harvey
using custom protocol - Interrupt controller with tamper detect, user pushbotton - Watchdog controller capable of full board power-cycle - Power Control capable of full board power-cycle see http://trac.gateworks.com/wiki/gsc for more details Signed-off-by: Tim Harvey --- v9: - rebase against 5.

Re: [PATCH v8 2/3] mfd: add Gateworks System Controller core driver

2020-04-28 Thread Tim Harvey
On Tue, Apr 28, 2020 at 2:44 AM Lee Jones wrote: > > > + > > +static int gsc_probe(struct i2c_client *client) > > +{ > > + struct device *dev = &client->dev; > > + struct gsc_dev *gsc; > > + int ret; > > + unsigned int reg; > > + > > + gsc = devm_kzalloc(dev, sizeof(*gsc), GFP

Re: [PATCH v8 2/3] mfd: add Gateworks System Controller core driver

2020-04-29 Thread Tim Harvey
On Tue, Apr 28, 2020 at 11:33 PM Lee Jones wrote: > > On Tue, 28 Apr 2020, Tim Harvey wrote: > > > On Tue, Apr 28, 2020 at 2:44 AM Lee Jones wrote: > > > > > > > > > + > > > > +static int gsc_probe(struct i2c_client *client) >

Re: [PATCH] ARM: dts: gw552x: add USB OTG support

2020-04-29 Thread Tim Harvey
On Tue, Apr 28, 2020 at 8:37 PM Shawn Guo wrote: > > On Fri, Apr 24, 2020 at 10:10:15AM -0700, Tim Harvey wrote: > > The GW552x-B board revision adds USB OTG support. > > > > Enable the device-tree node and configure the OTG_ID pin. > > > > Signed-off-by: Ti

[PATCH v2] ARM: dts: gw552x: add USB OTG support

2020-04-29 Thread Tim Harvey
The GW552x-B board revision adds USB OTG support. Enable the device-tree node and configure the OTG_ID pin. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw552x.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw552x.dtsi b/arch/arm

Re: [PATCH 2/2] regulator: ltc3676: Fix module description

2019-02-15 Thread Tim Harvey
drivers/regulator/ltc3676.c > index 549a1a243870..e6d66e492b85 100644 > --- a/drivers/regulator/ltc3676.c > +++ b/drivers/regulator/ltc3676.c > @@ -389,5 +389,5 @@ static struct i2c_driver ltc3676_driver = { > module_i2c_driver(ltc3676_driver); > > MODULE_AUTHOR("Tim H

Re: [PATCH 1/2] regulator: ltc3676: Simplify .readable_reg and .writable_reg callbacks

2019-02-15 Thread Tim Harvey
@ -317,8 +264,8 @@ static bool ltc3676_volatile_reg(struct device *dev, > unsigned int reg) > static const struct regmap_config ltc3676_regmap_config = { > .reg_bits = 8, > .val_bits = 8, > - .writeable_reg = ltc3676_writeable_reg, > - .readable_reg = ltc

Re: [PATCH 2/3] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-08 Thread Tim Harvey
On Sun, Feb 3, 2019 at 11:48 AM Steve Longerbeam wrote: > > Pass v4l2 encoding enum to the ipu_ic task init functions, and add > support for the BT.709 encoding and inverse encoding matrices. > > Reported-by: Tim Harvey > Signed-off-by: Steve Longerbeam > --- > dri

Re: [PATCH v3 3/4] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-08 Thread Tim Harvey
On Fri, Feb 8, 2019 at 11:28 AM Steve Longerbeam wrote: > > Pass v4l2 encoding enum to the ipu_ic task init functions, and add > support for the BT.709 encoding and inverse encoding matrices. > > Reported-by: Tim Harvey > Signed-off-by: Steve Longerbeam > --- > Change

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-21 Thread Tim Harvey
On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam wrote: > > Hi Tim, > > On 1/15/19 1:58 PM, Tim Harvey wrote: > > On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam > > wrote: > >> Also add an example pipeline for unconverted capture with interweave > >

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-22 Thread Tim Harvey
On Mon, Jan 21, 2019 at 12:24 PM Tim Harvey wrote: > > On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam > wrote: > > > > Hi Tim, > > > > On 1/15/19 1:58 PM, Tim Harvey wrote: > > > On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam > >

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-15 Thread Tim Harvey
On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam wrote: > > Also add an example pipeline for unconverted capture with interweave > on SabreAuto. > > Cleanup some language in various places in the process. > > Signed-off-by: Steve Longerbeam > Reviewed-by: Philipp Zabel > --- > Changes since v4:

Re: [PATCH] media: imx-csi: Input connections to CSI should be optional

2019-01-15 Thread Tim Harvey
ure regression on the Gateworks Ventana boards as well. This should go to stable to fix 4.20 so please add a 'Cc: sta...@vger.kernel.org' if you re-submit (else we can send it to sta...@vger.kernel.org later). Acked-by: Tim Harvey Tim

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-23 Thread Tim Harvey
On Tue, Jan 22, 2019 at 4:10 PM Steve Longerbeam wrote: > > > > On 1/21/19 12:24 PM, Tim Harvey wrote: > > On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam > > wrote: > >> Hi Tim, > >> > >> On 1/15/19 1:58 PM, Tim Harvey wrote: >

Re: [v3,4/4] watchdog: add Gateworks System Controller support

2018-03-30 Thread Tim Harvey
On Thu, Mar 29, 2018 at 6:07 PM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 08:14:03AM -0700, Tim Harvey wrote: >> Signed-off-by: Tim Harvey >> --- >> drivers/watchdog/Kconfig | 10 >> drivers/watchdog/Makefile | 1 + >>

Re: [v3,4/4] watchdog: add Gateworks System Controller support

2018-04-02 Thread Tim Harvey
On Fri, Mar 30, 2018 at 11:19 AM, Guenter Roeck wrote: > On Fri, Mar 30, 2018 at 10:49:38AM -0700, Tim Harvey wrote: >> On Thu, Mar 29, 2018 at 6:07 PM, Guenter Roeck wrote: >> > On Wed, Mar 28, 2018 at 08:14:03AM -0700, Tim Harvey wrote: >> >> Signed-off-by: Tim Ha

Re: [PATCH] regmap: irq: fix ack-invert

2018-03-03 Thread Tim Harvey
On Tue, Feb 27, 2018 at 8:05 AM, Tim Harvey wrote: > When acking irqs we need to take into account the ack-invert case. Without > this chips that require 0's to ACK interrupts will never clear the interrupt. > > I am working on an mfd driver that will use ack-invert and discov

Re: [PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-04-23 Thread Tim Harvey
On Sun, Apr 22, 2018 at 7:10 PM, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Now we can replace Codec to Component. Let's do it. > > Note: > xxx_codec_xxx() -> xxx_component_xxx() > .idle_bias_off = 0 -> .idle_bias_on = 1 > .ignore_pmdow

Re: [PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-04-23 Thread Tim Harvey
On Mon, Apr 23, 2018 at 9:52 AM, Mark Brown wrote: > On Mon, Apr 23, 2018 at 09:44:17AM -0700, Tim Harvey wrote: > >> Could you add some detail to the commit explaining why we need to >> replace codec to component? I don't really know what that means. >> Please refe

[PATCH] i2c: imx: add retries for i2c-0 on Ventana boards

2016-07-07 Thread Tim Harvey
Gateworks Ventana IMX6 based boards have a Gateworks System Controller [1] (gsc) device that can NAK i2c transactions when its busy in an ADC loop. As this is always on i2c-0 we will add retries for that bus for any Ventana board. Signed-off-by: Tim Harvey --- drivers/i2c/busses/i2c-imx.c | 12

Re: [PATCH v6 4/4] PCI: designware: Add iATU Unroll feature

2016-11-16 Thread Tim Harvey
On Tue, Nov 15, 2016 at 4:30 PM, Fabio Estevam wrote: > Hi Tim, > > On Tue, Nov 15, 2016 at 10:22 PM, Tim Harvey wrote: > >> Bjorn / Joao, >> >> This patch (from commit a0601a47053714eecec726aea5ebcd829f817497) is >> causing a kernel regression in 4.9

Re: [PATCH v6 4/4] PCI: designware: Add iATU Unroll feature

2016-11-15 Thread Tim Harvey
On Wed, Aug 17, 2016 at 1:00 PM, Bjorn Helgaas wrote: > From: Joao Pinto > > Add support for the new iATU Unroll mechanism that will be used from Core > version 4.80. The new Cores can support either iATU Unroll or the "old" > iATU method, now called Legacy Mode. The driver is perfectly capable

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-11 Thread Tim Harvey
On Fri, Jan 6, 2017 at 6:11 PM, Steve Longerbeam wrote: > In version 3: > > Changes suggested by Rob Herring : > > - prepended FIM node properties with vendor prefix "fsl,". > > - make mipi csi-2 receiver compatible string SoC specific: > "fsl,imx6-mipi-csi2" instead of "fsl,imx-mipi-csi2"

Re: [PATCH v3 10/24] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2017-01-12 Thread Tim Harvey
On Fri, Jan 6, 2017 at 6:11 PM, Steve Longerbeam wrote: > Add pinctrl groups for both GPT input capture channels. > > Signed-off-by: Steve Longerbeam > --- > arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-

[PATCH] regulator: Add LTC3676 support

2016-08-09 Thread Tim Harvey
This patch adds support for the Linear Technology LTC3676 8-output I2C voltage regulator IC. Cc: Jaffer Kapasi Signed-off-by: Tim Harvey --- .../devicetree/bindings/regulator/ltc3676.txt | 94 drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile

Re: [PATCH] regulator: Add LTC3676 support

2016-08-10 Thread Tim Harvey
On Wed, Aug 10, 2016 at 4:41 AM, Mark Brown wrote: > On Tue, Aug 09, 2016 at 04:36:07PM -0700, Tim Harvey wrote: > > Mostly looks good but quite a few issues with not using framework > features here, a lot of the code can be factored out into the core: > Mark, thanks

Re: [PATCH] regulator: Add LTC3676 support

2016-08-10 Thread Tim Harvey
On Wed, Aug 10, 2016 at 3:28 PM, Rob Herring wrote: > On Tue, Aug 09, 2016 at 04:36:07PM -0700, Tim Harvey wrote: >> This patch adds support for the Linear Technology LTC3676 >> 8-output I2C voltage regulator IC. >> >> Cc: Jaffer Kapasi >> Signed-off-by: Tim

Re: [PATCH] i2c: imx: add retries for i2c-0 on Ventana boards

2016-07-08 Thread Tim Harvey
On Thu, Jul 7, 2016 at 11:28 PM, Uwe Kleine-König wrote: > Hello Tim, > > On Thu, Jul 07, 2016 at 07:03:49AM -0700, Tim Harvey wrote: >> Gateworks Ventana IMX6 based boards have a Gateworks System Controller [1] >> (gsc) device that can NAK i2c transactions when its bu

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Sun, Mar 27, 2016 at 5:26 PM, Fabio Estevam wrote: > On Sun, Mar 27, 2016 at 11:44 AM, Fabio Estevam wrote: > >> Good catch! >> >> Reviewed-by: Fabio Estevam >> >> I will fix imx6q-sabresd.dtsi when this patch gets applied. > > After thinking more about it, I think the correct fix is to rever

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Mon, Mar 28, 2016 at 1:13 PM, Fabio Estevam wrote: > Hi Tim, > > On Mon, Mar 28, 2016 at 4:59 PM, Tim Harvey wrote: > >> Fabio, >> >> I would agree with you on this - 5c5fb40de8f143 ("PCI: imx6: Add >> support for active-low reset GPIO") should b

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-28 Thread Tim Harvey
On Mon, Mar 28, 2016 at 2:30 PM, Fabio Estevam wrote: > On Mon, Mar 28, 2016 at 5:42 PM, Tim Harvey wrote: > >> Fabio, >> >> ok - I'll respond there as I agree with the patch but not the wording >> of the commit (It's Gateworks 'Ventana' usin

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 3:55 AM, Lucas Stach wrote: > Am Dienstag, den 29.03.2016, 12:39 +0200 schrieb Krzysztof Hałasa: >> Lucas Stach writes: >> >> > Is this working with v4.4 and PCI_MSI enabled? I'm sure I've tested MSI >> > IRQs before enabling them in the defconfig and they have been workin

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 6:52 AM, Arnd Bergmann wrote: > On Tuesday 29 March 2016 06:32:29 Tim Harvey wrote: >> > >> > There is no upstream driver for this chip, so I don't know where to look >> > to find out if the driver tries to enable MSI. >> > &g

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 7:50 AM, Arnd Bergmann wrote: > On Tuesday 29 March 2016 07:29:34 Tim Harvey wrote: >> On Tue, Mar 29, 2016 at 6:52 AM, Arnd Bergmann wrote: >> > On Tuesday 29 March 2016 06:32:29 Tim Harvey wrote: > >> >> I think 31e98e0d24cd

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 9:13 AM, Roberto Fichera wrote: > On 03/29/2016 05:10 PM, Tim Harvey wrote: >> Arnd, >> >> Right, on the IMX the MSI interrupt is GIC-120 which is also the >> legacy INTD and I do see that if I happen to put a radio in a slot >> where due t

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 9:44 AM, Roberto Fichera wrote: > On 03/29/2016 06:40 PM, Tim Harvey wrote: >> On Tue, Mar 29, 2016 at 9:13 AM, Roberto Fichera >> wrote: >>> On 03/29/2016 05:10 PM, Tim Harvey wrote: >>>> Arnd, >>>> >>>> Righ

Re: [PATCH] i.MX6 PCIe: Fix imx6_pcie_deassert_core_reset() polarity

2016-03-29 Thread Tim Harvey
On Tue, Mar 29, 2016 at 8:24 AM, Arnd Bergmann wrote: > On Tuesday 29 March 2016 08:10:08 Tim Harvey wrote: >> Arnd, >> >> Right, on the IMX the MSI interrupt is GIC-120 which is also the >> legacy INTD and I do see that if I happen to put a radio in a slot >>

Re: [PATCH] can: mcp251x: add support for half duplex controllers

2020-06-30 Thread Tim Harvey
On Thu, May 28, 2020 at 8:28 AM Tim Harvey wrote: > > Some SPI host controllers do not support full-duplex SPI and are > marked as such via the SPI_CONTROLLER_HALF_DUPLEX controller flag. > > For such controllers use half duplex transactions but retain full > duplex tr

Re: linux-next: build warnings after merge of the imx-mxs tree

2020-06-24 Thread Tim Harvey
On Tue, Jun 23, 2020 at 4:50 PM Stephen Rothwell wrote: > > Hi all, > > After merging the imx-mxs tree, today's linux-next build (arm > multi_v7_defconfig) produced these warnings: > > arch/arm/boot/dts/imx6qdl-gw53xx.dtsi:350.4-27: Warning (reg_format): > /soc/pcie@1ffc000/pcie@0,0,0/pcie@1,0,0:

[PATCH v2] ARM: dts: imx6qdl-gw: add Gateworks System Controller support

2020-06-18 Thread Tim Harvey
Add Gateworks System Controller support to Gateworks Ventana boards: - add dt bindings for GSC mfd driver and hwmon driver for ADC's and fan controllers. - add dt bindings for gpio-keys driver for push-button and interrupt events Signed-off-by: Tim Harvey --- v2: - use keycode bindings

[PATCH] can: mcp251x: add support for half duplex controllers

2020-05-28 Thread Tim Harvey
Some SPI host controllers do not support full-duplex SPI and are marked as such via the SPI_CONTROLLER_HALF_DUPLEX controller flag. For such controllers use half duplex transactions but retain full duplex transactions for the controllers that can handle those. Signed-off-by: Tim Harvey

[RFC PATCH] spi: spi-cavium-thunderx: flag controller as half duplex

2020-05-28 Thread Tim Harvey
other silicon that does support full duplex transfers (in which case we will need to identify that we are running on the ThunderX arch before setting the flag). Cc: Robert Richter Signed-off-by: Tim Harvey --- drivers/spi/spi-cavium-thunderx.c | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH] ARM: dts: imx6qdl-gw53xx: allow boot firmware to set eth1 MAC

2020-05-28 Thread Tim Harvey
The GW53xx has a PCIe based GbE as the 2nd ethernet device. The boot firmware will populate the local-mac-address field of the device aliased to ethernet1 thus adding the PCIe device to dt allows boot firmware to set its MAC address. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl

[PATCH] ARM: dts: imx6qdl-gw54xx: allow boot firmware to set eth1 MAC

2020-05-28 Thread Tim Harvey
The GW54xx has a PCIe based GbE as the 2nd ethernet device. The boot firmware will populate the local-mac-address field of the device aliased to ethernet1 thus adding the PCIe device to dt allows boot firmware to set its MAC address. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl

[PATCH v10 3/3] hwmon: add Gateworks System Controller support

2020-05-15 Thread Tim Harvey
The Gateworks System Controller has a hwmon sub-component that exposes up to 16 ADC's, some of which are temperature sensors, others which are voltage inputs. The ADC configuration (register mapping and name) is configured via device-tree and varies board to board. Signed-off-by: Tim H

[PATCH v10 0/3] Add support for the Gateworks System Controller

2020-05-15 Thread Tim Harvey
nput label - support platform data Tim Harvey (3): dt-bindings: mfd: Add Gateworks System Controller bindings mfd: add Gateworks System Controller core driver hwmon: add Gateworks System Controller support .../devicetree/bindings/mfd/gateworks-gsc.yaml | 196 +++ Doc

[PATCH v10 1/3] dt-bindings: mfd: Add Gateworks System Controller bindings

2020-05-15 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey Reviewed-by: Rob Herring --- v10: - no changes v9: - added Reviewed-by: Rob Herring - remove allOf: see https://lkml.org/lkml/2020/4/15/1930 - encorporate Lee&#

[PATCH v10 2/3] mfd: add Gateworks System Controller core driver

2020-05-15 Thread Tim Harvey
using custom protocol - Interrupt controller with tamper detect, user pushbotton - Watchdog controller capable of full board power-cycle - Power Control capable of full board power-cycle see http://trac.gateworks.com/wiki/gsc for more details Signed-off-by: Tim Harvey Acked-for-MFD-by: Lee

[PATCH v11 1/3] dt-bindings: mfd: Add Gateworks System Controller bindings

2020-05-15 Thread Tim Harvey
This patch adds documentation of device-tree bindings for the Gateworks System Controller (GSC). Signed-off-by: Tim Harvey Reviewed-by: Rob Herring --- v11: - no change v10: - no change v9: - added Reviewed-by: Rob Herring - remove allOf: see https://lkml.org/lkml/2020/4/15/1930

[PATCH v11 0/3] Add support for the Gateworks System Controller

2020-05-15 Thread Tim Harvey
y allocate channels - fix fan input label - support platform data Tim Harvey (3): dt-bindings: mfd: Add Gateworks System Controller bindings mfd: add Gateworks System Controller core driver hwmon: add Gateworks System Controller support .../devicetree/bindings/mfd/gateworks-gsc.yaml |

[PATCH 3/3] hwmon: add Gateworks System Controller support

2020-05-15 Thread Tim Harvey
The Gateworks System Controller has a hwmon sub-component that exposes up to 16 ADC's, some of which are temperature sensors, others which are voltage inputs. The ADC configuration (register mapping and name) is configured via device-tree and varies board to board. Signed-off-by: Tim H

[PATCH v11 2/3] mfd: add Gateworks System Controller core driver

2020-05-15 Thread Tim Harvey
using custom protocol - Interrupt controller with tamper detect, user pushbotton - Watchdog controller capable of full board power-cycle - Power Control capable of full board power-cycle see http://trac.gateworks.com/wiki/gsc for more details Signed-off-by: Tim Harvey Acked-for-MFD-by: Lee

[PATCH] hwmon: gsc-hwmon: scale temperature to millidegrees

2020-08-27 Thread Tim Harvey
The GSC registers report temperature in decidegrees celcius so we need to scale it to represent the hwmon sysfs API of millidegrees. Cc: sta...@vger.kernel.org Signed-off-by: Tim Harvey --- drivers/hwmon/gsc-hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/gsc-hwmon.c b

[PATCH] hwmon: gsc-hwmon: add fan sensor

2020-08-27 Thread Tim Harvey
Add a fan sensor to report RPM's from a fan tach input. Signed-off-by: Tim Harvey --- drivers/hwmon/gsc-hwmon.c | 34 ++--- include/linux/platform_data/gsc_hwmon.h | 1 + 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/drivers/hwmo

[PATCH v2] hwmon: gsc-hwmon: add fan sensor

2020-08-27 Thread Tim Harvey
Add a fan sensor to report RPM's from a fan tach input. Signed-off-by: Tim Harvey -- v2: - avoid unnecessary line split and fix opening brace location --- drivers/hwmon/gsc-hwmon.c | 32 +--- include/linux/platform_data/gsc_hwmon.h | 1 + 2

Re: [PATCH] mfd: cpcap: Fix interrupt regression with regmap clear_ack

2020-11-16 Thread Tim Harvey
On Mon, Nov 16, 2020 at 10:59 AM Mark Brown wrote: > > On Fri, Nov 13, 2020 at 02:06:29PM -0800, Tim Harvey wrote: > > > asserted? I'm also wondering if my issue is that I currently have the > > interrupt registered as such: > > > ret = devm_regmap_add_irq

Re: [PATCH] mfd: cpcap: Fix interrupt regression with regmap clear_ack

2020-11-16 Thread Tim Harvey
On Sun, Nov 15, 2020 at 12:43 AM Tony Lindgren wrote: > > * Tim Harvey [201113 22:07]: > > 3a6f0fb7b8eb ("regmap: irq: Add support to clear ack registers") > > appears to not only add the new clear_ack case it also attempts to > > resolve the long standing

Re: [PATCH] mfd: cpcap: Fix interrupt regression with regmap clear_ack

2020-11-13 Thread Tim Harvey
ithout considering ack_invert. And the issue with > > cpcap started happening as we now also consider ack_invert. > > > > Tim Harvey tried to fix this issue earlier with > > "[PATCH v2] regmap: irq: fix ack-invert", but the reading of the ack > > register was con

[RESEND PATCH] can: mcp251x: add support for half duplex controllers

2020-07-23 Thread Tim Harvey
Some SPI host controllers do not support full-duplex SPI and are marked as such via the SPI_CONTROLLER_HALF_DUPLEX controller flag. For such controllers use half duplex transactions but retain full duplex transactions for the controllers that can handle those. Signed-off-by: Tim Harvey

[PATCH v4] ARM: dts: imx6qdl-gw: add Gateworks System Controller support

2020-07-16 Thread Tim Harvey
Add Gateworks System Controller support to Gateworks Ventana boards: - add dt bindings for GSC mfd driver and hwmon driver for ADC's and fan controllers. - add dt bindings for gpio-keys driver for push-button and interrupt events Signed-off-by: Tim Harvey --- v4: - add missing #address-

Re: [PATCH] dt-bindings: mfd: Correct interrupt flags in examples

2020-09-09 Thread Tim Harvey
compatible = "gw,gsc"; > reg = <0x20>; > interrupt-parent = <&gpio1>; > -interrupts = <4 GPIO_ACTIVE_LOW>; > +interrupts = <4 IRQ_TYPE_LEVEL_LOW>; > interrupt-controller; > #interrupt-cells = <1>; > #address-cells = <1>; For gateworks-gsc.yaml: Acked-By: Tim Harvey Thanks for finding this! Tim

Re: [PATCH v2 1/4] ARM: dts: imx6qdl-gw5xxx: correct interrupt flags

2020-09-17 Thread Tim Harvey
interrupt-controller; > #interrupt-cells = <1>; > #size-cells = <0>; > diff --git a/arch/arm/boot/dts/imx6qdl-gw5912.dtsi > b/arch/arm/boot/dts/imx6qdl-gw5912.dtsi > index 441d8ce97aa4..797f160249f7 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw5912.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw5912.dtsi > @@ -5,6 +5,7 @@ > > #include > #include > +#include > > / { > /* these are used by bootloader for disabling nodes */ > @@ -158,7 +159,7 @@ > compatible = "gw,gsc"; > reg = <0x20>; > interrupt-parent = <&gpio1>; > - interrupts = <4 GPIO_ACTIVE_LOW>; > + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; > interrupt-controller; > #interrupt-cells = <1>; > #address-cells = <1>; > diff --git a/arch/arm/boot/dts/imx6qdl-gw5913.dtsi > b/arch/arm/boot/dts/imx6qdl-gw5913.dtsi > index d62a8da49367..4cd7d290f5b2 100644 > --- a/arch/arm/boot/dts/imx6qdl-gw5913.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-gw5913.dtsi > @@ -5,6 +5,7 @@ > > #include > #include > +#include > > / { > /* these are used by bootloader for disabling nodes */ > @@ -139,7 +140,7 @@ > compatible = "gw,gsc"; > reg = <0x20>; > interrupt-parent = <&gpio1>; > - interrupts = <4 GPIO_ACTIVE_LOW>; > + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; > interrupt-controller; > #interrupt-cells = <1>; > #size-cells = <0>; > -- > 2.17.1 > for series: Acked-By: Tim Harvey Thanks Krzysztof Tim Tim

[PATCH] lan743x: allow mac address to come from dt

2020-06-17 Thread Tim Harvey
If a valid mac address is present in dt, use that before using CSR's or a random mac address. Signed-off-by: Tim Harvey --- drivers/net/ethernet/microchip/lan743x_main.c | 41 --- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/drivers/net/eth

[PATCH] ARM: dts: imx6qdl-gw560x: add lsm9ds1 iio imu/magn support

2020-05-12 Thread Tim Harvey
Add one node for the accel/gyro i2c device and another for the separate magnetometer device in the lsm9ds1. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw560x.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl

[PATCH] ARM: dts: imx6qdl-gw5904: add lsm9ds1 iio imu/magn support

2020-05-12 Thread Tim Harvey
Add one node for the accel/gyro i2c device and another for the separate magnetometer device in the lsm9ds1. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw5904

[PATCH] ARM: dts: imx6qdl-gw5910: add support for bcm4330-bt

2020-05-12 Thread Tim Harvey
-gpio. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-gw5910.dtsi b/arch/arm/boot/dts/imx6qdl-gw5910.dtsi index 30fe47f..b850f8f 100644 --- a/arch

[PATCH] ARM: dts: imx6qdl-gw5910: fix wlan regulator

2020-05-12 Thread Tim Harvey
Connect the wl_reg regulator to usdhc2 such that it can be enabled and disabled as needed. There is no need for this to be always-on. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH] lan743x: add MODULE_DEVICE_TABLE for module loading alias

2020-06-16 Thread Tim Harvey
Without a MODULE_DEVICE_TABLE the attributes are missing that create an alias for auto-loading the module in userspace via hotplug. Signed-off-by: Tim Harvey --- drivers/net/ethernet/microchip/lan743x_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/microchip

[PATCH 0/2] add 16bit pre-scaled adc mode to Gateworks GSC hwmon

2020-06-09 Thread Tim Harvey
The Gateworks GSC hwmon driver supports multiple modes of ADC's. Add a mode for 16-bit pre-scaled values and clarify that the existing pre-scale mode is 24-bit. Tim Harvey (2): dt-bindings: mfd: gateworks-gsc: add 16bit pre-scaled voltage mode hwmon: (gsc): add 16bit pre-scaled voltage

[PATCH 2/2] hwmon: (gsc): add 16bit pre-scaled voltage mode

2020-06-09 Thread Tim Harvey
add a 16-bit pre-scaled voltage mode to adc and clarify that existing pre-scaled mode is 24bit. Signed-off-by: Tim Harvey --- drivers/hwmon/gsc-hwmon.c | 8 +--- include/linux/platform_data/gsc_hwmon.h | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a

[PATCH 1/2] dt-bindings: mfd: gateworks-gsc: add 16bit pre-scaled voltage mode

2020-06-09 Thread Tim Harvey
add a 16-bit pre-scaled voltage mode to adc and clarify that existing pre-scaled mode is 24bit. Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd

[RESEND PATCH v2] ARM: dts: imx6qdl-gw551x: fix audio SSI

2020-06-23 Thread Tim Harvey
The audio codec on the GW551x routes to ssi1 Signed-off-by: Tim Harvey --- v2: fix typo in commit short desc --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl

[PATCH v3] ARM: dts: imx6qdl-gw: add Gateworks System Controller support

2020-06-23 Thread Tim Harvey
Add Gateworks System Controller support to Gateworks Ventana boards: - add dt bindings for GSC mfd driver and hwmon driver for ADC's and fan controllers. - add dt bindings for gpio-keys driver for push-button and interrupt events Signed-off-by: Tim Harvey --- v3: - change underscore to h

Re: [RESEND PATCH v2] ARM: dts: imx6qdl-gw551x: fix audio SSI

2020-06-23 Thread Tim Harvey
On Tue, Jun 23, 2020 at 11:41 AM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Jun 23, 2020 at 3:31 PM Tim Harvey wrote: > > > > The audio codec on the GW551x routes to ssi1 > > > > Signed-off-by: Tim Harvey > > Shouldn't this have a Fixes tag, s

[PATCH v3] ARM: dts: imx6qdl-gw551x: fix audio SSI

2020-06-23 Thread Tim Harvey
The audio codec on the GW551x routes to ssi1 Cc: sta...@vger.kernel.org Fixes: 3117e851cef1 ("ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x") Signed-off-by: Tim Harvey --- v3: add fixes tag v2: fix typo in commit short desc --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 2 +- 1 fi

Re: [PATCH v10 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-14 Thread Tim Harvey
On Wed, Feb 14, 2018 at 6:08 AM, Hans Verkuil wrote: > Hi Tim, > > On 12/02/18 23:27, Tim Harvey wrote: >> On Fri, Feb 9, 2018 at 12:08 AM, Hans Verkuil wrote: >>> Hi Tim, >>> >>> We're almost there. Two more comments: >>> >&g

[PATCH v11 1/8] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-14 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Cc: Randy Dunlap Signed-off-by: Hans Verkuil --- v9: - fix kernel-doc format (Randy) dri

[PATCH v11 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v11 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-14 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v11: - return -ERANGE from tda1997x_detect_std (Hans) - clean up tda1997x_g_input_status (Hans) - show detected timings on resolution change if debug enabled - fix unitialized ret var in

[PATCH v11 5/8] media: dt-bindings: Add bindings for TDA1997X

2018-02-14 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: -

[PATCH v11 8/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a

[PATCH v11 7/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-14 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v11 3/8] media: add digital video decoder video interface entity functions

2018-02-14 Thread Tim Harvey
Add a new media entity function definition for digital TV decoders: MEDIA_ENT_F_DTV_DECODER Signed-off-by: Tim Harvey --- Documentation/media/uapi/mediactl/media-types.rst | 11 +++ include/uapi/linux/media.h| 5 + 2 files changed, 16 insertions(+) diff

[PATCH v11 0/8] TDA1997x HDMI video reciver

2018-02-14 Thread Tim Harvey
media Model: imx-media Serial : Bus info : Media version: 4.15.0 Hardware revision: 0x0000 (0) Driver version : 4.15.0 Required ioctls: test MEDIA_IOC_DEVICE_INFO: OK Allow for multiple opens:

[PATCH v11 2/8] media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMIGNS_CAP

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b

[PATCH v12 0/8] TDA1997x HDMI video reciver

2018-02-15 Thread Tim Harvey
fo: Driver name : imx-media Model: imx-media Serial : Bus info : Media version: 4.15.0 Hardware revision: 0x0000 (0) Driver version : 4.15.0 Required ioctls: test MEDIA_IOC_DEVICE_INFO: OK

[PATCH v12 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v12 3/8] media: add digital video decoder entity functions

2018-02-15 Thread Tim Harvey
Add a new media entity function definition for digital TV decoders: MEDIA_ENT_F_DTV_DECODER Signed-off-by: Tim Harvey --- Documentation/media/uapi/mediactl/media-types.rst | 11 +++ include/uapi/linux/media.h| 5 + 2 files changed, 16 insertions(+) diff

[PATCH v12 5/8] media: dt-bindings: Add bindings for TDA1997X

2018-02-15 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: -

[PATCH v12 7/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-15 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v12 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-15 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v12: - fix coccinelle warnings v11: - return -ERANGE from tda1997x_detect_std (Hans) - clean up tda1997x_g_input_status (Hans) - show detected timings on resolution change if debug enabled - fix

[PATCH v12 8/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a

[PATCH v12 1/8] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-15 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Cc: Randy Dunlap Signed-off-by: Hans Verkuil --- v9: - fix kernel-doc format (Randy) dri

[PATCH v12 2/8] media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMIGNS_CAP

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b

Re: [PATCH v12 6/8] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-15 Thread Tim Harvey
On Thu, Feb 15, 2018 at 9:16 AM, Hans Verkuil wrote: > On 15/02/18 17:39, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> >> Cc: Hans Verkuil >> Signed-off-by: Tim Harvey >> --- >> v12: >> - fix coccinelle warnings > > Di

[PATCH v13 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

<    1   2   3   4   >