Message ID | 20200529034338.1137776-1-jiaxun.yang@flygoat.com (mailing list archive) |
---|---|
Headers | show |
Series | MIPS: Loongson64: Initial LS7A PCH support | expand |
Hi, Jiaxun, On Fri, May 29, 2020 at 11:45 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > > With this series, LS7A and Loongson-3A4000 is finally supported > note that this series should depend on irqchip support[1], which > is likely to get merged soon. > > Thanks. > > [1]: https://lkml.org/lkml/2020/5/16/72 > > Jiaxun Yang (3): > dt-bindings: mips: Document two Loongson generic boards > MIPS: Loongson64: DeviceTree for LS7A PCH > MIPS: Loongson64:Load LS7A dtbs > > .../bindings/mips/loongson/devices.yaml | 8 + > arch/mips/boot/dts/loongson/Makefile | 5 +- > .../dts/loongson/loongson3-r4-package.dtsi | 74 +++++++ > .../dts/loongson/loongson3_4core_ls7a.dts | 25 +++ > .../boot/dts/loongson/loongson3_r4_ls7a.dts | 10 + > arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 185 ++++++++++++++++++ > .../asm/mach-loongson64/builtin_dtbs.h | 2 + > arch/mips/loongson64/env.c | 56 +++--- > 8 files changed, 342 insertions(+), 23 deletions(-) > create mode 100644 arch/mips/boot/dts/loongson/loongson3-r4-package.dtsi > create mode 100644 arch/mips/boot/dts/loongson/loongson3_4core_ls7a.dts > create mode 100644 arch/mips/boot/dts/loongson/loongson3_r4_ls7a.dts > create mode 100644 arch/mips/boot/dts/loongson/ls7a-pch.dtsi I think the naming can be like this: Old processor (Loongson 3A R1~R3) use loongson64c_ prefix instead of loongson3, new processor (Loongson 3A R4) use loongson64g_ prefix instead of loongson3_r4, and Loongson-2K use loongson64r_ prefix, this makes them consistent with their PRID definitions. > > -- > 2.27.0.rc0 >
于 2020年5月29日 GMT+08:00 下午12:13:36, Huacai Chen <chenhc@lemote.com> 写到: >Hi, Jiaxun, > >On Fri, May 29, 2020 at 11:45 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: >> >> With this series, LS7A and Loongson-3A4000 is finally supported >> note that this series should depend on irqchip support[1], which >> is likely to get merged soon. >> >> Thanks. >> >> [1]: https://lkml.org/lkml/2020/5/16/72 >> >> Jiaxun Yang (3): >> dt-bindings: mips: Document two Loongson generic boards >> MIPS: Loongson64: DeviceTree for LS7A PCH >> MIPS: Loongson64:Load LS7A dtbs >> >> .../bindings/mips/loongson/devices.yaml | 8 + >> arch/mips/boot/dts/loongson/Makefile | 5 +- >> .../dts/loongson/loongson3-r4-package.dtsi | 74 +++++++ >> .../dts/loongson/loongson3_4core_ls7a.dts | 25 +++ >> .../boot/dts/loongson/loongson3_r4_ls7a.dts | 10 + >> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 185 ++++++++++++++++++ >> .../asm/mach-loongson64/builtin_dtbs.h | 2 + >> arch/mips/loongson64/env.c | 56 +++--- >> 8 files changed, 342 insertions(+), 23 deletions(-) >> create mode 100644 arch/mips/boot/dts/loongson/loongson3-r4-package.dtsi >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_4core_ls7a.dts >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_r4_ls7a.dts >> create mode 100644 arch/mips/boot/dts/loongson/ls7a-pch.dtsi >I think the naming can be like this: Old processor (Loongson 3A R1~R3) >use loongson64c_ prefix instead of loongson3, new processor (Loongson >3A R4) use loongson64g_ prefix instead of loongson3_r4, and >Loongson-2K use loongson64r_ prefix, this makes them consistent with >their PRID definitions. DeviceTree bindings have stable ABI. Although they're currently only used internally in Kernel. I don't think it's a good idea to rename existing bindings. Also, Loongson64C/64G/64R never came to a part of Loongson's official naming. I doubt if end users will recognize these names. I'd prefer keep naming as is. It's really not a big deal. Thanks. > >> >> -- >> 2.27.0.rc0 >>
Hi, Jiaxun, On Fri, May 29, 2020 at 12:37 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > > > > 于 2020年5月29日 GMT+08:00 下午12:13:36, Huacai Chen <chenhc@lemote.com> 写到: > >Hi, Jiaxun, > > > >On Fri, May 29, 2020 at 11:45 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > >> > >> With this series, LS7A and Loongson-3A4000 is finally supported > >> note that this series should depend on irqchip support[1], which > >> is likely to get merged soon. > >> > >> Thanks. > >> > >> [1]: https://lkml.org/lkml/2020/5/16/72 > >> > >> Jiaxun Yang (3): > >> dt-bindings: mips: Document two Loongson generic boards > >> MIPS: Loongson64: DeviceTree for LS7A PCH > >> MIPS: Loongson64:Load LS7A dtbs > >> > >> .../bindings/mips/loongson/devices.yaml | 8 + > >> arch/mips/boot/dts/loongson/Makefile | 5 +- > >> .../dts/loongson/loongson3-r4-package.dtsi | 74 +++++++ > >> .../dts/loongson/loongson3_4core_ls7a.dts | 25 +++ > >> .../boot/dts/loongson/loongson3_r4_ls7a.dts | 10 + > >> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 185 ++++++++++++++++++ > >> .../asm/mach-loongson64/builtin_dtbs.h | 2 + > >> arch/mips/loongson64/env.c | 56 +++--- > >> 8 files changed, 342 insertions(+), 23 deletions(-) > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3-r4-package.dtsi > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_4core_ls7a.dts > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_r4_ls7a.dts > >> create mode 100644 arch/mips/boot/dts/loongson/ls7a-pch.dtsi > >I think the naming can be like this: Old processor (Loongson 3A R1~R3) > >use loongson64c_ prefix instead of loongson3, new processor (Loongson > >3A R4) use loongson64g_ prefix instead of loongson3_r4, and > >Loongson-2K use loongson64r_ prefix, this makes them consistent with > >their PRID definitions. > > > DeviceTree bindings have stable ABI. Although they're currently > only used internally in Kernel. I don't think it's a good idea > to rename existing bindings. I think consistency is important, and this renaming doesn't break anything. > > Also, Loongson64C/64G/64R never came to a part of Loongson's > official naming. I doubt if end users will recognize these names. > > I'd prefer keep naming as is. It's really not a big deal. > > Thanks. > > > > > >> > >> -- > >> 2.27.0.rc0 > >> > > -- > Jiaxun Yang