linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: zhouyanjie <zhouyanjie@wanyeetech.com>
To: Paul Cercueil <paul@crapouillou.net>
Cc: linux-mips@vger.kernel.org, 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,
	ebiederm@xmission.com, ralf@linux-mips.org, heiko@sntech.de,
	icenowy@aosc.io, laurent.pinchart@ideasonboard.com,
	krzk@kernel.org, geert+renesas@glider.be,
	prasannatsmkumar@gmail.com, sernia.zhou@foxmail.com,
	zhenwenjin@gmail.com, 772753199@qq.com
Subject: Re: [PATCH v7 6/6] MIPS: CU1000: Add devicetree & config with PDMA/MSC/RTC/WDT/NET enabled.
Date: Tue, 10 Dec 2019 09:30:42 +0800	[thread overview]
Message-ID: <5DEEF542.2000503@wanyeetech.com> (raw)
In-Reply-To: <1575904048.3.2@crapouillou.net>

Hi Paul,

On 2019年12月09日 23:07, Paul Cercueil wrote:
> Hi Zhou,
>
> You modify here in patch [06/06] two files that were introduced in 
> [04/06]. Just merge the two patches into one then, and make it last in 
> the patchset.
>

Sure, I will merge the two patches in v8.

Thanks and best regards!

