[PATCH v3 2/2] arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support

2021-03-30 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v3: - remove always-on from regulators that don't have on/off control -

[PATCH v3 1/2] dt-bindings: arm: imx: add imx8mm gw7901 support

2021-03-30 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Acked-by: Rob Herring Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v3: - add reviewed-by v2: - add Rob's Ack

[PATCH v2 1/2] dt-bindings: arm: imx: add imx8mm gw7901 support

2021-03-19 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Acked-by: Rob Herring Signed-off-by: Tim Harvey --- v2: - add Rob's Acked-by --- Documentation/devicetree/bindings/arm/fsl.yaml | 1

[PATCH v2 2/2] arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support

2021-03-19 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Signed-off-by: Tim Harvey --- v2: - fixed issues reported by check_dtbs: - add missing GSC #address-cells and #size-cells - use common

Re: [PATCH v5 10/14] clk: imx: Add generic blk-ctl driver

2021-03-18 Thread Tim Harvey
On Thu, Feb 25, 2021 at 12:28 AM Jacky Bai wrote: > > > > > -Original Message- > > From: Frieder Schrempf [mailto:frieder.schre...@kontron.de] > > Sent: Thursday, February 25, 2021 4:23 PM > > To: Abel Vesa ; Dong Aisheng > > Cc: Aisheng Dong ; Rob Herring ; > > Peng Fan ; Jacky Bai ; Ans

Re: [PATCH 1/4] dt-bindings: at25: add Fujitsu MB85RS4MT

2021-03-11 Thread Tim Harvey
'On Tue, Mar 9, 2021 at 9:34 PM wrote: > > On 3/10/21 12:59 AM, Michael Walle wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Tim, > > > > Am 2021-03-09 23:00, schrieb Tim Har

Re: [PATCH 1/4] dt-bindings: at25: add Fujitsu MB85RS4MT

2021-03-10 Thread Tim Harvey
On Tue, Mar 9, 2021 at 2:59 PM Michael Walle wrote: > > Hi Tim, > > Am 2021-03-09 23:00, schrieb Tim Harvey: > > Document the compatible value for the Fujitsu MB85RS4MT SPI > > FRAM EEPROM device so that it can be used in DTS files. > > > > This is a 512KiB FRA

[PATCH 4/4] arm64: dts: imx: Add i.mx8mm Gateworks gw7901 dts support

2021-03-09 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Signed-off-by: Tim Harvey --- arch/arm64/boot/dts/freescale/Makefile|1 + .../dts/freescale/imx8mm-venice-gw7901.dts| 1008

[PATCH 2/4] mtd: spi-nor: fujitsu: add support for MB85RS4MT

2021-03-09 Thread Tim Harvey
Add support for the Fujitsu MB85RS4MT SPI FRAM EEPROM device. This is a 512KiB FRAM EEPROM. Signed-off-by: Tim Harvey --- drivers/mtd/spi-nor/fujitsu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/fujitsu.c b/drivers/mtd/spi-nor/fujitsu.c index e385d93e756c

[PATCH 1/4] dt-bindings: at25: add Fujitsu MB85RS4MT

2021-03-09 Thread Tim Harvey
Document the compatible value for the Fujitsu MB85RS4MT SPI FRAM EEPROM device so that it can be used in DTS files. This is a 512KiB FRAM EEPROM. Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/eeprom/at25.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH 3/4] dt-bindings: arm: imx: add imx8mm gw7901 support

2021-03-09 Thread Tim Harvey
ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v5 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2021-01-04 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- v5: no changes v4: no changes v3: no changes v2: no changes --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v5 2/2] arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits

