Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1393922
| From | Rich Felker <dalias@libc.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts |
| Date | 2016-05-04 05:30 +0200 |
| Message-ID | <ruVFE-42F-3@gated-at.bofh.it> (permalink) |
| References | <rtRNL-3JV-5@gated-at.bofh.it> <rtRXs-3NJ-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, May 01, 2016 at 02:08:34PM +0900, Yoshinori Sato wrote:
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
> arch/sh/boot/dts/landisk.dts | 150 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 150 insertions(+)
> create mode 100644 arch/sh/boot/dts/landisk.dts
>
> diff --git a/arch/sh/boot/dts/landisk.dts b/arch/sh/boot/dts/landisk.dts
> new file mode 100644
> index 0000000..a994d19
> --- /dev/null
> +++ b/arch/sh/boot/dts/landisk.dts
> @@ -0,0 +1,150 @@
> +#include <dt-bindings/interrupt-controller/sh_intc.h>
> +
> +/dts-v1/;
> +/ {
> + model = "I/O DATA HDL-U";
> + compatible = "iodata,hdl-u";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + interrupt-parent = <&shintc>;
> + chosen {
> + stdout-path = &sci1;
> + bootargs = "console=ttySC1,115200";
> + };
> + aliases {
> + serial0 = &sci0;
> + serial1 = &sci1;
> + };
> +
> + oclk: oscillator {
> + #clock-cells = <0>;
> + compatible = "fixed-clock";
> + clock-frequency = <22222222>;
> + };
> + pllclk: pllclk {
> + compatible = "renesas,sh7750-pll-clock";
> + clocks = <&oclk>;
> + #clock-cells = <0>;
> + renesas,mult = <12>;
> + reg = <0xffc00000 2>, <0xffc00008 4>;
You have inconsistent mixes of tabs and spaces here and in several
other places.
> + cpus {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + cpu@0 {
> + compatible = "renesas,sh4", "renesas,sh";
> + clock-frequency = <266666666>;
> + };
> + };
Do you have in mind a scenario where the plain "renesas,sh"
fallback-compatible tag makes sense? Linux (or any kernel or baremetal
app) can't treat all sh as the same because the trap mechanism is
different for sh1/2 and sh3/4. Declaring that it's sh3-compatible
might make sense but I still doubt it has much practical usefulness.
Rich
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RESEND 00/12] SH: landisk convert to devicetree Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:10 +0200
[PATCH RESEND 02/12] sh: Config update for OF mode Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:10 +0200
[PATCH RESEND 07/12] pci: sh: SH7751 PCI host bridge driver Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:10 +0200
Re: [PATCH RESEND 07/12] pci: sh: SH7751 PCI host bridge driver Bjorn Helgaas <helgaas@kernel.org> - 2016-05-02 18:50 +0200
Re: [PATCH RESEND 07/12] pci: sh: SH7751 PCI host bridge driver Bjorn Helgaas <helgaas@kernel.org> - 2016-05-02 21:40 +0200
[PATCH RESEND 08/12] intc: sh: Renesas Super H INTC driver Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:10 +0200
[PATCH RESEND 12/12] of: Add sh support Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
Re: [PATCH RESEND 12/12] of: Add sh support Rob Herring <robh@kernel.org> - 2016-05-02 14:40 +0200
Re: [PATCH RESEND 12/12] of: Add sh support Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-10 09:50 +0200
[PATCH RESEND 09/12] sh: Add I/O DATA HDL-U support drivers. Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
[PATCH RESEND 01/12] sh: Fix typo Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
[PATCH RESEND 11/12] sh: I/O DATA HDL-U defconfig (DT mode) Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
[PATCH RESEND 03/12] sh: Disable board specific code in OF mode Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
Re: [PATCH RESEND 03/12] sh: Disable board specific code in OF mode Rich Felker <dalias@libc.org> - 2016-05-04 05:00 +0200
Re: [PATCH RESEND 03/12] sh: Disable board specific code in OF mode Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-10 09:30 +0200
[PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
Re: [PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts Rich Felker <dalias@libc.org> - 2016-05-04 05:30 +0200
Re: [PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-10 09:50 +0200
[PATCH RESEND 04/12] sh: Drop CPU specific setup on OF mode Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-05-01 07:20 +0200
csiph-web