* [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC @ 2016-11-03 12:26 Andy Yan 2016-11-03 12:30 ` [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description Andy Yan ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: Andy Yan @ 2016-11-03 12:26 UTC (permalink / raw) To: heiko Cc: linus.walleij, robh+dt, shawn.lin, linux-clk, briannorris, linux-rockchip, devicetree, mturquette, sboyd, linux-gpio, linux, linux-arm-kernel, ulf.hansson, linux-kernel, mark.rutland, elaine.zhang, Andy Yan RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. It is designed for varies application scenario such as car DVR, sports DV, secure camera and UAV camera. This patch series add basic support for it, which can boot a board with initramfs into shell. More new feathers will come soon. Andy Yan (4): pinctrl: rockchip: add support for rk1108 ARM: dts: add basic support for Rockchip RK1108 SOC ARM: add low level debug uart for rk1108 ARM: dts: rockchip: add rockchip RK1108 Evaluation board Shawn Lin (2): dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description clk: rockchip: add clock controller for rk1108 Documentation/devicetree/bindings/arm/rockchip.txt | 3 + .../devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + arch/arm/Kconfig.debug | 30 ++ arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk1108-evb.dts | 69 +++ arch/arm/boot/dts/rk1108.dtsi | 420 +++++++++++++++++++ arch/arm/mach-rockchip/rockchip.c | 1 + drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk1108.c | 463 +++++++++++++++++++++ drivers/clk/rockchip/clk.h | 14 + drivers/pinctrl/pinctrl-rockchip.c | 27 +- include/dt-bindings/clock/rk1108-cru.h | 308 ++++++++++++++ 12 files changed, 1337 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/rk1108-evb.dts create mode 100644 arch/arm/boot/dts/rk1108.dtsi create mode 100644 drivers/clk/rockchip/clk-rk1108.c create mode 100644 include/dt-bindings/clock/rk1108-cru.h -- 2.7.4 ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description 2016-11-03 12:26 [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC Andy Yan @ 2016-11-03 12:30 ` Andy Yan [not found] ` <1478176250-11840-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-03 12:40 ` [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC Andy Yan [not found] ` <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2 siblings, 1 reply; 14+ messages in thread From: Andy Yan @ 2016-11-03 12:30 UTC (permalink / raw) To: heiko Cc: robh+dt, shawn.lin, linux-rockchip, devicetree, linux-arm-kernel, ulf.hansson, linux-kernel, mark.rutland, Andy Yan From: Shawn Lin <shawn.lin@rock-chips.com> Add "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk1108 platform. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt index 07184e8..ea9c1c9 100644 --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt @@ -13,6 +13,7 @@ Required Properties: - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following, before RK3288 - "rockchip,rk3288-dw-mshc": for Rockchip RK3288 + - "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK1108 - "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3036 - "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3368 - "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc": for Rockchip RK3399 -- 2.7.4 ^ permalink raw reply related [flat|nested] 14+ messages in thread
[parent not found: <1478176250-11840-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description [not found] ` <1478176250-11840-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-10 18:56 ` Rob Herring 0 siblings, 0 replies; 14+ messages in thread From: Rob Herring @ 2016-11-10 18:56 UTC (permalink / raw) To: Andy Yan Cc: heiko-4mtYJXux2i+zQB+pC5nmwQ, shawn.lin-TNX95d0MmH7DzftRWevZcw, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, linux-kernel-u79uwXL29TY76Z2rM5mHXA, mark.rutland-5wv7dgnIgG8 On Thu, Nov 03, 2016 at 08:30:50PM +0800, Andy Yan wrote: > From: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > > Add "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc" for > dwmmc on rk1108 platform. > > Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > > Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > --- > > Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC 2016-11-03 12:26 [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC Andy Yan 2016-11-03 12:30 ` [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description Andy Yan @ 2016-11-03 12:40 ` Andy Yan [not found] ` <1478176848-12132-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> [not found] ` <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2 siblings, 1 reply; 14+ messages in thread From: Andy Yan @ 2016-11-03 12:40 UTC (permalink / raw) To: heiko Cc: elaine.zhang, mturquette, linux-rockchip, devicetree, robh+dt, mark.rutland, linux, linux-clk, linux-arm-kernel, linux-kernel, Andy Yan RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. It is designed for varies application scenario such as car DVR, sports DV, secure camera and UAV camera. This patch add basic support for it with DMAC / UART / CRU / pinctrl enabled. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> --- arch/arm/boot/dts/rk1108.dtsi | 420 ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/rockchip.c | 1 + 2 files changed, 421 insertions(+) create mode 100644 arch/arm/boot/dts/rk1108.dtsi diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi new file mode 100644 index 0000000..9dccfea --- /dev/null +++ b/arch/arm/boot/dts/rk1108.dtsi @@ -0,0 +1,420 @@ +/* + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/clock/rk1108-cru.h> +#include <dt-bindings/pinctrl/rockchip.h> +/ { + #address-cells = <1>; + #size-cells = <1>; + + compatible = "rockchip,rk1108"; + + interrupt-parent = <&gic>; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@f00 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0xf00>; + }; + + }; + + amba { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + pdma: pdma@102a0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x102a0000 0x4000>; + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + arm,pl330-broken-no-flushp; + clocks = <&cru ACLK_DMAC>; + clock-names = "apb_pclk"; + }; + }; + + arm-pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; + }; + + + timer { + compatible = "arm,armv7-timer"; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; + clock-frequency = <24000000>; + }; + + xin24m: oscillator { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "xin24m"; + #clock-cells = <0>; + }; + + bus_intmem@10080000 { + compatible = "mmio-sram"; + reg = <0x10080000 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x10080000 0x2000>; + }; + + grf: syscon@10300000 { + compatible = "rockchip,rk1108-grf", "syscon"; + reg = <0x10300000 0x1000>; + }; + + emmc: dwmmc@30110000 { + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; + clock-freq-min-max = <400000 150000000>; + clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, + <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; + reg = <0x30110000 0x4000>; + status = "disabled"; + }; + + sdio: dwmmc@30120000 { + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; + clock-freq-min-max = <400000 150000000>; + clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, + <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + reg = <0x30120000 0x4000>; + status = "disabled"; + }; + + sdmmc: dwmmc@30130000 { + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; + clock-freq-min-max = <400000 100000000>; + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, + <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; + fifo-depth = <0x100>; + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + reg = <0x30130000 0x4000>; + status = "disabled"; + }; + + uart2: serial@10210000 { + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; + reg = <0x10210000 0x100>; + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; + clock-names = "baudclk", "apb_pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&uart2m0_xfer>; + status = "disabled"; + }; + + uart1: serial@10220000 { + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; + reg = <0x10220000 0x100>; + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; + clock-names = "baudclk", "apb_pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_xfer>; + status = "disabled"; + }; + + uart0: serial@10230000 { + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; + reg = <0x10230000 0x100>; + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; + reg-shift = <2>; + reg-io-width = <4>; + clock-frequency = <24000000>; + clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; + clock-names = "baudclk", "apb_pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; + status = "disabled"; + }; + + cru: clock-controller@20200000 { + compatible = "rockchip,rk1108-cru"; + reg = <0x20200000 0x1000>; + rockchip,grf = <&grf>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + gic: interrupt-controller@32010000 { + compatible = "arm,cortex-a15-gic"; + interrupt-controller; + #interrupt-cells = <3>; + #address-cells = <0>; + + reg = <0x32011000 0x1000>, + <0x32012000 0x1000>; + }; + + pinctrl: pinctrl { + compatible = "rockchip,rk1108-pinctrl"; + rockchip,grf = <&grf>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gpio0: gpio0@20030000 { + compatible = "rockchip,gpio-bank"; + reg = <0x20030000 0x100>; + interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xin24m>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio1@10310000 { + compatible = "rockchip,gpio-bank"; + reg = <0x10310000 0x100>; + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xin24m>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio2@10320000 { + compatible = "rockchip,gpio-bank"; + reg = <0x10320000 0x100>; + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xin24m>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio3@10330000 { + compatible = "rockchip,gpio-bank"; + reg = <0x10330000 0x100>; + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&xin24m>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + pcfg_pull_up: pcfg-pull-up { + bias-pull-up; + }; + + pcfg_pull_down: pcfg-pull-down { + bias-pull-down; + }; + + pcfg_pull_none: pcfg-pull-none { + bias-disable; + }; + + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { + drive-strength = <8>; + }; + + pcfg_pull_none_drv_12ma: pcfg-pull-none-drv-12ma { + drive-strength = <12>; + }; + + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { + bias-pull-up; + drive-strength = <8>; + }; + + pcfg_pull_none_drv_4ma: pcfg-pull-none-drv-4ma { + drive-strength = <4>; + }; + + pcfg_pull_up_drv_4ma: pcfg-pull-up-drv-4ma { + bias-pull-up; + drive-strength = <4>; + }; + + pcfg_output_high: pcfg-output-high { + output-high; + }; + + pcfg_output_low: pcfg-output-low { + output-low; + }; + + pcfg_input_high: pcfg-input-high { + bias-pull-up; + input-enable; + }; + + i2c1 { + i2c1_xfer: i2c1-xfer { + rockchip,pins = <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>, + <2 RK_PD4 RK_FUNC_1 &pcfg_pull_up>; + }; + }; + + i2c2m1 { + i2c2m1_xfer: i2c2m1-xfer { + rockchip,pins = <0 RK_PC2 RK_FUNC_2 &pcfg_pull_none>, + <0 RK_PC6 RK_FUNC_3 &pcfg_pull_none>; + }; + + i2c2m1_gpio: i2c2m1-gpio { + rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, + <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + i2c2m05v { + i2c2m05v_xfer: i2c2m05v-xfer { + rockchip,pins = <1 RK_PD5 RK_FUNC_2 &pcfg_pull_none>, + <1 RK_PD4 RK_FUNC_2 &pcfg_pull_none>; + }; + + i2c2m05v_gpio: i2c2m05v-gpio { + rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, + <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + i2c3 { + i2c3_xfer: i2c3-xfer { + rockchip,pins = <0 RK_PB6 RK_FUNC_1 &pcfg_pull_none>, + <0 RK_PC4 RK_FUNC_2 &pcfg_pull_none>; + }; + }; + + uart0 { + uart0_xfer: uart0-xfer { + rockchip,pins = <3 RK_PA6 RK_FUNC_1 &pcfg_pull_up>, + <3 RK_PA5 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart0_cts: uart0-cts { + rockchip,pins = <3 RK_PA4 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart0_rts: uart0-rts { + rockchip,pins = <3 RK_PA3 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart0_rts_gpio: uart0-rts-gpio { + rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + uart1 { + uart1_xfer: uart1-xfer { + rockchip,pins = <1 RK_PD3 RK_FUNC_1 &pcfg_pull_up>, + <1 RK_PD2 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart1_cts: uart1-cts { + rockchip,pins = <1 RK_PD0 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart1_rts: uart1-rts { + rockchip,pins = <1 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; + }; + }; + + uart2m0 { + uart2m0_xfer: uart2m0-xfer { + rockchip,pins = <2 RK_PD2 RK_FUNC_1 &pcfg_pull_up>, + <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; + }; + }; + + uart2m1 { + uart2m1_xfer: uart2m1-xfer { + rockchip,pins = <3 RK_PC3 RK_FUNC_2 &pcfg_pull_up>, + <3 RK_PC2 RK_FUNC_2 &pcfg_pull_none>; + }; + }; + + uart2_5v { + uart2_5v_cts: uart2_5v-cts { + rockchip,pins = <1 RK_PD4 RK_FUNC_1 &pcfg_pull_none>; + }; + + uart2_5v_rts: uart2_5v-rts { + rockchip,pins = <1 RK_PD5 RK_FUNC_1 &pcfg_pull_none>; + }; + }; + }; +}; diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c index a7ab9ec..e7fdf06 100644 --- a/arch/arm/mach-rockchip/rockchip.c +++ b/arch/arm/mach-rockchip/rockchip.c @@ -76,6 +76,7 @@ static void __init rockchip_dt_init(void) } static const char * const rockchip_board_dt_compat[] = { + "rockchip,rk1108", "rockchip,rk2928", "rockchip,rk3066a", "rockchip,rk3066b", -- 2.7.4 ^ permalink raw reply related [flat|nested] 14+ messages in thread
[parent not found: <1478176848-12132-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC [not found] ` <1478176848-12132-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-04 8:00 ` Heiko Stuebner 2016-11-08 12:31 ` Andy Yan 2016-11-04 8:07 ` Heiko Stuebner 1 sibling, 1 reply; 14+ messages in thread From: Heiko Stuebner @ 2016-11-04 8:00 UTC (permalink / raw) To: Andy Yan Cc: elaine.zhang-TNX95d0MmH7DzftRWevZcw, mturquette-rdvid1DuHRBWk0Htik3J/w, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-clk-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: > RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. > It is designed for varies application scenario such as car DVR, sports > DV, secure camera and UAV camera. > > This patch add basic support for it with DMAC / UART / CRU / pinctrl > enabled. > > Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > --- > > arch/arm/boot/dts/rk1108.dtsi | 420 > ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/rockchip.c | > 1 + > 2 files changed, 421 insertions(+) > create mode 100644 arch/arm/boot/dts/rk1108.dtsi > > diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi > new file mode 100644 > index 0000000..9dccfea > --- /dev/null > +++ b/arch/arm/boot/dts/rk1108.dtsi > @@ -0,0 +1,420 @@ > +/* > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This file is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/interrupt-controller/irq.h> > +#include <dt-bindings/interrupt-controller/arm-gic.h> > +#include <dt-bindings/clock/rk1108-cru.h> > +#include <dt-bindings/pinctrl/rockchip.h> > +/ { > + #address-cells = <1>; > + #size-cells = <1>; > + > + compatible = "rockchip,rk1108"; > + > + interrupt-parent = <&gic>; > + > + aliases { > + serial0 = &uart0; > + serial1 = &uart1; > + serial2 = &uart2; > + }; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu0: cpu@f00 { > + device_type = "cpu"; > + compatible = "arm,cortex-a7"; > + reg = <0xf00>; > + }; > + unnecessary empty line > + }; > + > + amba { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + pdma: pdma@102a0000 { > + compatible = "arm,pl330", "arm,primecell"; > + reg = <0x102a0000 0x4000>; > + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; > + #dma-cells = <1>; > + arm,pl330-broken-no-flushp; > + clocks = <&cru ACLK_DMAC>; > + clock-names = "apb_pclk"; > + }; > + }; > + > + arm-pmu { > + compatible = "arm,cortex-a7-pmu"; > + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; > + }; > + > + > + timer { > + compatible = "arm,armv7-timer"; > + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>, > + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; CPU_MASK_SIMPLE(4)? You only have one core, not 4. > + clock-frequency = <24000000>; > + }; > + > + xin24m: oscillator { > + compatible = "fixed-clock"; > + clock-frequency = <24000000>; > + clock-output-names = "xin24m"; > + #clock-cells = <0>; > + }; > + > + bus_intmem@10080000 { > + compatible = "mmio-sram"; > + reg = <0x10080000 0x2000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0x10080000 0x2000>; > + }; > + > + grf: syscon@10300000 { > + compatible = "rockchip,rk1108-grf", "syscon"; > + reg = <0x10300000 0x1000>; > + }; > + > + emmc: dwmmc@30110000 { > + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; > + clock-freq-min-max = <400000 150000000>; > + clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, > + <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; > + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + fifo-depth = <0x100>; > + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; > + reg = <0x30110000 0x4000>; > + status = "disabled"; > + }; > + > + sdio: dwmmc@30120000 { > + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; > + clock-freq-min-max = <400000 150000000>; > + clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, > + <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; > + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + fifo-depth = <0x100>; > + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; > + reg = <0x30120000 0x4000>; > + status = "disabled"; > + }; > + > + sdmmc: dwmmc@30130000 { ordering by register address please (uart2 before sdmmc etc; same for everything else) > + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; > + clock-freq-min-max = <400000 100000000>; > + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, > + <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; > + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + fifo-depth = <0x100>; > + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; > + reg = <0x30130000 0x4000>; > + status = "disabled"; > + }; > + > + uart2: serial@10210000 { > + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; > + reg = <0x10210000 0x100>; > + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; > + reg-shift = <2>; > + reg-io-width = <4>; > + clock-frequency = <24000000>; > + clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; > + clock-names = "baudclk", "apb_pclk"; > + pinctrl-names = "default"; > + pinctrl-0 = <&uart2m0_xfer>; > + status = "disabled"; > + }; > + > + uart1: serial@10220000 { > + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; > + reg = <0x10220000 0x100>; > + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; > + reg-shift = <2>; > + reg-io-width = <4>; > + clock-frequency = <24000000>; > + clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; > + clock-names = "baudclk", "apb_pclk"; > + pinctrl-names = "default"; > + pinctrl-0 = <&uart1_xfer>; > + status = "disabled"; > + }; > + > + uart0: serial@10230000 { > + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; > + reg = <0x10230000 0x100>; > + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; > + reg-shift = <2>; > + reg-io-width = <4>; > + clock-frequency = <24000000>; > + clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; > + clock-names = "baudclk", "apb_pclk"; > + pinctrl-names = "default"; > + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; > + status = "disabled"; > + }; > + > + cru: clock-controller@20200000 { > + compatible = "rockchip,rk1108-cru"; > + reg = <0x20200000 0x1000>; > + rockchip,grf = <&grf>; > + #clock-cells = <1>; > + #reset-cells = <1>; > + }; > + > + gic: interrupt-controller@32010000 { > + compatible = "arm,cortex-a15-gic"; compatible = "arm,gic-400"; ? > + interrupt-controller; > + #interrupt-cells = <3>; > + #address-cells = <0>; > + > + reg = <0x32011000 0x1000>, > + <0x32012000 0x1000>; please provide all 4 register areas and also the interrupt ( > + }; > + [...] > diff --git a/arch/arm/mach-rockchip/rockchip.c > b/arch/arm/mach-rockchip/rockchip.c index a7ab9ec..e7fdf06 100644 > --- a/arch/arm/mach-rockchip/rockchip.c > +++ b/arch/arm/mach-rockchip/rockchip.c > @@ -76,6 +76,7 @@ static void __init rockchip_dt_init(void) > } > > static const char * const rockchip_board_dt_compat[] = { > + "rockchip,rk1108", > "rockchip,rk2928", > "rockchip,rk3066a", > "rockchip,rk3066b", please split this into a separate patch, as code and dts changes need to go through different branches. Thanks Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC 2016-11-04 8:00 ` Heiko Stuebner @ 2016-11-08 12:31 ` Andy Yan [not found] ` <0516ad0b-bfbe-ec80-fdb6-e118dab3e758-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Andy Yan @ 2016-11-08 12:31 UTC (permalink / raw) To: Heiko Stuebner Cc: elaine.zhang, mturquette, linux-rockchip, devicetree, robh+dt, mark.rutland, linux, linux-clk, linux-arm-kernel, linux-kernel Hi Heiko: On 2016年11月04日 16:00, Heiko Stuebner wrote: > Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: >> RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. >> It is designed for varies application scenario such as car DVR, sports >> DV, secure camera and UAV camera. >> >> This patch add basic support for it with DMAC / UART / CRU / pinctrl >> enabled. >> >> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> >> --- >> >> arch/arm/boot/dts/rk1108.dtsi | 420 >> ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/rockchip.c | >> 1 + >> 2 files changed, 421 insertions(+) >> create mode 100644 arch/arm/boot/dts/rk1108.dtsi >> >> diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi >> new file mode 100644 >> index 0000000..9dccfea >> --- /dev/null >> +++ b/arch/arm/boot/dts/rk1108.dtsi >> @@ -0,0 +1,420 @@ >> +/* >> + * This file is dual-licensed: you can use it either under the terms >> + * of the GPL or the X11 license, at your option. Note that this dual >> + * licensing only applies to this file, and not this project as a >> + * whole. >> + * >> + * a) This file is free software; you can redistribute it and/or >> + * modify it under the terms of the GNU General Public License as >> + * published by the Free Software Foundation; either version 2 of the >> + * License, or (at your option) any later version. >> + * >> + * This file is distributed in the hope that it will be useful, >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> + * GNU General Public License for more details. >> + * >> + * Or, alternatively, >> + * >> + * b) Permission is hereby granted, free of charge, to any person >> + * obtaining a copy of this software and associated documentation >> + * files (the "Software"), to deal in the Software without >> + * restriction, including without limitation the rights to use, >> + * copy, modify, merge, publish, distribute, sublicense, and/or >> + * sell copies of the Software, and to permit persons to whom the >> + * Software is furnished to do so, subject to the following >> + * conditions: >> + * >> + * The above copyright notice and this permission notice shall be >> + * included in all copies or substantial portions of the Software. >> + * >> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES >> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND >> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT >> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, >> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING >> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR >> + * OTHER DEALINGS IN THE SOFTWARE. >> + */ >> + >> +#include <dt-bindings/gpio/gpio.h> >> +#include <dt-bindings/interrupt-controller/irq.h> >> +#include <dt-bindings/interrupt-controller/arm-gic.h> >> +#include <dt-bindings/clock/rk1108-cru.h> >> +#include <dt-bindings/pinctrl/rockchip.h> >> +/ { >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + compatible = "rockchip,rk1108"; >> + >> + interrupt-parent = <&gic>; >> + >> + aliases { >> + serial0 = &uart0; >> + serial1 = &uart1; >> + serial2 = &uart2; >> + }; >> + >> + cpus { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + cpu0: cpu@f00 { >> + device_type = "cpu"; >> + compatible = "arm,cortex-a7"; >> + reg = <0xf00>; >> + }; >> + > unnecessary empty line Okay, I will remove it. >> + }; >> + >> + amba { >> + compatible = "simple-bus"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges; >> + >> + pdma: pdma@102a0000 { >> + compatible = "arm,pl330", "arm,primecell"; >> + reg = <0x102a0000 0x4000>; >> + interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; >> + #dma-cells = <1>; >> + arm,pl330-broken-no-flushp; >> + clocks = <&cru ACLK_DMAC>; >> + clock-names = "apb_pclk"; >> + }; >> + }; >> + >> + arm-pmu { >> + compatible = "arm,cortex-a7-pmu"; >> + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; >> + }; >> + >> + >> + timer { >> + compatible = "arm,armv7-timer"; >> + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | > IRQ_TYPE_LEVEL_HIGH)>, >> + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; > CPU_MASK_SIMPLE(4)? You only have one core, not 4. > > >> + clock-frequency = <24000000>; >> + }; >> + >> + xin24m: oscillator { >> + compatible = "fixed-clock"; >> + clock-frequency = <24000000>; >> + clock-output-names = "xin24m"; >> + #clock-cells = <0>; >> + }; >> + >> + bus_intmem@10080000 { >> + compatible = "mmio-sram"; >> + reg = <0x10080000 0x2000>; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges = <0 0x10080000 0x2000>; >> + }; >> + >> + grf: syscon@10300000 { >> + compatible = "rockchip,rk1108-grf", "syscon"; >> + reg = <0x10300000 0x1000>; >> + }; >> + >> + emmc: dwmmc@30110000 { >> + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; >> + clock-freq-min-max = <400000 150000000>; >> + clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, >> + <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; >> + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >> + fifo-depth = <0x100>; >> + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; >> + reg = <0x30110000 0x4000>; >> + status = "disabled"; >> + }; >> + >> + sdio: dwmmc@30120000 { >> + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; >> + clock-freq-min-max = <400000 150000000>; >> + clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, >> + <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; >> + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >> + fifo-depth = <0x100>; >> + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; >> + reg = <0x30120000 0x4000>; >> + status = "disabled"; >> + }; >> + >> + sdmmc: dwmmc@30130000 { > ordering by register address please (uart2 before sdmmc etc; same for > everything else) > > >> + compatible = "rockchip,rk1108-dw-mshc", "rockchip,rk3288-dw-mshc"; >> + clock-freq-min-max = <400000 100000000>; >> + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, >> + <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; >> + clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >> + fifo-depth = <0x100>; >> + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; >> + reg = <0x30130000 0x4000>; >> + status = "disabled"; >> + }; >> + >> + uart2: serial@10210000 { >> + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; >> + reg = <0x10210000 0x100>; >> + interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; >> + reg-shift = <2>; >> + reg-io-width = <4>; >> + clock-frequency = <24000000>; >> + clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; >> + clock-names = "baudclk", "apb_pclk"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart2m0_xfer>; >> + status = "disabled"; >> + }; >> + >> + uart1: serial@10220000 { >> + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; >> + reg = <0x10220000 0x100>; >> + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; >> + reg-shift = <2>; >> + reg-io-width = <4>; >> + clock-frequency = <24000000>; >> + clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; >> + clock-names = "baudclk", "apb_pclk"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart1_xfer>; >> + status = "disabled"; >> + }; >> + >> + uart0: serial@10230000 { >> + compatible = "rockchip,rk1108-uart", "snps,dw-apb-uart"; >> + reg = <0x10230000 0x100>; >> + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; >> + reg-shift = <2>; >> + reg-io-width = <4>; >> + clock-frequency = <24000000>; >> + clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; >> + clock-names = "baudclk", "apb_pclk"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; >> + status = "disabled"; >> + }; >> + >> + cru: clock-controller@20200000 { >> + compatible = "rockchip,rk1108-cru"; >> + reg = <0x20200000 0x1000>; >> + rockchip,grf = <&grf>; >> + #clock-cells = <1>; >> + #reset-cells = <1>; >> + }; >> + >> + gic: interrupt-controller@32010000 { >> + compatible = "arm,cortex-a15-gic"; > compatible = "arm,gic-400"; ? > >> + interrupt-controller; >> + #interrupt-cells = <3>; >> + #address-cells = <0>; >> + >> + reg = <0x32011000 0x1000>, >> + <0x32012000 0x1000>; > please provide all 4 register areas and also the interrupt ( I only found 2 register areas in our rockchip linux 3.10 source code. And haven't found the interrupt. From the arm,gic bindings, the interrupt property is optional. So am not sure if we really need it here. > >> + }; >> + > [...] > >> diff --git a/arch/arm/mach-rockchip/rockchip.c >> b/arch/arm/mach-rockchip/rockchip.c index a7ab9ec..e7fdf06 100644 >> --- a/arch/arm/mach-rockchip/rockchip.c >> +++ b/arch/arm/mach-rockchip/rockchip.c >> @@ -76,6 +76,7 @@ static void __init rockchip_dt_init(void) >> } >> >> static const char * const rockchip_board_dt_compat[] = { >> + "rockchip,rk1108", >> "rockchip,rk2928", >> "rockchip,rk3066a", >> "rockchip,rk3066b", > please split this into a separate patch, as code and dts changes need to go > through different branches. > > > Thanks > Heiko > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <0516ad0b-bfbe-ec80-fdb6-e118dab3e758-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC [not found] ` <0516ad0b-bfbe-ec80-fdb6-e118dab3e758-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-08 13:20 ` Heiko Stübner 0 siblings, 0 replies; 14+ messages in thread From: Heiko Stübner @ 2016-11-08 13:20 UTC (permalink / raw) To: Andy Yan Cc: elaine.zhang-TNX95d0MmH7DzftRWevZcw, mturquette-rdvid1DuHRBWk0Htik3J/w, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-clk-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA Am Dienstag, 8. November 2016, 20:31:55 schrieb Andy Yan: > Hi Heiko: > > On 2016年11月04日 16:00, Heiko Stuebner wrote: > > Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: > >> + gic: interrupt-controller@32010000 { > >> + compatible = "arm,cortex-a15-gic"; > > > > compatible = "arm,gic-400"; ? > > > >> + interrupt-controller; > >> + #interrupt-cells = <3>; > >> + #address-cells = <0>; > >> + > >> + reg = <0x32011000 0x1000>, > >> + <0x32012000 0x1000>; > > > > please provide all 4 register areas and also the interrupt ( > > I only found 2 register areas in our rockchip linux 3.10 source > code. And haven't found the interrupt. From the arm,gic bindings, the > interrupt property is optional. So am not sure if we > really need it here. Devicetree is a hardware description, so it's not a factor if we "need" it but only if it is present in the hardware. And we really want this information to be complete, as these additional areas are necessary if someone wants to use the virtualization extensions the cortext-A7 does contain. The gic is a very standard component and the gic400 used here should definitly have those two additional areas as well as the interrupt. I think the memory areas are pretty standard and should be for the rk1108: reg = <0x32011000 0x1000>, <0x32012000 0x1000>, <0x32014000 0x2000>, <0x32016000 0x2000>; The TRM talks about 128 SPI and 3 PPI interrupts but the irq-list does not contain them, so this seems to be an error in the TRM, as the gic interrupt should be one of those PPI interrupts. Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC [not found] ` <1478176848-12132-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-04 8:00 ` Heiko Stuebner @ 2016-11-04 8:07 ` Heiko Stuebner 1 sibling, 0 replies; 14+ messages in thread From: Heiko Stuebner @ 2016-11-04 8:07 UTC (permalink / raw) To: Andy Yan Cc: elaine.zhang-TNX95d0MmH7DzftRWevZcw, mturquette-rdvid1DuHRBWk0Htik3J/w, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-clk-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA Am Donnerstag, 3. November 2016, 20:40:48 CET schrieb Andy Yan: > RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. > It is designed for varies application scenario such as car DVR, sports > DV, secure camera and UAV camera. > > This patch add basic support for it with DMAC / UART / CRU / pinctrl > enabled. > > Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > --- > > arch/arm/boot/dts/rk1108.dtsi | 420 > ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/rockchip.c | > 1 + > 2 files changed, 421 insertions(+) > create mode 100644 arch/arm/boot/dts/rk1108.dtsi > > diff --git a/arch/arm/boot/dts/rk1108.dtsi b/arch/arm/boot/dts/rk1108.dtsi > new file mode 100644 > index 0000000..9dccfea > --- /dev/null > +++ b/arch/arm/boot/dts/rk1108.dtsi [...] > + pinctrl: pinctrl { > + compatible = "rockchip,rk1108-pinctrl"; > + rockchip,grf = <&grf>; missing rockchip,pmu phandle for gpio0 iomuxes and also syscon declaration for said pmugrf syscon in this file. Heiko -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board [not found] ` <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-03 12:43 ` Andy Yan 2016-11-04 10:03 ` Heiko Stuebner [not found] ` <1478177039-12257-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-12 16:02 ` [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC 陈豪 1 sibling, 2 replies; 14+ messages in thread From: Andy Yan @ 2016-11-03 12:43 UTC (permalink / raw) To: heiko-4mtYJXux2i+zQB+pC5nmwQ Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andy Yan RK1108EVB is designed by Rockchip for CVR field. This patch add basic support for it, which can boot with initramfs into shell. Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> --- Documentation/devicetree/bindings/arm/rockchip.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk1108-evb.dts | 69 ++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 arch/arm/boot/dts/rk1108-evb.dts diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicetree/bindings/arm/rockchip.txt index 10b92b5..8670181 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.txt +++ b/Documentation/devicetree/bindings/arm/rockchip.txt @@ -1,5 +1,8 @@ Rockchip platforms device tree bindings --------------------------------------- +- Rockchip RK1108 Evaluation board + Required root node properties: + - compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; - Kylin RK3036 board: Required root node properties: diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e49476a..249dca9 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -635,6 +635,7 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \ arm-realview-pba8.dtb \ arm-realview-pbx-a9.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += \ + rk1108-evb.dtb \ rk3036-evb.dtb \ rk3036-kylin.dtb \ rk3066a-bqcurie2.dtb \ diff --git a/arch/arm/boot/dts/rk1108-evb.dts b/arch/arm/boot/dts/rk1108-evb.dts new file mode 100644 index 0000000..3956cff --- /dev/null +++ b/arch/arm/boot/dts/rk1108-evb.dts @@ -0,0 +1,69 @@ +/* + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "rk1108.dtsi" + +/ { + model = "Rockchip RK1108 Evaluation board"; + compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x08000000>; + }; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board 2016-11-03 12:43 ` [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board Andy Yan @ 2016-11-04 10:03 ` Heiko Stuebner 2016-11-04 10:54 ` Andy Yan [not found] ` <1478177039-12257-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 1 sibling, 1 reply; 14+ messages in thread From: Heiko Stuebner @ 2016-11-04 10:03 UTC (permalink / raw) To: Andy Yan Cc: linux-rockchip, devicetree, robh+dt, mark.rutland, linux, linux-arm-kernel, linux-kernel Am Donnerstag, 3. November 2016, 20:43:59 CET schrieb Andy Yan: > RK1108EVB is designed by Rockchip for CVR field. > This patch add basic support for it, which can boot with > initramfs into shell. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> looks good, the only thing I can also change myself is moving the board in the rockchip.txt to the block of Rockchip boards (i.e. sorting by manufacturer and board name). Heiko > --- > > Documentation/devicetree/bindings/arm/rockchip.txt | 3 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/rk1108-evb.dts | 69 > ++++++++++++++++++++++ 3 files changed, 73 insertions(+) > create mode 100644 arch/arm/boot/dts/rk1108-evb.dts > > diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt > b/Documentation/devicetree/bindings/arm/rockchip.txt index 10b92b5..8670181 > 100644 > --- a/Documentation/devicetree/bindings/arm/rockchip.txt > +++ b/Documentation/devicetree/bindings/arm/rockchip.txt > @@ -1,5 +1,8 @@ > Rockchip platforms device tree bindings > --------------------------------------- > +- Rockchip RK1108 Evaluation board > + Required root node properties: > + - compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; > > - Kylin RK3036 board: > Required root node properties: > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index e49476a..249dca9 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -635,6 +635,7 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \ > arm-realview-pba8.dtb \ > arm-realview-pbx-a9.dtb > dtb-$(CONFIG_ARCH_ROCKCHIP) += \ > + rk1108-evb.dtb \ > rk3036-evb.dtb \ > rk3036-kylin.dtb \ > rk3066a-bqcurie2.dtb \ > diff --git a/arch/arm/boot/dts/rk1108-evb.dts > b/arch/arm/boot/dts/rk1108-evb.dts new file mode 100644 > index 0000000..3956cff > --- /dev/null > +++ b/arch/arm/boot/dts/rk1108-evb.dts > @@ -0,0 +1,69 @@ > +/* > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This file is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/dts-v1/; > + > +#include "rk1108.dtsi" > + > +/ { > + model = "Rockchip RK1108 Evaluation board"; > + compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; > + > + memory@60000000 { > + device_type = "memory"; > + reg = <0x60000000 0x08000000>; > + }; > + > + chosen { > + stdout-path = "serial2:1500000n8"; > + }; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart1 { > + status = "okay"; > +}; > + > +&uart2 { > + status = "okay"; > +}; ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board 2016-11-04 10:03 ` Heiko Stuebner @ 2016-11-04 10:54 ` Andy Yan [not found] ` <ce6e9d62-75e5-60bc-2775-507aa326e3a2-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Andy Yan @ 2016-11-04 10:54 UTC (permalink / raw) To: Heiko Stuebner Cc: mark.rutland, devicetree, linux, linux-kernel, linux-rockchip, robh+dt, linux-arm-kernel Hi Heiko: On 2016年11月04日 18:03, Heiko Stuebner wrote: > Am Donnerstag, 3. November 2016, 20:43:59 CET schrieb Andy Yan: >> RK1108EVB is designed by Rockchip for CVR field. >> This patch add basic support for it, which can boot with >> initramfs into shell. >> >> Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > looks good, the only thing I can also change myself is moving the board in the > rockchip.txt to the block of Rockchip boards (i.e. sorting by manufacturer and > board name). > > > Heiko You mean it's better to put it between "Rockchip RK3368 evb" and "Rockchip PX5 Evaluation board"? if so, I will change it in next version. >> --- >> >> Documentation/devicetree/bindings/arm/rockchip.txt | 3 + >> arch/arm/boot/dts/Makefile | 1 + >> arch/arm/boot/dts/rk1108-evb.dts | 69 >> ++++++++++++++++++++++ 3 files changed, 73 insertions(+) >> create mode 100644 arch/arm/boot/dts/rk1108-evb.dts >> >> diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt >> b/Documentation/devicetree/bindings/arm/rockchip.txt index 10b92b5..8670181 >> 100644 >> --- a/Documentation/devicetree/bindings/arm/rockchip.txt >> +++ b/Documentation/devicetree/bindings/arm/rockchip.txt >> @@ -1,5 +1,8 @@ >> Rockchip platforms device tree bindings >> --------------------------------------- >> +- Rockchip RK1108 Evaluation board >> + Required root node properties: >> + - compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; >> >> - Kylin RK3036 board: >> Required root node properties: >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index e49476a..249dca9 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -635,6 +635,7 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \ >> arm-realview-pba8.dtb \ >> arm-realview-pbx-a9.dtb >> dtb-$(CONFIG_ARCH_ROCKCHIP) += \ >> + rk1108-evb.dtb \ >> rk3036-evb.dtb \ >> rk3036-kylin.dtb \ >> rk3066a-bqcurie2.dtb \ >> diff --git a/arch/arm/boot/dts/rk1108-evb.dts >> b/arch/arm/boot/dts/rk1108-evb.dts new file mode 100644 >> index 0000000..3956cff >> --- /dev/null >> +++ b/arch/arm/boot/dts/rk1108-evb.dts >> @@ -0,0 +1,69 @@ >> +/* >> + * This file is dual-licensed: you can use it either under the terms >> + * of the GPL or the X11 license, at your option. Note that this dual >> + * licensing only applies to this file, and not this project as a >> + * whole. >> + * >> + * a) This file is free software; you can redistribute it and/or >> + * modify it under the terms of the GNU General Public License as >> + * published by the Free Software Foundation; either version 2 of the >> + * License, or (at your option) any later version. >> + * >> + * This file is distributed in the hope that it will be useful, >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> + * GNU General Public License for more details. >> + * >> + * Or, alternatively, >> + * >> + * b) Permission is hereby granted, free of charge, to any person >> + * obtaining a copy of this software and associated documentation >> + * files (the "Software"), to deal in the Software without >> + * restriction, including without limitation the rights to use, >> + * copy, modify, merge, publish, distribute, sublicense, and/or >> + * sell copies of the Software, and to permit persons to whom the >> + * Software is furnished to do so, subject to the following >> + * conditions: >> + * >> + * The above copyright notice and this permission notice shall be >> + * included in all copies or substantial portions of the Software. >> + * >> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES >> + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND >> + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT >> + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, >> + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING >> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR >> + * OTHER DEALINGS IN THE SOFTWARE. >> + */ >> + >> +/dts-v1/; >> + >> +#include "rk1108.dtsi" >> + >> +/ { >> + model = "Rockchip RK1108 Evaluation board"; >> + compatible = "rockchip,rk1108-evb", "rockchip,rk1108"; >> + >> + memory@60000000 { >> + device_type = "memory"; >> + reg = <0x60000000 0x08000000>; >> + }; >> + >> + chosen { >> + stdout-path = "serial2:1500000n8"; >> + }; >> +}; >> + >> +&uart0 { >> + status = "okay"; >> +}; >> + >> +&uart1 { >> + status = "okay"; >> +}; >> + >> +&uart2 { >> + status = "okay"; >> +}; > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <ce6e9d62-75e5-60bc-2775-507aa326e3a2-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board [not found] ` <ce6e9d62-75e5-60bc-2775-507aa326e3a2-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-04 11:17 ` Heiko Stuebner 0 siblings, 0 replies; 14+ messages in thread From: Heiko Stuebner @ 2016-11-04 11:17 UTC (permalink / raw) To: Andy Yan Cc: mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Am Freitag, 4. November 2016, 18:54:35 CET schrieb Andy Yan: > Hi Heiko: > > On 2016年11月04日 18:03, Heiko Stuebner wrote: > > Am Donnerstag, 3. November 2016, 20:43:59 CET schrieb Andy Yan: > >> RK1108EVB is designed by Rockchip for CVR field. > >> This patch add basic support for it, which can boot with > >> initramfs into shell. > >> > >> Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > > > > looks good, the only thing I can also change myself is moving the board in > > the rockchip.txt to the block of Rockchip boards (i.e. sorting by > > manufacturer and board name). > > > > > > Heiko > > You mean it's better to put it between "Rockchip RK3368 evb" and > "Rockchip PX5 Evaluation board"? if so, I will change it in next version. yep, that is the location I also would've moved it to :-) . -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <1478177039-12257-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board [not found] ` <1478177039-12257-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2016-11-10 18:57 ` Rob Herring 0 siblings, 0 replies; 14+ messages in thread From: Rob Herring @ 2016-11-10 18:57 UTC (permalink / raw) To: Andy Yan Cc: heiko-4mtYJXux2i+zQB+pC5nmwQ, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, mark.rutland-5wv7dgnIgG8, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA On Thu, Nov 03, 2016 at 08:43:59PM +0800, Andy Yan wrote: > RK1108EVB is designed by Rockchip for CVR field. > This patch add basic support for it, which can boot with > initramfs into shell. > > Signed-off-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > --- > > Documentation/devicetree/bindings/arm/rockchip.txt | 3 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/rk1108-evb.dts | 69 ++++++++++++++++++++++ > 3 files changed, 73 insertions(+) > create mode 100644 arch/arm/boot/dts/rk1108-evb.dts Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC [not found] ` <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-03 12:43 ` [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board Andy Yan @ 2016-11-12 16:02 ` 陈豪 1 sibling, 0 replies; 14+ messages in thread From: 陈豪 @ 2016-11-12 16:02 UTC (permalink / raw) To: Andy Yan Cc: Heiko Stuebner, Linus Walleij, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, Shawn Lin, linux-clk-u79uwXL29TY76Z2rM5mHXA, briannorris-F7+t8E8rja9g9hUCZPvPmw, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA, mturquette-rdvid1DuHRBWk0Htik3J/w, sboyd-sgV2jX0FEOL9JmXXK+q4OQ, linux-gpio-u79uwXL29TY76Z2rM5mHXA, linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, linux-kernel-u79uwXL29TY76Z2rM5mHXA, mark.rutland-5wv7dgnIgG8, elaine.zhang-TNX95d0MmH7DzftRWevZcw patches 1-5 on rk1108-cvr-v10 board. Tested-by: Jacob Chen <jacob2.chen-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-03 20:26 GMT+08:00 Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>: > > RK1108 is embedded with an ARM Cortex-A7 single core and a DSP core. > It is designed for varies application scenario such as car DVR, sports > DV, secure camera and UAV camera. > This patch series add basic support for it, which can boot a board with > initramfs into shell. > More new feathers will come soon. > > > Andy Yan (4): > pinctrl: rockchip: add support for rk1108 > ARM: dts: add basic support for Rockchip RK1108 SOC > ARM: add low level debug uart for rk1108 > ARM: dts: rockchip: add rockchip RK1108 Evaluation board > > Shawn Lin (2): > dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description > clk: rockchip: add clock controller for rk1108 > > Documentation/devicetree/bindings/arm/rockchip.txt | 3 + > .../devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + > arch/arm/Kconfig.debug | 30 ++ > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/rk1108-evb.dts | 69 +++ > arch/arm/boot/dts/rk1108.dtsi | 420 +++++++++++++++++++ > arch/arm/mach-rockchip/rockchip.c | 1 + > drivers/clk/rockchip/Makefile | 1 + > drivers/clk/rockchip/clk-rk1108.c | 463 +++++++++++++++++++++ > drivers/clk/rockchip/clk.h | 14 + > drivers/pinctrl/pinctrl-rockchip.c | 27 +- > include/dt-bindings/clock/rk1108-cru.h | 308 ++++++++++++++ > 12 files changed, 1337 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/boot/dts/rk1108-evb.dts > create mode 100644 arch/arm/boot/dts/rk1108.dtsi > create mode 100644 drivers/clk/rockchip/clk-rk1108.c > create mode 100644 include/dt-bindings/clock/rk1108-cru.h > > -- > 2.7.4 > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2016-11-12 16:02 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-11-03 12:26 [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC Andy Yan 2016-11-03 12:30 ` [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add RK1108 dw-mshc description Andy Yan [not found] ` <1478176250-11840-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-10 18:56 ` Rob Herring 2016-11-03 12:40 ` [PATCH 4/6] ARM: dts: add basic support for Rockchip RK1108 SOC Andy Yan [not found] ` <1478176848-12132-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-04 8:00 ` Heiko Stuebner 2016-11-08 12:31 ` Andy Yan [not found] ` <0516ad0b-bfbe-ec80-fdb6-e118dab3e758-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-08 13:20 ` Heiko Stübner 2016-11-04 8:07 ` Heiko Stuebner [not found] ` <1478175975-11779-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-03 12:43 ` [PATCH 6/6] ARM: dts: rockchip: add rockchip RK1108 Evaluation board Andy Yan 2016-11-04 10:03 ` Heiko Stuebner 2016-11-04 10:54 ` Andy Yan [not found] ` <ce6e9d62-75e5-60bc-2775-507aa326e3a2-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-04 11:17 ` Heiko Stuebner [not found] ` <1478177039-12257-1-git-send-email-andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2016-11-10 18:57 ` Rob Herring 2016-11-12 16:02 ` [PATCH 0/6] Add basic support for support for Rockchip RK1108 SOC 陈豪
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).