2021-01-04 Thread Tim Harvey
ntrol, RS485, RS422 - WiFi/BT - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply Signed-off-by: Tim Harvey --- v5: - fixed typo/grammar in commit log (s/con

Re: [PATCH v4 2/2] arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits

2021-01-04 Thread Tim Harvey
On Mon, Jan 4, 2021 at 4:36 AM Krzysztof Kozlowski wrote: > > On Wed, Dec 30, 2020 at 09:58:43AM -0800, Tim Harvey wrote: > > The Gateworks Venice GW71xx-0x/GW72xx-0x/GW73xx-0x are development > > kits comprised of a GW700x SoM and a Baseboard. Future SoM's such > &

[PATCH v4 2/2] arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits

2020-12-30 Thread Tim Harvey
troll, RS485, RS422 - WiFi/BT - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply Signed-off-by: Tim Harvey --- v4: - replace underscore with hyphen for gpio-keys

[PATCH v4 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-30 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- v4: no changes v3: no changes v2: no changes --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation

Re: [PATCH] regmap: irq: do not allow setting irq bits during ack

2020-12-30 Thread Tim Harvey
On Wed, Dec 30, 2020 at 5:14 AM Mark Brown wrote: > > On Tue, Dec 29, 2020 at 08:23:00AM -0800, Tim Harvey wrote: > > On Tue, Dec 29, 2020 at 5:06 AM Mark Brown wrote: > > > > I can't understand what this commit message is trying to say, sorry. > > > Which b

Re: [PATCH] regmap: irq: do not allow setting irq bits during ack

2020-12-29 Thread Tim Harvey
On Tue, Dec 29, 2020 at 5:06 AM Mark Brown wrote: > > On Mon, Dec 28, 2020 at 01:45:51PM -0800, Tim Harvey wrote: > > > Some interrupt controllers may not de-assert their interrupt if > > bits are set when acknowledging the bits that caused the interrupt. > > > Take

[PATCH v3 2/2] arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits

2020-12-28 Thread Tim Harvey
troll, RS485, RS422 - WiFi/BT - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply Signed-off-by: Tim Harvey --- v3: - fix gpio controller node name - add rtc no

[PATCH v3 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-28 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- v3: no changes v2: no changes --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm

[PATCH v2 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-28 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- v2: no changes --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b

[PATCH v2 2/2] arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits

2020-12-28 Thread Tim Harvey
troll, RS485, RS422 - WiFi/BT - PCIe Clock generator - GPS and accelerometer - Media Expansion connector (MIPI-CSI/MIPI-DSI/GPIO/I2S) - I/O connector with 2x-ADC,2x-GPIO,1x-UART,1x-I2C - wide range power supply Signed-off-by: Tim Harvey --- v2: - fix i.MX 8M Mini name in commit log - consi

[PATCH] regmap: irq: do not allow setting irq bits during ack

2020-12-28 Thread Tim Harvey
interrupt. Cc: Tony Lindgren Cc: Laxminath Kasam Cc: Robert Jones Signed-off-by: Tim Harvey --- drivers/base/regmap/regmap-irq.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index ad5c2de

[PATCH] mfd: gateworks-gsc: fix interrupt type

2020-12-28 Thread Tim Harvey
The Gateworks System Controller has an active-low interrupt. Fix the interrupt request type. Fixes: d85234994b2f ("mfd: Add Gateworks System Controller core driver") Cc: Signed-off-by: Tim Harvey --- drivers/mfd/gateworks-gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] dt-bindings: mfd: gateworks-gsc: Add fan-tach mode

2020-12-28 Thread Tim Harvey
In 7497d4a66c59 ("hwmon: (gsc-hwmon) add fan sensor") a mode was added to report RPM's from a fan tach input. Add this mode to the dt-bindings for the Gateworks System Controller. Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++- 1

Re: [PATCH 2/2] arm64: dts: imx8mm: Add Gateworks IMX8MM Development Kits

2020-12-28 Thread Tim Harvey
On Thu, Dec 24, 2020 at 3:37 AM Krzysztof Kozlowski wrote: > Thanks for the review! > On Wed, Dec 23, 2020 at 02:23:16PM -0800, Tim Harvey wrote: > > The Gateworks Venice GW71xx-0x/GW72xx-0x/GW73xx-0x are development > > kits comprised of a GW700x SoM and a Baseboard. >

Re: [PATCH 2/2] arm64: dts: imx8mm: Add Gateworks IMX8MM Development Kits

2020-12-28 Thread Tim Harvey
On Thu, Dec 24, 2020 at 7:34 AM Sven Van Asbroeck wrote: > > Tim, Anders, > > On Wed, Dec 23, 2020 at 5:45 PM Tim Harvey wrote: > > > > - 2x RJ45 GbE (IMX8MM FEC and LAN743x) > > I noticed that you are users of the LAN743x PCIe ethernet chip. > > On non-cach

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-28 Thread Tim Harvey
On Thu, Dec 24, 2020 at 3:23 AM Krzysztof Kozlowski wrote: > > On Wed, Dec 23, 2020 at 02:23:15PM -0800, Tim Harvey wrote: > > Add bindings for the Gateworks Venice Development kit boards with > > IMX8MM System on Module. > > > > Signed-off-by: Tim Harvey > &g

[PATCH 1/2] dt-bindings: arm: fsl: Add binding for Gateworks boards with IMX8MM

2020-12-23 Thread Tim Harvey
Add bindings for the Gateworks Venice Development kit boards with IMX8MM System on Module. Signed-off-by: Tim Harvey --- Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation

[PATCH 2/2] arm64: dts: imx8mm: Add Gateworks IMX8MM Development Kits

2020-12-23 Thread Tim Harvey
) - wide range power supply Signed-off-by: Tim Harvey --- arch/arm64/boot/dts/freescale/Makefile | 3 + .../boot/dts/freescale/imx8mm-venice-gw700x.dtsi | 482 + .../boot/dts/freescale/imx8mm-venice-gw71xx-0x.dts | 19 + .../boot/dts/freescale/imx8mm-venice

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-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-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

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

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

[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

[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] 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

[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] 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 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: [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-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

[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 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] 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] 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 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

[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] 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] 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

[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] 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

Re: [PATCH] can: mcp251x: convert to half-duplex SPI

2020-05-21 Thread Tim Harvey
On Wed, Feb 26, 2020 at 2:19 AM Marc Kleine-Budde wrote: > > On 2/26/20 8:37 AM, Marc Kleine-Budde wrote: > >> Your right... there is the mcp251x_hw_rx_frame() call that also uses > >> spi_rx_buf after a synchronous transfer (I didn't see any others). > >> I'll look at this again. > > > > Have you

Re: [PATCH] soc: imx: Add power domain driver support for i.mx8m family

2020-05-21 Thread Tim Harvey
On Mon, May 4, 2020 at 2:19 AM Lucas Stach wrote: > > Am Montag, den 27.04.2020, 15:37 + schrieb Jacky Bai: > > > -Original Message- > > > From: Lucas Stach > > > Sent: Monday, April 27, 2020 11:11 PM > > > To: Abel Vesa ; Jacky Bai ; Shawn > > > Guo ; Sascha Hauer ; Liam > > > Girdwo

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

2020-05-20 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 from the GSC. Signed-off-by: Tim Harvey --- arch/arm/boo

Re: [PATCH] ARM64: dts: imx8mm-evk: Assigned clocks for audio plls

2020-05-19 Thread Tim Harvey
On Wed, Oct 16, 2019 at 3:36 AM S.j. Wang wrote: > > Assign clocks and clock-rates for audio plls, that audio > drivers can utilize them. > > Add dai-tdm-slot-num and dai-tdm-slot-width for sound-wm8524, > that sai driver can generate correct bit clock. > > Fixes: 13f3b9fdef6c ("arm64: dts: imx8mm

[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 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 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 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 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 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] 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] 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-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-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 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.

[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 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 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 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] 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

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 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] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility

2019-10-02 Thread Tim Harvey
On Fri, Sep 27, 2019 at 1:43 PM Niklas Söderlund wrote: > > Hi Tim, > > On 2019-09-27 12:26:40 -0700, Tim Harvey wrote: > > On Fri, Sep 27, 2019 at 12:04 PM Niklas Söderlund > > wrote: > > > > > > Hi Tim, > > > > > > Sorry for taking to

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

2019-09-27 Thread Tim Harvey
On Fri, Sep 27, 2019 at 12:04 PM Niklas Söderlund wrote: > > Hi Tim, > > Sorry for taking to so long to look at this. > > On 2019-09-23 15:04:47 -0700, Tim Harvey wrote: > > On Thu, Aug 29, 2019 at 7:29 AM Niklas Söderlund > > wrote: > > > > > > Hi

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

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-27 Thread Tim Harvey
On Sun, Mar 17, 2019 at 10:00 AM Russell King - ARM Linux admin wrote: > > On Sun, Mar 17, 2019 at 04:48:24PM +, Måns Rullgård wrote: > > Stefan Agner writes: > > > > > On 16.03.2019 16:39, Russell King - ARM Linux admin wrote: > > >> On Sat, Mar 16, 2019 at 01:33:58PM +0100, Marek Vasut wrot

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Tim Harvey
Tim Harvey - Principal Software EngineerGateworks Corporation - http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA 93401805-781-2000 On Fri, Mar 15, 2019 at 4:00 PM Marek Vasut wrote: > > On 3/15/19 10:52 PM, Tim Harvey wrote: > > Tim Harvey - Principal Software Engin

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2019-03-15 Thread Tim Harvey
Tim Harvey - Principal Software EngineerGateworks Corporation - http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA 93401805-781-2000 On Tue, Mar 5, 2019 at 4:39 AM Måns Rullgård wrote: > > Douglas Anderson writes: > > > This series picks patches from various diff

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/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 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 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 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: [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-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-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: Interpreting /sys/block//{,}/discard_alignment

2019-01-10 Thread james harvey
On Thu, Jan 10, 2019 at 7:04 PM Martin K. Petersen wrote: > James, > > > Q1 - I'm hoping you can clarify how this should be interpreted. > > > > I originally took this to mean the number of bytes into the first > > discard_granularity block that the partition resides at. i.e. If > > discard_gran

Interpreting /sys/block//{,}/discard_alignment

2019-01-09 Thread james harvey
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-block Describes discard_alignment as: "Devices that support discard functionality may internally allocate space in units that are bigger than the exported logical block size. The discard_alignment parameter indicates how many bytes the be

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

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: [v3,4/4] watchdog: add Gateworks System Controller support

2018-04-04 Thread Tim Harvey
On Mon, Apr 2, 2018 at 9:32 AM, Andrew Lunn wrote: >> The 'use case' we have been using this in for a couple years is that >> users who want to use this watchdog will enable it externally (we have >> a command in the bootloader) and if enabled the kernel driver (that >> I'm proposing here which we

  1   2   3   4   5   6   7   8   9   >