aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-07arm64: renesas: salvator-common: avoid audio_clkout naming conflictKuninori Morimoto1-1/+1
clock name of "audio_clkout" is used by Renesas sound driver. This duplicated naming breaks its clock registering/unregistering. Especially, when unbind/bind it can't handle clkout correctly. This patch renames "audio_clkout" to "audio-clkout" to avoid naming conflict. Fixes: 8a8f181d2cfd ("arm64: renesas: salvator-x: use CS2000 as AUDIO_CLK_B") Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-07-10arm64: dts: renesas: ulcb: sound clock-frequency needs descending orderVladimir Barinov1-1/+1
Correct order of sound clock frequencies for ULCB boards used with r8a7795 and r8a7796 SoCs. These sounds clock frequencies are used as the ADG clock (output clocks for audio module) initial setting and sound codec's initial system clock which needs the maximum clock frequency. Thus, descending order is required. Fixes: 9f22774c214ada7b ("arm64: dts: ulcb: add 12288000 for sound ADG") Signed-off-by: Vladimir Barinov <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> [simon: rewrote changelog] Signed-off-by: Simon Horman <[email protected]>
2017-06-19arm64: renesas: salvator-common: sound clock-frequency needs descending orderKuninori Morimoto1-1/+1
It will be used ADG clock initial settings, and will be sound codec's initial system clock which needs maximum clock frequency. Thus, descending order is required Fixes: d37d2b3c0ec2708a ("arm64: dts: salvator-x: add 12288000 for sound ADG") Fixes: 0b03c32db03d63de ("arm64: dts: r8a7795: salvator-x: Add support for R-Car H3 ES2.0") Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-14arm64: dts: r8a7796: Add reset control properties for audioGeert Uytterhoeven1-0/+10
Note that the audio module has resets for the Serial Sound Interfaces only. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-14arm64: dts: r8a7795: Add reset control properties for audioGeert Uytterhoeven1-0/+10
Note that the audio module has resets for the Serial Sound Interfaces only. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: renesas: Add support for Salvator-XS with R-Car H3 ES2.0Geert Uytterhoeven2-0/+110
Add initial support for the Renesas Salvator-XS (Salvator-X 2nd version) development board equipped with an R-Car H3 ES2.0 SiP. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: renesas: Add common Salvator-XS board supportGeert Uytterhoeven1-0/+20
The Renesas Salvator-XS (Salvator-X 2nd version) development board can be equipped with either an R-Car H3 ES2.0 or M3-W ES1.x SiP, which are pin-compatible. Add initial support for the common parts of the Salvator-XS board into its own .dtsi file, to be included by the DTSes for the H3/M3-W versions. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: renesas: Extract common Salvator-X/XS board supportGeert Uytterhoeven2-615/+630
The Renesas Salvator-X and Salvator-XS (Salvator-X 2nd version) boards are very similar. To avoid duplication, prepare for the advent of the latter by extracting the common board parts into its own .dtsi file. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: salvator-x: Add missing index to PWM pinctrl subnode nameGeert Uytterhoeven1-1/+1
R-Car Gen3 SoCs contain multiple PWM modules. Hence to avoid conflicts, pinctrl subnodes for PWM should include indices referring to their instances. Fixes: b33be33670217533 ("arm64: dts: salvator-x: Add panel backlight support") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: r8a7795: h3ulcb: Add support for R-Car H3 ES2.0Geert Uytterhoeven3-3/+45
Split off support for H3ULCB boards with the ES1.x revision of the R-Car H3 SoC into a separate file. The main r8a7795-h3ulcb.dts file now corresponds to H3ULCB with R-Car H3 ES2.0 or later. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: r8a7796: add DMA for IIC_DVFSWolfram Sang1-0/+2
Tested with a Salvator-X. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: r8a7795: add DMA for IIC_DVFSWolfram Sang1-0/+2
Tested with a Salvator-X. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: ulcb: add 12288000 for sound ADGKuninori Morimoto1-1/+1
Current rcar_sound only has 11289600 (= for 44.1kHz) clock-frequency, but it needs 12288000 for 48kHz too. Otherwise, 48kHz based sound can't handle correctly. Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-06-12arm64: dts: salvator-x: add 12288000 for sound ADGKuninori Morimoto1-1/+1
Current rcar_sound only has 11289600 (= for 44.1kHz) clock-frequency, but it needs 12288000 for 48kHz too. Otherwise, 48kHz based sound can't handle correctly. Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7795: salvator-x: Add support for R-Car H3 ES2.0Geert Uytterhoeven3-2/+118
Split off support for Salvator-X boards with the ES1.x revision of the R-Car H3 SoC into a separate file. The main r8a7795-salvator-x.dts file now corresponds to Salvator-X with R-Car H3 ES2.0 or later. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7795: Add support for R-Car H3 ES2.0Geert Uytterhoeven4-74/+89
Update r8a7795.dtsi so it corresponds to R-Car H3 ES2.0 or later: - The following devices no longer exist on ES2.0, and are thus removed: fcpf2, fcpvd3, fcpvi2, fdp1-2, usb3-if1, vspd3, vspi2. - The DU <-> VSPD topology is different on ES2.0, hence remove the "compatible" and "vsps" properties from the DU node until the driver can handle this. Move support for the ES1.x revision of the R-Car H3 SoC into a separate file. To avoid duplication, r8a7795-es1.dtsi includes r8a7795.dtsi, and adds device nodes and properties where needed. Note that while currently r8a7795-es1.dtsi only adds device nodes, removal of devices nodes and properties can be implemented using the /delete-node/ and /delete-property/ keywords, as shown below: &soc { /delete-node/ <name>@<addr>; }; &<label> { /delete-property/ <prop>; }; Switch r8a7795-salvator-x.dts and r8a7795-h3ulcb.dts from r8a7795.dtsi to r8a7795-es1.dtsi to preserve compatibility. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: ulcb: Set drive-strength for ravb pinsSimon Horman1-2/+16
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB. Based on: * commit 7d73a4da2681 ("arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins") * commit 4903987033be ("arm64: dts: r8a7796: salvator-x: Set drive-strength for ravb pins") Cc: Geert Uytterhoeven <[email protected]> Cc: Niklas Söderlund <[email protected]> Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]>
2017-05-22arm64: dts: renesas: r8a7795-salvator-x: Enable HDMI outputsKoji Matsuoka1-0/+34
Enable the HDMI encoders for the H3 Salvator-X board. The number of encoders varies between the H3 and M3-W SoCs, so they can't be enabled in the common salvator-x.dtsi file. Signed-off-by: Koji Matsuoka <[email protected]> Signed-off-by: Ulrich Hecht <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: r8a7795-salvator-x: Add DU external dot clocksLaurent Pinchart1-0/+14
The DU1 and DU2 external dot clocks are provided by the fixed frequency clock generators X21 and X22, while the DU0 and DU3 clocks are provided by the programmable Versaclock5 clock generator. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: salvator-x: Add HDMI output connectorsLaurent Pinchart1-0/+22
The Salvator-X board has two HDMI output connectors. Add them to the common salvator-x.dtsi. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: salvator-x: Add DU external dot clock sourcesLaurent Pinchart1-0/+27
The DU1 and DU2 external dot clocks are fixed frequency clock generators running at 33MHz, while the DU0 and DU3 external dot clocks are generated by an I2C-controlled programmable clock generator. All those clock generators are available on both the H3 and M3-W Salvator-X boards. Add them to the salvator-x.dtsi file. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: r8a7795: Add HDMI encoder supportUlrich Hecht1-0/+52
Add DT nodes for the two HDMI encoders in disabled state. Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: salvator-x: Add panel backlight supportLaurent Pinchart1-0/+22
The panel backlight is controlled through a GPIO and a PWM channel. Signed-off-by: Laurent Pinchart <[email protected]> [simon: apply to salvator-x.dtsi instead of r8a7795-salvator-x.dts] Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: Add PWM device nodesTakeshi Kihara1-0/+70
This patch adds PWM{0,1,2,3,4,5,6} device nodes for R8A7796 SoC. Signed-off-by: Takeshi Kihara <[email protected]> [uli: added resets, shortened reg lengths to 8] Signed-off-by: Ulrich Hecht <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound MIX supportKuninori Morimoto1-0/+7
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound CTU supportKuninori Morimoto1-0/+13
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound DVC supportKuninori Morimoto1-1/+6
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound SRC supportKuninori Morimoto1-0/+54
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound SSI DMA supportKuninori Morimoto1-0/+20
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add Sound SSI PIO supportKuninori Morimoto1-2/+62
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: add AUDIO_DMAC supportKuninori Morimoto1-0/+68
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: salvator-x: Add current sense amplifiersJacopo Mondi1-0/+18
Add device nodes for two Maxim max961x current sense amplifiers sensing VDD_08 and DVFS_08 lines. Signed-off-by: Jacopo Mondi <[email protected]> [geert: r8a7796-salvator-x.dts => salvator-x.dtsi] Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: Extract common ULCB board supportGeert Uytterhoeven3-536/+359
The Renesas ULCB development board can be equipped with either an R-Car H3 or M3-W SiP, which are pin-compatible. Both boards use different DTBs. Reduce duplication by extracting common ULCB board support into its own .dtsi file. References to SoC-specific clocks are handled through cpp definitions. Sort device nodes while at it. For H3ULCB, there are no functional changes. For M3ULCB, the following new devices are now described in DT: - External audio, CAN, and PCIe clocks, - CS2000 clock generator, - AK4613 Audio Codec. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: renesas: Extract common Salvator-X board supportGeert Uytterhoeven3-794/+563
The Renesas Salvator-X development board can be equipped with either an R-Car H3 or M3-W SiP, which are pin-compatible. Both boards use different DTBs. Reduce duplication by extracting common Salvator-X board support into its own .dtsi file. References to SoC-specific clocks are handled through cpp definitions. Sort device nodes while at it. For boards with an R-Car H3 SiP, there are no functional changes. For boards with an R-Car M3-W SiP, the following new devices are now described in DT: - External audio, CAN, and PCIe clocks, - USB Vbus regulator, - CS2000 clock generator, - AK4613 Audio Codec, - VGA. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: Add placeholders for various devicesGeert Uytterhoeven1-0/+82
Add empty device nodes serving as placeholders for devices that are not yet supported and/or tested on R-Car M3-W, but are supported and used on Salvator-X or H3ULCB boards equipped with an R-Car H3 SoC. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: Add external PCIe bus clockGeert Uytterhoeven1-0/+7
Add the external PCIe bus clock as a zero Hz fixed-frequency clock. Boards that provide this clock should override it. Based on r8a7795.dtsi. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: Add external audio clocksGeert Uytterhoeven1-0/+23
Add the external audio clocks as zero Hz fixed-frequency clocks. Boards that provide these clocks should override them. Based on commit 623197b90c7aa97c ("arm64: renesas: r8a7795: Sound SSI PIO support"). Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7795: update PFC node name to pin-controllerSimon Horman1-1/+1
The device trees for Renesas SoCs use either pfc or pin-controller as the node name for the PFC device. This patch is intended to take a step towards unifying the node name used as pin-controller which appears to be the more generic of the two and thus more in keeping with the DT specs. My analysis is that this is a user-visible change to the extent that kernel logs, and sysfs entries change from e6060000.pfc and pfc@e6060000 to e6060000.pin-controller and pin-controller@e6060000. Signed-off-by: Simon Horman <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]>
2017-05-22arm64: dts: r8a7796: salvator-x: Set drive-strength for ravb pinsGeert Uytterhoeven1-2/+16
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB. Based on commit 7d73a4da2681dc5d ("arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins"). Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: salvator-x: Enable NFS rootGeert Uytterhoeven1-1/+1
Cfr. commit b2407c566ba29215 ("arm64: dts: r8a7795: enable nfs root on Salvator-X board"). Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: m3ulcb: Fix EthernetAVB PHY timingSimon Horman1-12/+1
Set PHY rxc-skew-ps to 1500 and all other values to their default values. This is intended to to address failures in the case of 1Gbps communication using the salvator-x board with the KSZ9031RNX phy. This has been reported to occur with both the r8a7795 (H3) and r8a7796 (M3-W) SoCs. Based in a similar patch for the r8a7796 salvator-x by Kazuya Mizuguchi. Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: h3ulcb: enable HS200 for eMMCVladimir Barinov1-0/+1
This supports HS200 mode for eMMC on H3ULCB board Signed-off-by: Vladimir Barinov <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: m3ulcb: enable HS200 for eMMCVladimir Barinov1-0/+1
This supports HS200 mode for eMMC on M3ULCB board Signed-off-by: Vladimir Barinov <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7796: salvator-x: enable HS200 for eMMCWolfram Sang1-0/+1
Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7795: salvator-x: enable HS200 for eMMCWolfram Sang1-0/+1
Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: r8a7795: salvator-x: Update memory node to 4 GiB mapTakeshi Kihara1-0/+15
This patch addes memory region: - After changes, the Salvator-X board has the following map: Bank0: 1GiB RAM : 0x000048000000 -> 0x0007fffffff Bank1: 1GiB RAM : 0x000500000000 -> 0x0053fffffff Bank2: 1GiB RAM : 0x000600000000 -> 0x0063fffffff Bank3: 1GiB RAM : 0x000700000000 -> 0x0073fffffff - Before changes, the old map looked like this: Bank0: 1GiB RAM : 0x000048000000 -> 0x0007fffffff Signed-off-by: Takeshi Kihara <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: m3ulcb: enable EthernetAVBVladimir Barinov1-0/+32
This supports Ethernet AVB on M3ULCB board Signed-off-by: Vladimir Barinov <[email protected]> Tested-by: Sjoerd Simons <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: m3ulcb: Update memory node to 2 GiB mapVladimir Barinov1-0/+5
This patch updates memory region: - After changes, the new map of the m3ulcb board on R8A7796 SoC Bank0: 1GiB RAM : 0x000048000000 -> 0x0007fffffff Bank1: 1GiB RAM : 0x000600000000 -> 0x0063fffffff - Before changes, the old map looked like this: Bank0: 1GiB RAM : 0x000048000000 -> 0x0007fffffff Signed-off-by: Vladimir Barinov <[email protected]> Tested-by: Sjoerd Simons <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-22arm64: dts: m3ulcb: enable I2CVladimir Barinov1-0/+12
This supports I2C2 bus on M3ULCB board Signed-off-by: Vladimir Barinov <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
2017-05-13Linux 4.12-rc1Linus Torvalds1-2/+2