> -Paul
>
>
> Le lun., déc. 9, 2019 at 21:00, 周琰杰 (Zhou Yanjie) 
> <zhouyanjie@wanyeetech.com> a écrit :
>> Add the CU1000 Neo devicetree and defconfig with PDMA, MMC, RTC, WDT
>> and NET enabled.
>>
>> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
>> ---
>>
>> Notes:
>>     v7:
>>     New patch, merge[06/12],[08/12],[10/12],[12/12] in v6.
>>
>>  arch/mips/boot/dts/ingenic/cu1000-neo.dts | 47 
>> +++++++++++++++++++++++++++++++
>>  arch/mips/configs/cu1000-neo_defconfig    | 17 +++++++++--
>>  2 files changed, 62 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/mips/boot/dts/ingenic/cu1000-neo.dts 
>> b/arch/mips/boot/dts/ingenic/cu1000-neo.dts
>> index 6f1a7e9..b0733da 100644
>> --- a/arch/mips/boot/dts/ingenic/cu1000-neo.dts
>> +++ b/arch/mips/boot/dts/ingenic/cu1000-neo.dts
>> @@ -43,10 +43,57 @@
>>      status = "okay";
>>  };
>>
>> +&mac {
>> +    phy-mode = "rmii";
>> +    phy-handle = <&lan8720a>;
>> +
>> +    pinctrl-names = "default";
>> +    pinctrl-0 = <&pins_mac>;
>> +
>> +    snps,reset-gpio = <&gpc 23 GPIO_ACTIVE_LOW>; /* PC23 */
>> +    snps,reset-active-low;
>> +    snps,reset-delays-us = <0 10000 30000>;
>> +
>> +    status = "okay";
>> +};
>> +
>> +&mdio {
>> +    status = "okay";
>> +
>> +    lan8720a: ethernet-phy@0 {
>> +        compatible = "ethernet-phy-id0007.c0f0", 
>> "ethernet-phy-ieee802.3-c22";
>> +        reg = <0>;
>> +    };
>> +};
>> +
>> +&msc0 {
>> +    bus-width = <8>;
>> +    max-frequency = <50000000>;
>> +
>> +    pinctrl-names = "default";
>> +    pinctrl-0 = <&pins_msc0>;
>> +
>> +    non-removable;
>> +
>> +    status = "okay";
>> +};
>> +
>>  &pinctrl {
>>      pins_uart2: uart2 {
>>          function = "uart2";
>>          groups = "uart2-data-d";
>>          bias-disable;
>>      };
>> +
>> +    pins_mac: mac {
>> +        function = "mac";
>> +        groups = "mac";
>> +        bias-disable;
>> +    };
>> +
>> +    pins_msc0: msc0 {
>> +        function = "mmc0";
>> +        groups = "mmc0-1bit", "mmc0-4bit", "mmc0-8bit";
>> +        bias-disable;
>> +    };
>>  };
>> diff --git a/arch/mips/configs/cu1000-neo_defconfig 
>> b/arch/mips/configs/cu1000-neo_defconfig
>> index 4fafe92..9f988ed 100644
>> --- a/arch/mips/configs/cu1000-neo_defconfig
>> +++ b/arch/mips/configs/cu1000-neo_defconfig
>> @@ -16,8 +16,6 @@ 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
>> @@ -35,11 +33,17 @@ CONFIG_HZ_100=y
>>  # CONFIG_COMPACTION is not set
>>  CONFIG_CMA=y
>>  CONFIG_CMA_AREAS=7
>> +CONFIG_NET=y
>> +CONFIG_UNIX=y
>> +CONFIG_INET=y
>>  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_NETDEVICES=y
>> +CONFIG_STMMAC_ETH=y
>> +CONFIG_SMSC_PHY=y
>>  # CONFIG_INPUT_MOUSEDEV is not set
>>  # CONFIG_INPUT_KEYBOARD is not set
>>  # CONFIG_INPUT_MOUSE is not set
>> @@ -55,17 +59,26 @@ CONFIG_SERIAL_8250_INGENIC=y
>>  CONFIG_SERIAL_OF_PLATFORM=y
>>  # CONFIG_HW_RANDOM is not set
>>  CONFIG_GPIO_SYSFS=y
>> +CONFIG_WATCHDOG=y
>> +CONFIG_JZ4740_WDT=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_MMC=y
>> +CONFIG_MMC_JZ4740=y
>> +CONFIG_RTC_CLASS=y
>> +CONFIG_RTC_DRV_JZ4740=y
>> +CONFIG_DMADEVICES=y
>> +CONFIG_DMA_JZ4780=y
>>  # CONFIG_IOMMU_SUPPORT is not set
>>  CONFIG_NVMEM=y
>>  CONFIG_NVMEM_SYSFS=y
>>  CONFIG_EXT4_FS=y
>>  # CONFIG_DNOTIFY is not set
>> +CONFIG_AUTOFS_FS=y
>>  CONFIG_PROC_KCORE=y
>>  # CONFIG_PROC_PAGE_MONITOR is not set
>>  CONFIG_TMPFS=y
>> -- 
>> 2.7.4
>>
>


      reply	other threads:[~2019-12-10  1:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 13:00 Add initial support for Ingenic X1000 SoC and Y&A CU Neo board v7 周琰杰 (Zhou Yanjie)
2019-12-09 13:00 ` [PATCH v7 1/6] MIPS: Ingenic: Initial X1000 support 周琰杰 (Zhou Yanjie)
2019-12-09 13:00 ` [PATCH v7 2/6] dt-bindings: Document yna vendor-prefix 周琰杰 (Zhou Yanjie)
2019-12-09 13:00 ` [PATCH v7 3/6] dt-bindings: MIPS: Add Ingenic XBurst based boards 周琰杰 (Zhou Yanjie)
2019-12-09 13:00 ` [PATCH v7 4/6] MIPS: Ingenic: Initial YSH & ATIL CU Neo board support 周琰杰 (Zhou Yanjie)
2019-12-09 13:00 ` [PATCH v7 5/6] MIPS: X1000: Add missing X1000 nodes 周琰杰 (Zhou Yanjie)
2019-12-09 15:15   ` Paul Cercueil
2019-12-10  1:27     ` zhouyanjie
2019-12-09 13:00 ` [PATCH v7 6/6] MIPS: CU1000: Add devicetree & config with PDMA/MSC/RTC/WDT/NET enabled 周琰杰 (Zhou Yanjie)
2019-12-09 15:07   ` Paul Cercueil
2019-12-10  1:30     ` zhouyanjie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5DEEF542.2000503@wanyeetech.com \
    --to=zhouyanjie@wanyeetech.com \
    --cc=772753199@qq.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ebiederm@xmission.com \
    --cc=geert+renesas@glider.be \
    --cc=heiko@sntech.de \
    --cc=icenowy@aosc.io \
    --cc=jhogan@kernel.org \
    --cc=krzk@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mripard@kernel.org \
    --cc=paul.burton@mips.com \
    --cc=paul@crapouillou.net \
    --cc=paulburton@kernel.org \
    --cc=prasannatsmkumar@gmail.com \
    --cc=ralf@linux-mips.org \
    --cc=robh+dt@kernel.org \
    --cc=sernia.zhou@foxmail.com \
    --cc=shawnguo@kernel.org \
    --cc=zhenwenjin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).