Message ID | 20240607090433.488454-2-b-padhi@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add Remoteproc Support for TI's J722S SoCs | expand |
On 6/7/24 4:04 AM, Beleswar Padhi wrote: > From: Apurva Nandan <a-nandan@ti.com> > > The K3 J722S SoCs have one single-core Arm Cortex-R5F processor in each > of the WAKEUP, MCU and MAIN voltage domain, and two C71x DSP subsystems > in MAIN voltage domain. Add the DT nodes to support Inter-Processor > Communication. > > Signed-off-by: Apurva Nandan <a-nandan@ti.com> > Signed-off-by: Beleswar Padhi <b-padhi@ti.com> > --- > arch/arm64/boot/dts/ti/k3-j722s.dtsi | 63 ++++++++++++++++++++++++++++ > 1 file changed, 63 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/k3-j722s.dtsi > index c75744edb1433..a894a132f1667 100644 > --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi > @@ -87,3 +87,66 @@ &oc_sram { > reg = <0x00 0x70000000 0x00 0x40000>; > ranges = <0x00 0x00 0x70000000 0x40000>; > }; > + > +&cbass_main { There is another series[0] in progress that adds `k3-j722s-main.dtsi` for the J722s MAIN domain items, these new nodes will belong there. That does mean there is a dependency on that series, but better than having to move these nodes over later (and I'm sure Nishanth and Vignesh can sort that out when taking both these series..) Andrew [0]https://lore.kernel.org/linux-arm-kernel/20240604085252.3686037-4-s-vadapalli@ti.com/ > + main_r5fss0: r5fss@78400000 { > + compatible = "ti,am62-r5fss"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x78400000 0x00 0x78400000 0x8000>, > + <0x78500000 0x00 0x78500000 0x8000>; > + power-domains = <&k3_pds 261 TI_SCI_PD_EXCLUSIVE>; > + status = "disabled"; > + > + main_r5fss0_core0: r5f@78400000 { > + compatible = "ti,am62-r5f"; > + reg = <0x78400000 0x00008000>, > + <0x78500000 0x00008000>; > + reg-names = "atcm", "btcm"; > + ti,sci = <&dmsc>; > + ti,sci-dev-id = <262>; > + ti,sci-proc-ids = <0x04 0xff>; > + resets = <&k3_reset 262 1>; > + firmware-name = "j722s-main-r5f0_0-fw"; > + ti,atcm-enable = <1>; > + ti,btcm-enable = <1>; > + ti,loczrama = <1>; > + }; > + }; > + > + c7x_0: dsp@7e000000 { > + compatible = "ti,am62a-c7xv-dsp"; > + reg = <0x00 0x7e000000 0x00 0x00200000>; > + reg-names = "l2sram"; > + ti,sci = <&dmsc>; > + ti,sci-dev-id = <208>; > + ti,sci-proc-ids = <0x30 0xff>; > + resets = <&k3_reset 208 1>; > + firmware-name = "j722s-c71_0-fw"; > + status = "disabled"; > + }; > + > + c7x_1: dsp@7e200000 { > + compatible = "ti,am62a-c7xv-dsp"; > + reg = <0x00 0x7e200000 0x00 0x00200000>; > + reg-names = "l2sram"; > + ti,sci = <&dmsc>; > + ti,sci-dev-id = <268>; > + ti,sci-proc-ids = <0x31 0xff>; > + resets = <&k3_reset 268 1>; > + firmware-name = "j722s-c71_1-fw"; > + status = "disabled"; > + }; > +}; > + > +/* MCU domain overrides */ > + > +&mcu_r5fss0_core0 { > + firmware-name = "j722s-mcu-r5f0_0-fw"; > +}; > + > +/* Wakeup domain overrides */ > + > +&wkup_r5fss0_core0 { > + firmware-name = "j722s-wkup-r5f0_0-fw"; > +};
Hi Beleswar, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v6.10-rc2 next-20240607] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Beleswar-Padhi/arm64-dts-ti-Add-R5F-and-C7x-remote-processor-nodes/20240607-170843 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240607090433.488454-2-b-padhi%40ti.com patch subject: [PATCH 1/3] arm64: dts: ti: Add R5F and C7x remote processor nodes compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a) dtschema version: 2024.6.dev1+g833054f reproduce: (https://download.01.org/0day-ci/archive/20240608/202406082029.cp7GBkgY-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202406082029.cp7GBkgY-lkp@intel.com/ dtcheck warnings: (new ones prefixed by >>) >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e000000: reg: [[0, 2113929216, 0, 2097152]] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e000000: reg-names: ['l2sram'] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e200000: reg: [[0, 2116026368, 0, 2097152]] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e200000: reg-names: ['l2sram'] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
Hi Beleswar, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v6.10-rc3 next-20240607] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Beleswar-Padhi/arm64-dts-ti-Add-R5F-and-C7x-remote-processor-nodes/20240607-170843 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240607090433.488454-2-b-padhi%40ti.com patch subject: [PATCH 1/3] arm64: dts: ti: Add R5F and C7x remote processor nodes config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20240611/202406111537.bNPc0hYx-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a) dtschema version: 2024.6.dev1+g833054f reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240611/202406111537.bNPc0hYx-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202406111537.bNPc0hYx-lkp@intel.com/ dtcheck warnings: (new ones prefixed by >>) >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e000000: reg: [[0, 2113929216, 0, 2097152]] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e000000: reg-names: ['l2sram'] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e200000: reg: [[0, 2116026368, 0, 2097152]] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# >> arch/arm64/boot/dts/ti/k3-j722s-evm.dtb: dsp@7e200000: reg-names: ['l2sram'] is too short from schema $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml#
diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/k3-j722s.dtsi index c75744edb1433..a894a132f1667 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi @@ -87,3 +87,66 @@ &oc_sram { reg = <0x00 0x70000000 0x00 0x40000>; ranges = <0x00 0x00 0x70000000 0x40000>; }; + +&cbass_main { + main_r5fss0: r5fss@78400000 { + compatible = "ti,am62-r5fss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x78400000 0x00 0x78400000 0x8000>, + <0x78500000 0x00 0x78500000 0x8000>; + power-domains = <&k3_pds 261 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + + main_r5fss0_core0: r5f@78400000 { + compatible = "ti,am62-r5f"; + reg = <0x78400000 0x00008000>, + <0x78500000 0x00008000>; + reg-names = "atcm", "btcm"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <262>; + ti,sci-proc-ids = <0x04 0xff>; + resets = <&k3_reset 262 1>; + firmware-name = "j722s-main-r5f0_0-fw"; + ti,atcm-enable = <1>; + ti,btcm-enable = <1>; + ti,loczrama = <1>; + }; + }; + + c7x_0: dsp@7e000000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e000000 0x00 0x00200000>; + reg-names = "l2sram"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <208>; + ti,sci-proc-ids = <0x30 0xff>; + resets = <&k3_reset 208 1>; + firmware-name = "j722s-c71_0-fw"; + status = "disabled"; + }; + + c7x_1: dsp@7e200000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e200000 0x00 0x00200000>; + reg-names = "l2sram"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <268>; + ti,sci-proc-ids = <0x31 0xff>; + resets = <&k3_reset 268 1>; + firmware-name = "j722s-c71_1-fw"; + status = "disabled"; + }; +}; + +/* MCU domain overrides */ + +&mcu_r5fss0_core0 { + firmware-name = "j722s-mcu-r5f0_0-fw"; +}; + +/* Wakeup domain overrides */ + +&wkup_r5fss0_core0 { + firmware-name = "j722s-wkup-r5f0_0-fw"; +};