From patchwork Tue Nov 26 17:06:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262863 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA03814DB for ; Tue, 26 Nov 2019 17:07:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 896412080F for ; Tue, 26 Nov 2019 17:07:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="Og14kYGY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728463AbfKZRHw (ORCPT ); Tue, 26 Nov 2019 12:07:52 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25881 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727309AbfKZRHw (ORCPT ); Tue, 26 Nov 2019 12:07:52 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788012; cv=none; d=zohomail.com; s=zohoarc; b=ATRc21L+e/7wVJTZ027GgQ8nlwmbFuMMdPKHeEO8DA4dMA0u6tiJc6VYUvt/TrsYYA3q4vmpGkoi3vsctNbOPuvXFBfKfQoD50GkI7mcUkr50XCqmQX82VvoRkkOCPYBEqKa5wXn0TbBa89iDV39WKwnO+ouMlbEk7/KBuOrrRo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788012; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=3b5F/OVWdoWLEKak4c52mWkES7qUTZQqlpBuCpx3Nso=; b=cvB2r9q79Am813ssVOBcyiE1qfKoFCNMcMGMMorWrC+29mIZF79D6JYIVWqLZwgh8jfdnb9l9g6a9SGUIrOBKJxhGn3wP3elPpLCAwjK7d+GXvJ2WJsuj4Ky23JjHFfKfhpchYXl+QQ8a2ySka+1ICeBobh0OgkRgFiasJGd/Bk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=sqpkpxBzDF5Yf9P3vOtRELK96LgPEYuQV9lQjJc40mzQV02cgJFe08MOo8tkTIWLW9g7FOCUkSrt Wt6UwTva8r2f6HrhXW6AN8Y19PTCe+bjf0Bs7LJcGCXjNEB9Qljv DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788012; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=3b5F/OVWdoWLEKak4c52mWkES7qUTZQqlpBuCpx3Nso=; b=Og14kYGYnpHXP3LB2iPCn1fZP0jWJnnTJFm4ZsHKR5JYYSdFnG1TLZp6Udi6XeM+ ZXpiOhDFm1iWVEwvnl/XX04/oaX6NrZ+S2jpIC/CUCeYqVc3k7cRPrYTP9PTWZGY9Op 7XEVddnyCmq2RWhSoLVtEbRwwIzldiCl8nKXNy9E= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 157478801175497.29000888552594; Tue, 26 Nov 2019 09:06:51 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 1/6] MIPS: Ingenic: Initial X1000 support. Date: Wed, 27 Nov 2019 01:06:09 +0800 Message-Id: <1574787974-58040-2-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Support the Ingenic X1000 SoC using the code under arch/mips/jz4740. This is left unselectable in Kconfig until a X1000 based board is added in a later commit. Signed-off-by: Zhou Yanjie --- Notes: v1->v2: Rebase on top of mips-next, use ingenic-timer driver for system timer and clocksource. v2->v3: Drop the 'apb' node. v3->v4: Adjust the node order to make it consistent with other Ingenic boards. arch/mips/boot/dts/ingenic/x1000.dtsi | 176 ++++++++++++++++++++++++++++++++++ arch/mips/jz4740/Kconfig | 6 ++ 2 files changed, 182 insertions(+) create mode 100644 arch/mips/boot/dts/ingenic/x1000.dtsi diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi b/arch/mips/boot/dts/ingenic/x1000.dtsi new file mode 100644 index 00000000..9e55edd --- /dev/null +++ b/arch/mips/boot/dts/ingenic/x1000.dtsi @@ -0,0 +1,176 @@ +// SPDX-License-Identifier: GPL-2.0 +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "ingenic,x1000", "ingenic,x1000e"; + + cpuintc: interrupt-controller { + #address-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + compatible = "mti,cpu-interrupt-controller"; + }; + + intc: interrupt-controller@10001000 { + compatible = "ingenic,x1000-intc", "ingenic,jz4780-intc"; + reg = <0x10001000 0x50>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <2>; + }; + + exclk: ext { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + rtclk: rtc { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + + cgu: x1000-cgu@10000000 { + compatible = "ingenic,x1000-cgu"; + reg = <0x10000000 0x100>; + + #clock-cells = <1>; + + clocks = <&exclk>, <&rtclk>; + clock-names = "ext", "rtc"; + }; + + tcu: timer@10002000 { + compatible = "ingenic,x1000-tcu", + "ingenic,jz4770-tcu", + "simple-mfd"; + reg = <0x10002000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x10002000 0x1000>; + + #clock-cells = <1>; + + clocks = <&cgu X1000_CLK_RTCLK + &cgu X1000_CLK_EXCLK + &cgu X1000_CLK_PCLK>; + clock-names = "rtc", "ext", "pclk"; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&intc>; + interrupts = <27 26 25>; + }; + + pinctrl: pin-controller@10010000 { + compatible = "ingenic,x1000-pinctrl"; + reg = <0x10010000 0x800>; + #address-cells = <1>; + #size-cells = <0>; + + gpa: gpio@0 { + compatible = "ingenic,x1000-gpio"; + reg = <0>; + + gpio-controller; + gpio-ranges = <&pinctrl 0 0 32>; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <17>; + }; + + gpb: gpio@1 { + compatible = "ingenic,x1000-gpio"; + reg = <1>; + + gpio-controller; + gpio-ranges = <&pinctrl 0 32 32>; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <16>; + }; + + gpc: gpio@2 { + compatible = "ingenic,x1000-gpio"; + reg = <2>; + + gpio-controller; + gpio-ranges = <&pinctrl 0 64 32>; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <15>; + }; + + gpd: gpio@3 { + compatible = "ingenic,x1000-gpio"; + reg = <3>; + + gpio-controller; + gpio-ranges = <&pinctrl 0 96 32>; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <14>; + }; + }; + + uart0: serial@10030000 { + compatible = "ingenic,x1000-uart"; + reg = <0x10030000 0x100>; + + interrupt-parent = <&intc>; + interrupts = <51>; + + clocks = <&exclk>, <&cgu X1000_CLK_UART0>; + clock-names = "baud", "module"; + + status = "disabled"; + }; + + uart1: serial@10031000 { + compatible = "ingenic,x1000-uart"; + reg = <0x10031000 0x100>; + + interrupt-parent = <&intc>; + interrupts = <50>; + + clocks = <&exclk>, <&cgu X1000_CLK_UART1>; + clock-names = "baud", "module"; + + status = "disabled"; + }; + + uart2: serial@10032000 { + compatible = "ingenic,x1000-uart"; + reg = <0x10032000 0x100>; + + interrupt-parent = <&intc>; + interrupts = <49>; + + clocks = <&exclk>, <&cgu X1000_CLK_UART2>; + clock-names = "baud", "module"; + + status = "disabled"; + }; +}; diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig index 4dd0c44..6b96844 100644 --- a/arch/mips/jz4740/Kconfig +++ b/arch/mips/jz4740/Kconfig @@ -33,3 +33,9 @@ config MACH_JZ4780 select MIPS_CPU_SCACHE select SYS_HAS_CPU_MIPS32_R2 select SYS_SUPPORTS_HIGHMEM + +config MACH_X1000 + bool + select MIPS_CPU_SCACHE + select SYS_HAS_CPU_MIPS32_R2 + select SYS_SUPPORTS_HIGHMEM From patchwork Tue Nov 26 17:06:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262867 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2E3C14DB for ; Tue, 26 Nov 2019 17:08:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE4AA20722 for ; Tue, 26 Nov 2019 17:08:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="qNSK7DTb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727756AbfKZRI3 (ORCPT ); Tue, 26 Nov 2019 12:08:29 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25805 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727309AbfKZRI3 (ORCPT ); Tue, 26 Nov 2019 12:08:29 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788024; cv=none; d=zohomail.com; s=zohoarc; b=jptWWbh0pXigtHC8trHJFtqz5+KRVM1Eh5Lu9i2KPvhC9w3svUO+k5NQ58/mEpk7G7cm+L3PjScqvIh5Bfn1WhTQGBpYh7qSpUyMEaoB7gC6rCs3zheckcEN6lhl/mKwAh0/egN/ZM5LvijQDGNZEw2s5K97a3D/CLTsOO05GIA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788024; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=fCu7mhMHSN5oFkRm647heujwgRCsMayXSIV1DvJcJvU=; b=IR2g8MbAipXtb3AzxLHaM9+wO5YJCm/EgcRBjUbyZlWHjz2+tlXvch024nzwN61SDTRli92zy054Nvp9M2lh+eKn5x1qUk1oTUMzpkgZBz5XsAC/nueCjXv613Oecuy90hXzdaO3fzP3ay+Y1EJzbC+o2NUJmvWrVUU48dxMxL8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=R7trRMaCPi3m4fR0fGw/p08z+uTHf5KQ4+KyZbfxZz1D1tdiMaeqSSAY0baQwLFIsYLbFWbQX0+s kJ/YYsm+8/di6SdQ67DMfV0fa/xyCDMWhtmCykRvMUap6ICN8b/7 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788024; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=fCu7mhMHSN5oFkRm647heujwgRCsMayXSIV1DvJcJvU=; b=qNSK7DTbKtQc9jGF/WK7y1BsGYIksqAO6Hp/6ARHvroZRRjPQJbrPBmIk5EckFU4 8YG6YKjxlc4Sqyr6xqHagbdMZ/Paz8VqAABm8InmO3RSUjbr2c1Ld3DNmriTwiEI8FG f0xGKT8jaSI4px/ZiyeS0yR0tnsmhWajAJXB2zfU= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788023056554.3651273736727; Tue, 26 Nov 2019 09:07:03 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 2/6] dt-bindings: Document yna vendor-prefix. Date: Wed, 27 Nov 2019 01:06:10 +0800 Message-Id: <1574787974-58040-3-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org The "yna" is an acronym of the "YSH & ATIL". Signed-off-by: Zhou Yanjie --- Notes: v1->v2: No change. v2->v3: No change. v3->v4: No change. Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 967e78c..47ddd88 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1054,6 +1054,8 @@ patternProperties: description: Xilinx "^xunlong,.*": description: Shenzhen Xunlong Software CO.,Limited + "^yna,.*": + description: YSH & ATIL "^yones-toptech,.*": description: Yones Toptech Co., Ltd. "^ysoft,.*": From patchwork Tue Nov 26 17:06:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262869 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 308BC14ED for ; Tue, 26 Nov 2019 17:09:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0ECA42080F for ; Tue, 26 Nov 2019 17:09:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="o1ZuI51i" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728686AbfKZRJE (ORCPT ); Tue, 26 Nov 2019 12:09:04 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25820 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727756AbfKZRJE (ORCPT ); Tue, 26 Nov 2019 12:09:04 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788036; cv=none; d=zohomail.com; s=zohoarc; b=QK7pbJO1Ne/E4pwdjS9AExdTRN2pTWfSdKXCPItt5C2avHPzxLa9yUI7t0S2hhhOTS8uXVqNqHIvl5KUqRJ1hcqjN/bTZd3hXNmXuM8MolgCvKJOXxkO2rO6RKQphzMbi9wlXZvlPFLO0HyqXIhtYID8iMw/DR+7Hs/2WZOOYNY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788036; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=+bwMuYTaEcOpuJOWhY2SWQ2bbePhtqOfnXH4gaS8oyk=; b=ihKb4k/nR3iDkGLIOinwL8AxWKqUz8G4iGeu8I2xEqXqQS4tq97Z0wX4wRpnP3d1Nwkzo+iRs64zGXuFbQ9yrilu69CQvTo58jl9nWjDJw/AjpRmPHxjerQq6hwNbE4GegpgMi/IW8bygWy4yqriFvrYFuivvMGQEvyMZGqChbg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=dCTEbCaHfzZXUq+xbgv9hW9vIIc25xUrSBKlKAHKc0PasNi3ntbHg7in6/XYt2b9USILYnzZ7bB6 bLMztT4NcNiP/csCNaFmFH6Tb93iSTGHjsEv8CqJeyqmGhS5Pw+9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788036; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=+bwMuYTaEcOpuJOWhY2SWQ2bbePhtqOfnXH4gaS8oyk=; b=o1ZuI51iyZkWoqdlGnMRjIyOESjCsP+1ZYfVXXo0nl1Q8K2t8akGudmupqlADsEt tdRnSkxyCS7ex8ImrlWAJGOX9br/oDLwRrTmjuJ3sGfAJgYx5kFblEAvTi3BW+EeccK 71NhsQutCdRlc850GlotkfFpTmjXzGfOgjlbZPHM= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788035230260.8063431722685; Tue, 26 Nov 2019 09:07:15 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 3/6] dt-bindings: MIPS: Add Ingenic XBurst based boards. Date: Wed, 27 Nov 2019 01:06:11 +0800 Message-Id: <1574787974-58040-4-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Add Ingenic XBurst based boards, prepare for later dts. Signed-off-by: Zhou Yanjie --- Notes: v1->v2: No change. v2->v3: No change. v3->v4: Adjust the description to make it more reasonable. .../devicetree/bindings/mips/ingenic/devices.yaml | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/ingenic/devices.yaml diff --git a/Documentation/devicetree/bindings/mips/ingenic/devices.yaml b/Documentation/devicetree/bindings/mips/ingenic/devices.yaml new file mode 100644 index 00000000..a6f5056 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/ingenic/devices.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/ingenic/devices.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic XBurst based Platforms Device Tree Bindings + +maintainers: + - Zhou Yanjie +description: | + Devices with a Ingenic XBurst CPU shall have the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Qi Hardware Ben NanoNote + items: + - const: qi,lb60 + + - description: Game Consoles Worldwide GCW Zero + items: + - const: gcw,zero + + - description: MIPS Creator CI20 + items: + - const: img,ci20 + + - description: YSH & ATIL General Board CU Neo + items: + - const: yna,cu1000 +... From patchwork Tue Nov 26 17:06:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262881 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6494E14DB for ; Tue, 26 Nov 2019 17:09:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3BC422080F for ; Tue, 26 Nov 2019 17:09:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="SNEgLGMI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728723AbfKZRJe (ORCPT ); Tue, 26 Nov 2019 12:09:34 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25841 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727674AbfKZRJe (ORCPT ); Tue, 26 Nov 2019 12:09:34 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788048; cv=none; d=zohomail.com; s=zohoarc; b=XK1cCvVsgTFpmDSEw0LpHcrpx7QZvQpr1BriubwvqOTJQXqx3CjOi2HUtYVxOmMePHGuRBShOb/Ijpm8jhyLzahBV2LDYFR9mxRzUFne4xA8mTmEJeHZUqVGnZG1CsYqWcqaUk4VjN43BK40xGSYRCZLSORt0ys5qNn7lYZxY2s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788048; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=O2mxMRqNG5nxoS3M1p8Fo5LSL5q81C+xbwYZf2HrKD4=; b=Ata+vVoZGhtj7DWWnOqpENWHV79llPvrW0gdvhPtoeTuqAevymrtseTWg8C4RFaVJHuvnKqcOgAV/pCux2ZawXAb04KJOpjtrbU3ugGbxId2f/KBPi6tlcNrOV3B3HPHpgd4xfYINPrLgh3Mt05iO2Vy0/wya/jO4nUitj06WDE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=pRFV02mFUmkJDG5J2EYSHSSu2J9md90O2lZjmhTtPJnXIhJBmyOh3PqvPBvAQA99U2W5Bnn0JQDo 77bv9EPgJx9DRcgcFRmVUVWN9CqECezPGAC47x6eWz/G001j24FK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788048; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=O2mxMRqNG5nxoS3M1p8Fo5LSL5q81C+xbwYZf2HrKD4=; b=SNEgLGMI3a11tDnaTU1z/Fl+KxIx8LUlWmshJJtVkcnsgvvSzSt813n/mu1AULs1 XklyWBvGsVsqnwFKfE9I+ZfLHbH8uPlxBQx2+Jfwh0AgWvTgFXP2MAYmmMA4p7sXJ3c seyShPpVjpH7rSxI+hCrkdTYaJnW8Zq4ufxUj/GM= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788046343318.03779533446266; Tue, 26 Nov 2019 09:07:26 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 4/6] MIPS: Ingenic: Initial YSH & ATIL CU Neo board support. Date: Wed, 27 Nov 2019 01:06:12 +0800 Message-Id: <1574787974-58040-5-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Add a device tree for the Ingenic X1000 based YSH & ATIL CU Neo board. Note that this is unselectable via Kconfig until the X1000 SoC is made selectable in a later commit. Signed-off-by: Zhou Yanjie --- Notes: v1->v2: Rebase on top of mips-next, use TCU for system timer and clocksource. v2->v3: No change. v3->v4: 1.Adjust "model" in "cu1000.dts" to match the description in "devices.yaml". 2.Adjust "bool" in "Kconfig" to avoid duplicate names with subsequent boards. arch/mips/boot/dts/ingenic/Makefile | 1 + arch/mips/boot/dts/ingenic/cu1000.dts | 52 ++++++++++++++++++ arch/mips/configs/cu1000_defconfig | 100 ++++++++++++++++++++++++++++++++++ arch/mips/jz4740/Kconfig | 4 ++ 4 files changed, 157 insertions(+) create mode 100644 arch/mips/boot/dts/ingenic/cu1000.dts create mode 100644 arch/mips/configs/cu1000_defconfig diff --git a/arch/mips/boot/dts/ingenic/Makefile b/arch/mips/boot/dts/ingenic/Makefile index 9cc4844..f6db7bb 100644 --- a/arch/mips/boot/dts/ingenic/Makefile +++ b/arch/mips/boot/dts/ingenic/Makefile @@ -2,5 +2,6 @@ dtb-$(CONFIG_JZ4740_QI_LB60) += qi_lb60.dtb dtb-$(CONFIG_JZ4770_GCW0) += gcw0.dtb dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb +dtb-$(CONFIG_X1000_CU1000) += cu1000.dtb obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/arch/mips/boot/dts/ingenic/cu1000.dts b/arch/mips/boot/dts/ingenic/cu1000.dts new file mode 100644 index 00000000..f92f6af --- /dev/null +++ b/arch/mips/boot/dts/ingenic/cu1000.dts @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "x1000.dtsi" +#include +#include + +/ { + compatible = "yna,cu1000", "ingenic,x1000"; + model = "YSH & ATIL General Board CU Neo"; + + aliases { + serial2 = &uart2; + }; + + chosen { + stdout-path = &uart2; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x04000000>; + }; +}; + +&exclk { + clock-frequency = <24000000>; +}; + +&tcu { + /* 1500 kHz for the system timer and clocksource */ + assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER2>; + assigned-clock-rates = <1500000>, <1500000>; + + /* Use channel #1 for the system timer channel #2 for the clocksource */ + ingenic,pwm-channels-mask = <0xfa>; +}; + +&uart2 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_uart2>; +}; + +&pinctrl { + pins_uart2: uart2 { + function = "uart2"; + groups = "uart2-data-d"; + bias-disable; + }; +}; diff --git a/arch/mips/configs/cu1000_defconfig b/arch/mips/configs/cu1000_defconfig new file mode 100644 index 00000000..88729ee --- /dev/null +++ b/arch/mips/configs/cu1000_defconfig @@ -0,0 +1,100 @@ +CONFIG_LOCALVERSION_AUTO=y +CONFIG_KERNEL_GZIP=y +CONFIG_SYSVIPC=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_CGROUPS=y +CONFIG_MEMCG=y +CONFIG_MEMCG_KMEM=y +CONFIG_CGROUP_SCHED=y +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_NAMESPACES=y +CONFIG_USER_NS=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="arch/mips/boot/ramdisk.cpio.gz" +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL_SYSCALL=y +CONFIG_KALLSYMS_ALL=y +CONFIG_EMBEDDED=y +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_SLAB=y +CONFIG_MACH_INGENIC=y +CONFIG_X1000_CU1000=y +CONFIG_HIGHMEM=y +CONFIG_HZ_100=y +CONFIG_HZ=100 +# CONFIG_SECCOMP is not set +# CONFIG_SUSPEND is not set +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +# CONFIG_COMPACTION is not set +CONFIG_CMA=y +CONFIG_CMA_AREAS=7 +CONFIG_UEVENT_HELPER=y +CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" +CONFIG_DEVTMPFS=y +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +# CONFIG_INPUT_MOUSEDEV is not set +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set +# CONFIG_SERIO is not set +CONFIG_VT_HW_CONSOLE_BINDING=y +CONFIG_LEGACY_PTY_COUNT=2 +CONFIG_SERIAL_EARLYCON=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=3 +CONFIG_SERIAL_8250_RUNTIME_UARTS=3 +CONFIG_SERIAL_8250_INGENIC=y +CONFIG_SERIAL_OF_PLATFORM=y +# CONFIG_HW_RANDOM is not set +CONFIG_GPIO_SYSFS=y +# CONFIG_HWMON is not set +# CONFIG_LCD_CLASS_DEVICE is not set +# CONFIG_BACKLIGHT_CLASS_DEVICE is not set +# CONFIG_VGA_CONSOLE is not set +# CONFIG_HID is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_NVMEM=y +CONFIG_NVMEM_SYSFS=y +CONFIG_EXT4_FS=y +# CONFIG_DNOTIFY is not set +CONFIG_PROC_KCORE=y +# CONFIG_PROC_PAGE_MONITOR is not set +CONFIG_TMPFS=y +CONFIG_CONFIGFS_FS=y +CONFIG_NLS=y +CONFIG_NLS_CODEPAGE_936=y +CONFIG_NLS_CODEPAGE_950=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_UTF8=y +CONFIG_CRYPTO_ECHAINIV=y +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_DEFLATE=y +CONFIG_CRYPTO_LZO=y +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 +CONFIG_CONSOLE_LOGLEVEL_QUIET=15 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 +CONFIG_DEBUG_INFO=y +CONFIG_STRIP_ASM_SYMS=y +CONFIG_DEBUG_FS=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_PANIC_ON_OOPS=y +CONFIG_PANIC_TIMEOUT=10 +# CONFIG_SCHED_DEBUG is not set +# CONFIG_DEBUG_PREEMPT is not set +CONFIG_STACKTRACE=y +# CONFIG_FTRACE is not set +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE="console=ttyS2,115200n8 mem=32M@0x0 earlycon clk_ignore_unused" +CONFIG_CMDLINE_OVERRIDE=y diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig index 6b96844..ccaf507 100644 --- a/arch/mips/jz4740/Kconfig +++ b/arch/mips/jz4740/Kconfig @@ -16,6 +16,10 @@ config JZ4780_CI20 bool "MIPS Creator CI20" select MACH_JZ4780 +config X1000_CU1000 + bool "YSH & ATIL General Module CU1000" + select MACH_X1000 + endchoice config MACH_JZ4740 From patchwork Tue Nov 26 17:06:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262901 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F11D014ED for ; Tue, 26 Nov 2019 17:10:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D0A6820722 for ; Tue, 26 Nov 2019 17:10:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="UeW6zbS3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728501AbfKZRKI (ORCPT ); Tue, 26 Nov 2019 12:10:08 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25865 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727674AbfKZRKI (ORCPT ); Tue, 26 Nov 2019 12:10:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788058; cv=none; d=zohomail.com; s=zohoarc; b=N7XIzwE20+dK1fOPG2DThH4GKCHKn2z3gTgcdbpLfE91FXcyOAGhjLp1P/pW5p7f+TF3zApWEZCS6exKGuKX8jwqgtAu8JLn+JUh8Aq7dBmmr9fmbkaprpTKa2Zx6AnVZkufAjzTZImzx4nmxw3KwTaEUc6/3VNOYWvq3xYETCE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788058; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=NpFe2R5yfcuoPLJC02fMDmY5tfqV1t1IfsCwTKVYbY8=; b=mgLg6KKEC1Q0nie3Oe72yygqHJc5nGSpXmPX6ajTkHbg3kGmdXtQc/GlVdg8xzXyjoJ+1wrYkzQdCQ6czVeVI1do1YxyY/sFTYY+NZ3XfMg2KmaRFxNYhCBItAAxUkPv8TWpYflJr+gNWbxciqQLC04xXnigFTjHkiQLigCoOs0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=g42N+9ghrB6XyUJo5c4fm8+mdJX4naxyOKxqhASvnlVY4kt4LS3cFxHtUeAhQnpKMcyiiUs/Z/cT RPpxThhv7C2le/7UnYjDKC9aNvjmshieF/LAIQLch90yFZTAO9NM DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788058; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=NpFe2R5yfcuoPLJC02fMDmY5tfqV1t1IfsCwTKVYbY8=; b=UeW6zbS3VUEY35duXONpV+XVkXhleNJ9I01J7qWCMEeCol9g2acU7I9U47SJgAzu 8CotAl5XMW17IzZV9c+c+DimLbouBQR8rWPDCx3qXBLFNidXsxD/qlvQb1v1SFkotQY AhX2keOhaVwjJ6BW02VrOO4yjxgXFk3RIb3SKrTQ= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788058130843.0617838570272; Tue, 26 Nov 2019 09:07:38 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 5/6] MIPS: X1000: Add pdma controller DT node. Date: Wed, 27 Nov 2019 01:06:13 +0800 Message-Id: <1574787974-58040-6-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Add the appropriate DT node to probe the pdma controller driver using the devicetree. Signed-off-by: Zhou Yanjie --- Notes: v4: New patch. arch/mips/boot/dts/ingenic/x1000.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/x1000.dtsi b/arch/mips/boot/dts/ingenic/x1000.dtsi index 9e55edd..edfa70d 100644 --- a/arch/mips/boot/dts/ingenic/x1000.dtsi +++ b/arch/mips/boot/dts/ingenic/x1000.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include / { #address-cells = <1>; @@ -173,4 +174,16 @@ status = "disabled"; }; + + pdma: dma-controller@13420000 { + compatible = "ingenic,x1000-dma"; + reg = <0x13420000 0x400 + 0x13421000 0x40>; + #dma-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <10>; + + clocks = <&cgu X1000_CLK_PDMA>; + }; }; From patchwork Tue Nov 26 17:06:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 11262905 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8DAE14ED for ; Tue, 26 Nov 2019 17:10:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88DBA20722 for ; Tue, 26 Nov 2019 17:10:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=zoho.com header.i=zhouyanjie@zoho.com header.b="YZpyFUSY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728678AbfKZRKk (ORCPT ); Tue, 26 Nov 2019 12:10:40 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25885 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727674AbfKZRKj (ORCPT ); Tue, 26 Nov 2019 12:10:39 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574788068; cv=none; d=zohomail.com; s=zohoarc; b=oIQe1PY4vGRM9TPEiTAsrAkTfKIqjn4z22/azPgO0cxcz/PmbKxhs5o8yvy3Zdg6Wb4RprVWH6HI20x+B7wqh+RecwDBYdiCQzOUF6Dx5rOfShwEEchlJi+SyRsVbBJUtOzDWt9LRiKhjjDmloLsA8H4+wqXl6rxfvvxGsXEycM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574788068; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=yuMGxHMKAHxS16p3bQXnY0TEe3BCGLx/Srx8HskDs9w=; b=OowQ6wTM3xDrfvOEDclaYybFvKOFmnpLXn0FC7NscW+I1cuIHvsEFTz3UC5supkZkrKIRVvtO7hkbkq4ImHXF4FTq4hkCqA9cwo9wuuTsm5MDjnQGtnd3omNbjPJSNytp4U70n9MzBjia5xs9Ah8YlNDc3Sdz0QyOFZPI80GX4E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=JsqhkJb1VfBMYa/vBi5UQK814q1qIloFBFpCyufV1Tv1kXZ9ZqiSnFmLgu5OZlOc34ozDxPn9toj ij+9rIjE3qjxP9X2USgsaO8VgAYrzQnqNVS7yZILDQyA9DPw45MK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574788068; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; bh=yuMGxHMKAHxS16p3bQXnY0TEe3BCGLx/Srx8HskDs9w=; b=YZpyFUSYz08hsuTfrUsQrYV8aR6FSVqrVMoGpMEg5Y/BsYgCKqPpGvYs+CMEPWh0 roLGvak981ZWENIfkD75zSv7q5FG0j3B7ZfqGqgiQ6Rhu9kq3DsFob+hMueseA7mtOR isytNAOvVkuP7Ax1pZYdzRb9lg5isAeJbDVYRRUE= Received: from zhouyanjie-virtual-machine.localdomain (171.221.112.214 [171.221.112.214]) by mx.zohomail.com with SMTPS id 1574788067290799.8760784734405; Tue, 26 Nov 2019 09:07:47 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, jhogan@kernel.org, mripard@kernel.org, shawnguo@kernel.org, mark.rutland@arm.com, syq@debian.org, ralf@linux-mips.org, heiko@sntech.de, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, krzk@kernel.org, geert+renesas@glider.be, paul@crapouillou.net, prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com, 772753199@qq.com Subject: [PATCH v4 6/6] MIPS: CU1000: Update defconfig for pdma controller. Date: Wed, 27 Nov 2019 01:06:14 +0800 Message-Id: <1574787974-58040-7-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> References: <1574787974-58040-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Selected pdma controller support by default. Signed-off-by: Zhou Yanjie --- Notes: v4: New patch. arch/mips/configs/cu1000_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/cu1000_defconfig b/arch/mips/configs/cu1000_defconfig index 88729ee..9f26d00 100644 --- a/arch/mips/configs/cu1000_defconfig +++ b/arch/mips/configs/cu1000_defconfig @@ -62,6 +62,8 @@ CONFIG_GPIO_SYSFS=y # CONFIG_VGA_CONSOLE is not set # CONFIG_HID is not set # CONFIG_USB_SUPPORT is not set +CONFIG_DMADEVICES=y +CONFIG_DMA_JZ4780=y # CONFIG_IOMMU_SUPPORT is not set CONFIG_NVMEM=y CONFIG_NVMEM_SYSFS=y