On Mon, Aug 14, 2017 at 05:34:53PM +0100, Srinivas Kandagatla wrote:
>
>
> On 14/08/17 15:12, Damien Riegel wrote:
> > Hi,
> >
> >
> > On Thu, Aug 10, 2017 at 09:33:29AM -0400, Damien Riegel wrote:
> > > Hi,
> > >
> > > On Thu,
ed to determine if the device
was indeed present on the bus or not, this has been replaced by reading
the lock/event count register to keep the same functionality.
Signed-off-by: Damien Riegel
---
I originally made this patch on top of:
800e3b9a6801 Input: drop owner assignment from i2c_driver
Hi,
While testing a gas gauge, we encountered intermittent i2c issues with
the APQ8016. Sometimes, the i2c controller seems to send incomplete
messages, or doesn't send some messages. To read values from the gas
gauge, this group of two messages is sent:
- one write message of 1 byte, with the g
Drop assignments to bias-disable as the documentation [1] states that
this property doesn't take a value. Other occurrences of this property
respect that.
[1] Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.txt
Signed-off-by: Damien Riegel
---
arch/arm64/boot/dts/qcom/ms
s and changes
the size to 0x600, as the driver only accesses registers up to address
0x408. Also align the second entry of the clocks array.
Signed-off-by: Damien Riegel
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a
Signed-off-by: Damien Riegel
---
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 72 ++
arch/arm64/boot/dts/qcom/msm8916.dtsi | 45 +++
2 files changed, 117 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi
b/arch/arm64/boot/dts
Indentation did not respect kernel standards, so fix that for the usual
indent with tabs, align with spaces. While at it, remove some empty
lines before and after the closing parenthesis of this block.
Signed-off-by: Damien Riegel
---
arch/arm64/boot/dts/qcom/pm8916.dtsi | 82
7;t
take a value, and by making their style matches thus of SPI bindings.
Last patch add bindings of I2C cores 1, 3, and 5.
Damien Riegel (4):
arm64: dts: qcom: pm8916: fix wcd_codec indentation
arm64: dts: qcom: msm8916-pins: remove assignments to bias-disable
arm64: dts: qcom: msm8916: nor
On Fri, Nov 10, 2017 at 11:56:12PM -0800, Bjorn Andersson wrote:
> On Thu 09 Nov 09:14 PST 2017, Damien Riegel wrote:
>
> > Hi Bjorn,
> >
> >
> > On Thu, Nov 09, 2017 at 09:00:16AM -0800, Bjorn Andersson wrote:
> > > On Wed 01 Nov 10:53 PDT 2017, Damien
Hi,
I'm working on a board derived from the DragonBoard-410c (apq8016 +
wcn3620) and noticed an issue with WiFi connection monitoring. When I
get out of the range of the access point, the device stays associated,
no matter how far I go or how long I wait.
The chip on this board is the WCN3620, a
.
This patch makes round_rate return a valid rate.
Signed-off-by: Damien Riegel
---
drivers/clk/clk-divider.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c
index 8d3009e..ab02881 100644
--- a/drivers
.
This patch makes round_rate return a valid rate.
Signed-off-by: Damien Riegel
---
The previous version of this patch luckily worked with the clk_div_table
I had. It might return a divider that was less than the computed div. This
patch should now work in every case.
---
drivers/clk/clk-divider.c
Enable FPGA's IRQ controller. It is in charge of dispatching interrupts
generated by IPs in the FPGA. The SoC is notified that an interrupt
occurred through a GPIO.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 19 +++
1 file changed, 19 inser
This enables support for the CAN controller located in the FPGA.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts
b/arch/arm/boot/dts/imx51-ts4800.dts
index 2c89988..41be82e
,
Damien
On Mon, Nov 30, 2015 at 08:14:48AM -0800, Guenter Roeck wrote:
> On 11/30/2015 07:59 AM, Damien Riegel wrote:
> >This watchdog is instantiated in a FPGA that is memory mapped. It is
> >made of only one register, called the feed register. Writing to this
> >register wil
vice creation into watchdog_dev.c,
> and create the watchdog device prior to creating its device node.
> Also move device class creation into watchdog_dev.c, since this is now
> the only place where the watchdog class is needed.
>
> Inspired by an earlier patch set from Damien
On Mon, Dec 07, 2015 at 09:40:20AM +, Lee Jones wrote:
> On Mon, 30 Nov 2015, Damien Riegel wrote:
>
> > Currently syscon has a fixed configuration of 32 bits for register and
> > values widths. In some cases, it would be desirable to be able to
> > customize the v
changed. The other values are the default ones, but the WEIM
bindings expect them to be all explicitly set in the device tree, so I
just put the default values in the dt.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 60 +-
1 file changed, 39
These pins are actually not routed for UARTs, they should not be
reserved.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts
b/arch/arm/boot/dts/imx51-ts4800.dts
index f1317f7..64ac55c
The TS-4800, based on an IMX.515, needs its watchdog support in order to
work.
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 79194c6
syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 25 +++
drivers/watchdog/Kconfig
: Damien Riegel
---
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
2 files changed, 192 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/imx51-ts4800.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm
This adds the documentation for the TS-4800 by Technologic Systems.
Signed-off-by: Damien Riegel
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/technologic.txt | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/technologic.txt
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
uration is
used.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/mfd/syscon.txt | 4
drivers/mfd/syscon.c | 13 +
2 files changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt
b/Documentation/devicetr
hdog's dependency on SOC_IMX51
Damien Riegel (6):
of: add vendor prefix for Technologic Systems
mfd: syscon: add a DT property to set value width
watchdog: ts4800: add driver for TS-4800 watchdog
ARM: imx_v6_v7_defconfig: add TS-4800 watchdog
of: documentation: add bindings documentati
AM -0500, Damien Riegel wrote:
> > Currently syscon has a fixed configuration of 32 bits for register and
> > values widths. In some cases, it would be desirable to be able to
> > customize the value width.
> >
> > For example, certain boards (like the ones manufactu
Hi Dmitry
On Sat, Dec 12, 2015 at 08:58:58PM -0800, Dmitry Torokhov wrote:
> Hi Damien,
>
> On Thu, Dec 10, 2015 at 11:11:12AM -0500, Damien Riegel wrote:
> > On this board, the touchscreen, an ads7843, is not handled directly by
> > Linux but by a companion FPGA. This FPGA
On Mon, Dec 07, 2015 at 09:41:03PM +0100, Wim Van Sebroeck wrote:
> Hi All,
>
> > On 12/07/2015 08:15 AM, Damien Riegel wrote:
> > >On Sun, Dec 06, 2015 at 11:51:41AM -0800, Guenter Roeck wrote:
> > >>The watchdog character device s currently created in
>
On Tue, Nov 24, 2015 at 08:20:36AM +, Lee Jones wrote:
> On Mon, 23 Nov 2015, Damien Riegel wrote:
>
> > Currently syscon has a fixed configuration of 32 bits for register and
> > values widths. In some cases, it would be desirable to be able to
> > customize the v
iver to allow regmap configuration
- Dropped custom mfd driver, use generic syscon driver instead.
Changes in v2:
- Added a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on
d.
Signed-off-by: Damien Riegel
Acked-by: Arnd Bergmann
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/syscon.txt | 3 +++
drivers/mfd/syscon.c | 13 +
2 files changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/sys
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 82d2ac9..0a70537
: Damien Riegel
---
.../devicetree/bindings/arm/technologic.txt| 6 +
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
3 files changed, 198 insertions(+), 1 deletion(-)
create mode 100644 Documentation
The TS-4800, based on an IMX.515, needs its watchdog support in order to
work.
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 79194c6
syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 25 +++
drivers/watchdog/Kconfig
This adds the documentation for the TS-4800 by Technologic Systems.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/arm/technologic.txt | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/technologic.txt
diff --git a
The TS-4800, based on an IMX.515, needs its watchdog support in order to
work.
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 79194c6
dded a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (6):
of: add vendor prefix for Technologic Systems
mfd: syscon: add a DT property to s
d.
Signed-off-by: Damien Riegel
Acked-by: Arnd Bergmann
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/syscon.txt | 3 +++
drivers/mfd/syscon.c | 13 +
2 files changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/sys
: Damien Riegel
---
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
2 files changed, 192 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/imx51-ts4800.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm
syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.
Signed-off-by: Damien Riegel
Reviewed-by: Guenter Roeck
---
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 25
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 82d2ac9..d3a206d
On Wed, Nov 25, 2015 at 02:29:56PM -0600, Rob Herring wrote:
> On Wed, Nov 25, 2015 at 02:25:04PM -0500, Damien Riegel wrote:
> > This watchdog is instantiated in a FPGA that is memory mapped. It is
> > made of only one register, called the feed register. Writing to this
> >
On Wed, Nov 25, 2015 at 02:32:53PM -0600, Rob Herring wrote:
> On Wed, Nov 25, 2015 at 02:25:03PM -0500, Damien Riegel wrote:
> > Currently syscon has a fixed configuration of 32 bits for register and
> > values widths. In some cases, it would be desirable to be able to
> >
syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.
Signed-off-by: Damien Riegel
Acked-by: Rob Herring
Reviewed-by: Guenter Roeck
---
Changes in v8:
- Split the serie into two
: Damien Riegel
---
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
2 files changed, 192 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/imx51-ts4800.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm
by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (3):
of: add vendor prefix for Technologic Systems
of: documentation: add bindings documentation for TS-4800
ARM: dts: TS-4800: add basic device tree
.../devicetree/bindings/ar
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
This adds the documentation for the TS-4800 by Technologic Systems.
Signed-off-by: Damien Riegel
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/technologic.txt | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/technologic.txt
it allows to get a shell on the
board.
Changes in v2:
- Added a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (5):
of: add vendor prefi
Driver for TS-4800 syscon. These registers belong to a FPGA that is
memory mapped and are used for counters, enable various IPs in the FPGA,
control LEDs, control IOs, etc.
Currently, only the watchdog is handled.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/mfd/ts4800-syscon.txt
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/mfd/ts4800-syscon.txt | 8 +
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 12 ++
drivers/mfd/Kconfig| 1 +
drivers/mfd/ts4800-syscon.c| 13 +-
drivers/watchdog
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index d444757..68aad78a 100644
--- a
: Damien Riegel
---
Documentation/devicetree/bindings/arm/ts.txt | 6 +
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 192 +++
3 files changed, 200 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index b47863d..7adc8b7 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs
Hi Jean,
On Tue, Feb 09, 2016 at 11:15:49AM +0100, Jean Delvare wrote:
> Hi all,
>
> This adds hardware dependency to 3 drivers for the Technologic Systems
> TS-4800 board. Thanks to these dependencies, users of other systems
> will not accidentally enable these drivers.
These drivers are for IP
On Sun, Feb 14, 2016 at 09:50:04PM +0800, Axel Lin wrote:
> ts4800_ic_ops is only referenced in this driver, so make it static.
> In additional, it's never get modified thus also make it const.
>
> Signed-off-by: Axel Lin
Reviewed-by: Damien Riegel
Thanks for catching this.
d.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/mfd/syscon.txt | 3 +++
drivers/mfd/syscon.c | 12
2 files changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt
b/Documentation/devicetree/bi
On Fri, Oct 30, 2015 at 06:04:00PM +, Lee Jones wrote:
> On Thu, 29 Oct 2015, Damien Riegel wrote:
>
> > Signed-off-by: Damien Riegel
> > ---
> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
> > 1 file changed, 1 insertion(+)
>
>
On Fri, Oct 30, 2015 at 05:56:56PM +, Lee Jones wrote:
> On Thu, 29 Oct 2015, Damien Riegel wrote:
>
> > Driver for TS-4800 syscon. These registers belong to a FPGA that is
> > memory mapped and are used for counters, enable various IPs in the FPGA,
> > contro
On Mon, Nov 02, 2015 at 09:12:53AM +, Lee Jones wrote:
> [Cc'ing Arnd]
>
> On Fri, 30 Oct 2015, Damien Riegel wrote:
> > On Fri, Oct 30, 2015 at 05:56:56PM +, Lee Jones wrote:
> > > On Thu, 29 Oct 2015, Damien Riegel wrote:
> > >
> > > >
n v2:
- Added a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (5):
of: add vendor prefix for Technologic Systems
mfd: syscon: add a
The TS-4800, based on an IMX.515, needs its watchdog support in order to
work.
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 79194c6
: Damien Riegel
---
.../devicetree/bindings/arm/technologic.txt| 6 +
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
3 files changed, 198 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 82d2ac9..0a70537
d.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/mfd/syscon.txt | 3 +++
drivers/mfd/syscon.c | 13 +
2 files changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt
b/Documentation/devicetree/bi
syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 25 +++
drivers/watchdog/Kconfig
On Mon, Nov 23, 2015 at 06:32:15PM -0800, Guenter Roeck wrote:
> Hi Damien,
>
> On 11/23/2015 07:17 AM, Damien Riegel wrote:
> >This watchdog is instantiated in a FPGA that is memory mapped. It is
> >made of only one register, called the feed register. Writing to this
> &
The TS-4800, based on an IMX.515, needs its watchdog support in order to
work.
Signed-off-by: Damien Riegel
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 79194c6
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 82d2ac9..0a70537
on
- Dropped custom mfd driver, use generic syscon driver instead.
Changes in v2:
- Added a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (5)
: Damien Riegel
---
.../devicetree/bindings/arm/technologic.txt| 6 +
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 190 +
3 files changed, 198 insertions(+), 1 deletion(-)
create mode 100644 Documentation
thout relying on a
userspace tool to ping their watchdog.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/watchdog/ts4800-wdt.txt| 21 ++
drivers/watchdog/Kconfig | 10 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/ts4800_
d.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/mfd/syscon.txt | 3 +++
drivers/mfd/syscon.c | 12
2 files changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt
b/Documentation/devicetree/bi
On Tue, Nov 03, 2015 at 11:48:38AM +0100, Arnd Bergmann wrote:
> On Tuesday 03 November 2015 10:12:17 Lee Jones wrote:
> > >
> > > I think a 'buswidth=<16>;' property in addition to 'compatible="syscon"'
> > > is more in line with what other subsystems do.
> >
> > Perfect.
> >
>
> Just to clari
This enables support for the CAN controller located in the FPGA.
Signed-off-by: Damien Riegel
---
Changes in v2:
- Get rid of "0," in unit-address
- Move node to keep them sorted by unit-address
arch/arm/boot/dts/imx51-ts4800.dts | 10 ++
1 file changed, 10 insertions(+)
Enable FPGA's IRQ controller. It is in charge of dispatching interrupts
generated by IPs in the FPGA. The SoC is notified that an interrupt
occurred through a GPIO.
Signed-off-by: Damien Riegel
---
Changes in v2:
- Remove new lines
- Use hyphen rather than underscore in node name
- Get r
On Tue, Dec 08, 2015 at 11:37:28AM -0500, Damien Riegel wrote:
> This watchdog is instantiated in a FPGA that is memory mapped. It is
> made of only one register, called the feed register. Writing to this
> register will re-arm the watchdog for a given time (and enable it if it
> was
On Wed, Dec 23, 2015 at 09:11:28PM -0800, Guenter Roeck wrote:
> The 'dev' variable in watchdog drivers has a different lifetime than the
> watchdog character device and should therefore not be used by watchdog
> drivers.
>
> Some of the drivers use the variable to print kernel messages. Those are
{read,write}16
Damien Riegel (3):
can: sja1000: of: add per-compatible init hook
can: sja1000: add documentation for Technologic Systems version
can: sja1000: of: add compatibility with Technologic Systems version
.../devicetree/bindings/net/can/sja1000.txt| 3 +-
drivers/net/can/sj
This commit adds the capability to allocate and init private data
embedded in the sja1000_priv structure on a per-compatible basis. The
device node is passed as a parameter of the init callback to allow
parsing of custom device tree properties.
Signed-off-by: Damien Riegel
---
drivers/net/can
This commit adds documentation for the Technologic Systems version of
SJA1000. The difference with the NXP version is in the way the registers
are accessed.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/net/can/sja1000.txt | 3 ++-
1 file changed, 2 insertions(+), 1
adds a new compatible device, "technologic,sja1000", with
read and write functions using the window mechanism.
Signed-off-by: Damien Riegel
---
drivers/net/can/sja1000/sja1000_platform.c | 47 ++
1 file changed, 47 insertions(+)
diff --git a/drivers/net/can/sja100
On this board, the touchscreen, an ads7843, is not handled directly by
Linux but by a companion FPGA. This FPGA is memory-mapped and the IP
design is very similar to the mk712.
This commit adds the support for this IP.
Signed-off-by: Damien Riegel
---
drivers/input/touchscreen/Kconfig
Add bindings for the TS-4800 touchscreen.
Signed-off-by: Damien Riegel
---
.../devicetree/bindings/input/touchscreen/ts4800-ts.txt | 12
1 file changed, 12 insertions(+)
create mode 100644
Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt
diff --git a
: Damien Riegel
---
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/imx51-ts4800.dts | 180 +
2 files changed, 182 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/imx51-ts4800.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm
ric syscon driver instead.
Changes in v2:
- Added a mfd driver to handle syscon registers
- The watchdog driver now uses the regmap (created by the mfd driver)
to access the feed register
- Remove watchdog's dependency on SOC_IMX51
Damien Riegel (3):
of: add vendor prefix for Technologic Sy
Signed-off-by: Damien Riegel
Acked-by: Lee Jones
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor-prefixes.txt
This adds the documentation for the TS-4800 by Technologic Systems.
Signed-off-by: Damien Riegel
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/technologic.txt | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/technologic.txt
This commit enables the touchscreen on TS-4800, using the ts4800-ts
driver.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts
b/arch/arm/boot/dts/imx51-ts4800.dts
index 4951ebd
This commit adds LCD support for the TS-4800. The panel is an Okaya
RS800480T-7X0WQ and the timings have been extracted from Technologic
Systems' tree.
Signed-off-by: Damien Riegel
---
arch/arm/boot/dts/imx51-ts4800.dts | 109 +
1 file changed, 109 inser
doesn't
use the IRQCHIP_DECLARE construct.
Signed-off-by: Damien Riegel
---
drivers/irqchip/Kconfig | 6 ++
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-ts4800.c | 156 +++
3 files changed, 163 insertions(+)
create mode 100644 dr
This is an interrupt-controller implemented in an FPGA, to multiplex
interrupts generated from other IPs. The FPGA usually uses a GPIO as a
parent interrupt controller to notify that one of the multiplexed
interrupts has triggered.
Signed-off-by: Damien Riegel
---
.../bindings/interrupt
adds a new compatible device, "technologic,sja1000", with
read and write functions using the window mechanism.
Signed-off-by: Damien Riegel
---
drivers/net/can/sja1000/sja1000_platform.c | 30 --
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/dri
This commit adds documentation for the Technologic Systems version of
SJA1000. The difference with the NXP version is in the way the registers
are accessed.
Signed-off-by: Damien Riegel
---
Documentation/devicetree/bindings/net/can/sja1000.txt | 3 ++-
1 file changed, 2 insertions(+), 1
On Fri, Dec 18, 2015 at 09:41:47PM +0100, Marc Kleine-Budde wrote:
> On 12/18/2015 09:17 PM, Damien Riegel wrote:
> > Technologic Systems provides an IP compatible with the SJA1000,
> > instantiated in an FPGA. Because of some bus widths issue, access to
> > registers is m
This commit adds the capability to allocate and init private data
embedded in the sja1000_priv structure on a per-compatible basis. The
device node is passed as a parameter of the init callback to allow
parsing of custom device tree properties.
Signed-off-by: Damien Riegel
---
Hi Marc,
I am
On Sat, Dec 19, 2015 at 09:37:42PM -0600, Rob Herring wrote:
> On Fri, Dec 18, 2015 at 03:17:24PM -0500, Damien Riegel wrote:
> > This commit adds documentation for the Technologic Systems version of
> > SJA1000. The difference with the NXP version is in the way the registers
&
ce number as well as the watchdog class, both of which
> reside in watchdog_dev.c.
>
> Create the watchdog device in watchdog_dev.c to simplify the code.
>
> Inspired by earlier patch set from Damien Riegel.
Hi Guenter,
The main purpose of my patch was to inverse the device creatio
1 - 100 of 145 matches
Mail list logo