From: Jon Mason <hidden> Date: 2017-03-03 00:31:49
Changes in v2:
* Rafal discovered an issue with the GIC_PPI flags being incorrect.
Since there was a dependency on that DT entry in this series, I added
a patch to correct the issue and reworked the TWD patch with the
changes.
These seemed to have been lost sometime last year. See
https://lkml.org/lkml/2016/5/11/953
I am dropping the syscon reboot from the series, as I believe that was
the sticking point, and resending the TWD and i2c patches.
Jon Mason (3):
ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
ARM: dts: bcm5301x: Add TWD WD Support to DT
ARM: dts: bcm5301x: Add I2C support to the DT
arch/arm/boot/dts/bcm5301x.dtsi | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
--
2.7.4
From: Jon Mason <hidden> Date: 2017-03-03 00:31:51
GIC_PPI flags were misconfigured for the timers, resulting in errors
like:
[ 0.000000] GIC: PPI11 is secure or misconfigured
Changing them to being edge triggered corrects the issue
Suggested-by: Rafa? Mi?ecki <rafal@milecki.pl>
Signed-off-by: Jon Mason <redacted>
Fixes: d27509f1 ("ARM: BCM5301X: add dts files for BCM4708 SoC")
---
arch/arm/boot/dts/bcm5301x.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
GIC_PPI flags were misconfigured for the timers, resulting in errors
like:
[ 0.000000] GIC: PPI11 is secure or misconfigured
Changing them to being edge triggered corrects the issue
Suggested-by: Rafa? Mi?ecki <rafal@milecki.pl>
Signed-off-by: Jon Mason <redacted>
Fixes: d27509f1 ("ARM: BCM5301X: add dts files for BCM4708 SoC")
From: Jon Mason <hidden> Date: 2017-03-03 01:20:40
From: Jon Mason <redacted>
Add support for the ARM TWD Watchdog to the bcm5301x device tree. The
ARM TWD timer allocated the register space for the WDT, so this patch
necessitated shrinking that. Also, the GIC masks were added for these.
Signed-off-by: Jon Mason <redacted>
---
arch/arm/boot/dts/bcm5301x.dtsi | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
From: Jon Mason <hidden> Date: 2017-03-03 10:07:52
From: Jon Mason <redacted>
Add I2C support to the bcm5301x Device Tree. Since no driver changes
are needed to enable this hardware, only the device tree changes are
required to make this functional.
Signed-off-by: Jon Mason <redacted>
---
arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
From: Jon Mason <redacted>
Add I2C support to the bcm5301x Device Tree. Since no driver changes
are needed to enable this hardware, only the device tree changes are
required to make this functional.
Signed-off-by: Jon Mason <redacted>
---
arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Should not this have a:
status = "disabled"
property by default such that boards can override this by phandle when
there are actual I2C devices available?
From: Jon Mason <hidden> Date: 2017-03-06 15:41:26
On Sun, Mar 5, 2017 at 8:13 PM, Florian Fainelli [off-list ref] wrote:
On 03/02/2017 04:21 PM, Jon Mason wrote:
quoted
From: Jon Mason <redacted>
Add I2C support to the bcm5301x Device Tree. Since no driver changes
are needed to enable this hardware, only the device tree changes are
required to make this functional.
Signed-off-by: Jon Mason <redacted>
---
arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Should not this have a:
status = "disabled"
property by default such that boards can override this by phandle when
there are actual I2C devices available?
Your comment appears to match the way it is being done in most device trees.
NSP implementation is identical to this. So, if I should change it
here, I should make there too.
Thanks,
Jon