[{"id":1759915,"web_url":"http://patchwork.ozlabs.org/comment/1759915/","msgid":"<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>","list_archive_url":null,"date":"2017-08-30T06:47:45","subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","submitter":{"id":20045,"url":"http://patchwork.ozlabs.org/api/people/20045/","name":"Jagan Teki","email":"jagannadh.teki@gmail.com"},"content":"On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n> From: Philipp Rossak <embed3d@gmail.com>\n>\n> The sun8i emac hardware is present on the Nanopi M1.\n> It uses the internal PHY.\n>\n> Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n> ---\n>  arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>  1 file changed, 11 insertions(+)\n>\n> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> index ec63d10..9c1c380 100644\n> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> @@ -55,6 +55,17 @@\n>         status = \"okay\";\n>  };\n>\n> +&emac {\n> +       phy = <&phy1>;\n> +       phy-mode = \"mii\";\n> +       allwinner,use-internal-phy;\n> +       allwinner,leds-active-low;\n> +       status = \"okay\";\n> +       phy1: ethernet-phy@1 {\n> +               reg = <1>;\n> +       };\n> +};\n\nWe usually sync Linux for dts changes and I've seen few patches on\nLinux, lets wait Linux to merge.\n\nthanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"F8n97Q3X\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhx0H6Jm5z9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 16:47:59 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 9C924C2273F; Wed, 30 Aug 2017 06:47:51 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 04854C22728;\n\tWed, 30 Aug 2017 06:47:49 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 60FF6C22728; Wed, 30 Aug 2017 06:47:47 +0000 (UTC)","from mail-lf0-f66.google.com (mail-lf0-f66.google.com\n\t[209.85.215.66])\n\tby lists.denx.de (Postfix) with ESMTPS id D34CAC22719\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 06:47:46 +0000 (UTC)","by mail-lf0-f66.google.com with SMTP id z12so1877680lfd.5\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 23:47:46 -0700 (PDT)","by 10.25.222.200 with HTTP; Tue, 29 Aug 2017 23:47:45 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=dUYk9W+yZNjK0Nzu7zJpUmhseMMCfSN8QNsM6yjMNag=;\n\tb=F8n97Q3XpRflB0cBaBqLrCVi3c1re5rg4mS1NvU8ejjFHOBh/yg+ByYJCyGch50M5/\n\tcyti5nz0ebwGYm2WWI7Q3HSe6ZxlZC91cmnPN64g4vrlghcdcZ2aRz9SM9aRisbZYZzV\n\toLFnQ3det0P7O+GC7aYF9kwNPjpjavH15HrY2ybliI0ISGxJAWzVxwGgybNFSoAyp2rU\n\tg9XQlRQ3A72pk6udz5eubdHwmkLT5OtIeEefuBOOHIQbbToi2cNs72Hw/v3IJ0b560v5\n\tDq/LBUSNbkC507C5Sqwn+zTOPsm4Cx6E+wovTg1D5deaCMBRhhx+YeIdSaKrbc8gXSgP\n\ti2zw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=dUYk9W+yZNjK0Nzu7zJpUmhseMMCfSN8QNsM6yjMNag=;\n\tb=AmGBeENyZuHYD9GceVTnUO2fLXJSWiQ0s+70TQxvREHHCVnaWavSPzl4iBkPioOUgu\n\tTZDxGhmHbYhYBijeKXOA09vyCTROGR2Tn9H83KheIl50nTPDiKBZT/N7SefDRUFJWJO4\n\tByrRUC9AmnPpE1cvnNRFxyq6BOge2SmIzSxPQkgCDCokPkOwy+q1Tq2BAQMq71Zh/5VF\n\tzu4BrKuB55xVt3ONNh7JfFIXtn6ee4eSwwu4XDZqpb/qgyS9J7YiO3Gfs6HuWiat+5jK\n\tP7CqZvKL1h7IKYH4brmJErx6B6YCcypQcM+hcbTj30egOp1K4hnTJIsPl8dh6bEburCx\n\t24Dw==","X-Gm-Message-State":"AHPjjUhfioCLbIzYaepjdRFbHERIKAj/Vq/Tyxt/PfcRc2jTLd4dvkeG\n\tStj2Hsnu4GqxrUhH22dtAofxN2q6IQ==","X-Received":"by 10.25.217.24 with SMTP id q24mr216816lfg.109.1504075666261;\n\tTue, 29 Aug 2017 23:47:46 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1504053161-27814-4-git-send-email-embed3d@gmail.com>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>","From":"Jagan Teki <jagannadh.teki@gmail.com>","Date":"Wed, 30 Aug 2017 12:17:45 +0530","Message-ID":"<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>","To":"Philipp Rossak <embed3d@gmail.com>","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1759972,"web_url":"http://patchwork.ozlabs.org/comment/1759972/","msgid":"<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>","list_archive_url":null,"date":"2017-08-30T09:10:20","subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","submitter":{"id":72018,"url":"http://patchwork.ozlabs.org/api/people/72018/","name":"Philipp Rossak","email":"embed3d@gmail.com"},"content":"Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n>> From: Philipp Rossak <embed3d@gmail.com>\n>>\n>> The sun8i emac hardware is present on the Nanopi M1.\n>> It uses the internal PHY.\n>>\n>> Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n>> ---\n>>   arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>>   1 file changed, 11 insertions(+)\n>>\n>> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> index ec63d10..9c1c380 100644\n>> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> @@ -55,6 +55,17 @@\n>>          status = \"okay\";\n>>   };\n>>\n>> +&emac {\n>> +       phy = <&phy1>;\n>> +       phy-mode = \"mii\";\n>> +       allwinner,use-internal-phy;\n>> +       allwinner,leds-active-low;\n>> +       status = \"okay\";\n>> +       phy1: ethernet-phy@1 {\n>> +               reg = <1>;\n>> +       };\n>> +};\n> \n> We usually sync Linux for dts changes and I've seen few patches on\n> Linux, lets wait Linux to merge.\n> \n> thanks!\n> \nOk thanks, I didn't know this.\n\nAre there also some plans to snyc the sun8i-dwmac driver?\nThe dt-binings related to the emac are right now different compared to \nlinux mainline.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Rd3SRDLf\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xj09F3pC0z9t2Q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 19:10:57 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 438F5C220FC; Wed, 30 Aug 2017 09:10:28 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E6BEEC227A2;\n\tWed, 30 Aug 2017 09:10:25 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D2128C2279F; Wed, 30 Aug 2017 09:10:24 +0000 (UTC)","from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 61414C227A2\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 09:10:24 +0000 (UTC)","by mail-wm0-f65.google.com with SMTP id e204so1096897wma.2\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 02:10:24 -0700 (PDT)","from [192.168.2.12] (p5B3DD0C2.dip0.t-ipconnect.de.\n\t[91.61.208.194]) by smtp.gmail.com with ESMTPSA id\n\t75sm1285267wmn.2.2017.08.30.02.10.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 02:10:23 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=QENDjllTU67k2NPiWGrwNNijvn5DeH3De8ONUYkXdNM=;\n\tb=Rd3SRDLfmojgmDDluOKbCAJ2PxrMALsqMNBBn9tWS59xuPcDY8eBhok/PTQy5s+1Ac\n\t2Bbh5cUIBGiwq7S11zOEOuKKGbGN7TVCELrf3+MDAyVXeL62WDtSM/sGFpmTfmQa28Rz\n\tV56J91z9bEqReTjQvzp3ztbyxUIkN84Z5WV1R47UF57tUVHVMcvlsJOI8gWRa6r0OLI+\n\tRligo715zi4ncNrjb25Fy1qUTJBy8+L7flZruutCcsCMtVMBDso/1JLptIfFbfx4TXH9\n\tvsfls0o8UEXSyTXAwlZ5UR+YwQgm4FpY202NY/xYN9IrNrzVxbo661ySw/gnsJXoTXAV\n\tGtLA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=QENDjllTU67k2NPiWGrwNNijvn5DeH3De8ONUYkXdNM=;\n\tb=bLK791pPQsPQkHrMgEhOiHZiL4jHBseKN2k6OyU1eUGRz6GYC6ux+TxqQCh3XxVsiL\n\teu1HTH9mTYb1zNwaqEs4bdZ3JVU8pbcaPmZxrXJuQodGfSJA52LHUKP6MkrMjfRmmK7h\n\toK8Xs1K7x1u4/MJsx3A8jATiEquyOjwCze8MC6o+i5cnDIg77RZMvm2khJeskFlEKQyL\n\tGyZpBWswLy1UgrjUbCqNf8jgtb+JUuNS+R5XcCBDQzF7ceCOmvFgZgzZ1DkhwGZJJpE2\n\tpjJi9sVzl1AqOe7W1AC4a2KbMDczTnqC1NTGZpA/yeQhhmMhRWaxhqVcw544uLERJ5l9\n\tz4eA==","X-Gm-Message-State":"AHYfb5ibBikFW1tFZV0fe1yunjcYStIiKode3vdr3sDtJWuxO9s4/Tq2\n\te1u2/29yx9Vldw==","X-Received":"by 10.28.189.139 with SMTP id n133mr963992wmf.45.1504084224029; \n\tWed, 30 Aug 2017 02:10:24 -0700 (PDT)","To":"Jagan Teki <jagannadh.teki@gmail.com>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>","From":"Philipp Rossak <embed3d@gmail.com>","Message-ID":"<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>","Date":"Wed, 30 Aug 2017 11:10:20 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>","Content-Language":"en-US","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tlinux-sunxi@googlegroups.com, \n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1760196,"web_url":"http://patchwork.ozlabs.org/comment/1760196/","msgid":"<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>","list_archive_url":null,"date":"2017-08-30T14:18:21","subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","submitter":{"id":20045,"url":"http://patchwork.ozlabs.org/api/people/20045/","name":"Jagan Teki","email":"jagannadh.teki@gmail.com"},"content":"On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak <embed3d@gmail.com> wrote:\n>\n>\n> Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n>>\n>> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n>>>\n>>> From: Philipp Rossak <embed3d@gmail.com>\n>>>\n>>> The sun8i emac hardware is present on the Nanopi M1.\n>>> It uses the internal PHY.\n>>>\n>>> Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n>>> ---\n>>>   arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>>>   1 file changed, 11 insertions(+)\n>>>\n>>> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>> b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>> index ec63d10..9c1c380 100644\n>>> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>> @@ -55,6 +55,17 @@\n>>>          status = \"okay\";\n>>>   };\n>>>\n>>> +&emac {\n>>> +       phy = <&phy1>;\n>>> +       phy-mode = \"mii\";\n>>> +       allwinner,use-internal-phy;\n>>> +       allwinner,leds-active-low;\n>>> +       status = \"okay\";\n>>> +       phy1: ethernet-phy@1 {\n>>> +               reg = <1>;\n>>> +       };\n>>> +};\n>>\n>>\n>> We usually sync Linux for dts changes and I've seen few patches on\n>> Linux, lets wait Linux to merge.\n>>\n>> thanks!\n>>\n> Ok thanks, I didn't know this.\n>\n> Are there also some plans to snyc the sun8i-dwmac driver?\n\nNo such plan as of now.\n\n> The dt-binings related to the emac are right now different compared to linux\n> mainline.\n\nYes, I saw others boards also not using Linux binding. May be we can\nproceed, let me review the patches.\n\nthanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"uw2Ctwyz\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xj70L0CZkz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 00:18:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A522EC22959; Wed, 30 Aug 2017 14:18:26 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A5747C22938;\n\tWed, 30 Aug 2017 14:18:24 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 100F4C22947; Wed, 30 Aug 2017 14:18:22 +0000 (UTC)","from mail-lf0-f68.google.com (mail-lf0-f68.google.com\n\t[209.85.215.68])\n\tby lists.denx.de (Postfix) with ESMTPS id A23E9C228FF\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 14:18:22 +0000 (UTC)","by mail-lf0-f68.google.com with SMTP id o124so4010622lfo.1\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 07:18:22 -0700 (PDT)","by 10.25.222.200 with HTTP; Wed, 30 Aug 2017 07:18:21 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=Jl5CXyMsKDDDBnVZx8Rj00z9OBRgiRHHHZ7oLuhzS2s=;\n\tb=uw2CtwyzVcsCpRI2npz4U+wrxW2znrY9yJqZLpy1O5EthzDjVho77J3XqOEJmRT5K5\n\t4foOGMrfpR0dGog00CZx8Uw2xgbkVic0A/aOjc8okk8qfoByWGxBQp3q/+gPMyKfMAus\n\tl0AG13HOLpBZ3Rt1ZH3+onkUIFJBpUIGw9QhqTqMmceukLYUcE10fMpxcyN9nLgRFGDh\n\tf5rDmF3jA4ljxUV6UkdskvvSoQLiunu3jDLSwGqLXUua+Ax3FyGrb50k4O2/qdY/E9m9\n\t+B0o1sld/FHY+1P9aHM4nh3HdUxrlpySn4B7DTEAC6LISlNtQ3wGMJBCNLHBpIF88S+X\n\tkFhA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=Jl5CXyMsKDDDBnVZx8Rj00z9OBRgiRHHHZ7oLuhzS2s=;\n\tb=QkDBYqcWoejWVZQ26b4WVcN7vDAwuveMoEvHr3F7EhqNgF4MOkRph42muvCi1jw17N\n\ttTkO7srS61E0G98Ez1NnyjzOZ3kGM8xOFgY2iQHdi3n28D4205CYoFx+9hrPTAcXdbCX\n\tvneyymlFTtq6ep3oFZgGjgzndp7EgYmxBeitJnVArvGNAqSBE4qlla8VAsNcgfFUcfs5\n\tbbxl8KhSOR0arpikUZYV/r7HkMiNev69icatm/qpssh3L7fmSMhNVQbYSkaHuXXJWHIf\n\tpNLK7Z8wvUO+KSgxA5g88rHFUOC0VPOwUBAhP3pTjd2z2JznexBCaZp2m250o15J9vwO\n\tBGGw==","X-Gm-Message-State":"AHPjjUi5PVStMszZUuxSQXum8zOJSwSQSOVvF2/rLT4SCWvsfAQc33rE\n\t9CdnzFTb+Ip7doMz956C58HjRrM5Wg==","X-Received":"by 10.25.23.233 with SMTP id 102mr779281lfx.45.1504102702042;\n\tWed, 30 Aug 2017 07:18:22 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>\n\t<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>","From":"Jagan Teki <jagannadh.teki@gmail.com>","Date":"Wed, 30 Aug 2017 19:48:21 +0530","Message-ID":"<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>","To":"Philipp Rossak <embed3d@gmail.com>","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tlinux-sunxi <linux-sunxi@googlegroups.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1760329,"web_url":"http://patchwork.ozlabs.org/comment/1760329/","msgid":"<1504103798.30330.1.camel@xff.cz>","list_archive_url":null,"date":"2017-08-30T14:36:38","subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","submitter":{"id":72259,"url":"http://patchwork.ozlabs.org/api/people/72259/","name":"Ondřej Jirman","email":"megi@xff.cz"},"content":"Hi,\n\nJagan Teki píše v St 30. 08. 2017 v 19:48 +0530:\n> On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak <embed3d@gmail.com> wrote:\n> > \n> > \n> > Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n> > > \n> > > On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n> > > > \n> > > > From: Philipp Rossak <embed3d@gmail.com>\n> > > > \n> > > > The sun8i emac hardware is present on the Nanopi M1.\n> > > > It uses the internal PHY.\n> > > > \n> > > > Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n> > > > ---\n> > > >   arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n> > > >   1 file changed, 11 insertions(+)\n> > > > \n> > > > diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> > > > b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> > > > index ec63d10..9c1c380 100644\n> > > > --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> > > > +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n> > > > @@ -55,6 +55,17 @@\n> > > >          status = \"okay\";\n> > > >   };\n> > > > \n> > > > +&emac {\n> > > > +       phy = <&phy1>;\n> > > > +       phy-mode = \"mii\";\n> > > > +       allwinner,use-internal-phy;\n> > > > +       allwinner,leds-active-low;\n> > > > +       status = \"okay\";\n> > > > +       phy1: ethernet-phy@1 {\n> > > > +               reg = <1>;\n> > > > +       };\n> > > > +};\n> > > \n> > > \n> > > We usually sync Linux for dts changes and I've seen few patches on\n> > > Linux, lets wait Linux to merge.\n> > > \n> > > thanks!\n> > > \n> > \n> > Ok thanks, I didn't know this.\n> > \n> > Are there also some plans to snyc the sun8i-dwmac driver?\n> \n> No such plan as of now.\n\nThere's apritzel's work on this in this branch:\n\nhttps://github.com/apritzel/u-boot/commits/a64-pending\n\n> > The dt-binings related to the emac are right now different compared to linux\n> > mainline.\n> \n> Yes, I saw others boards also not using Linux binding. May be we can\n> proceed, let me review the patches.\n> \n> thanks!\n> -- \n> Jagan Teki\n> Free Software Engineer | www.openedev.com\n> U-Boot, Linux | Upstream Maintainer\n> Hyderabad, India.\n>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tsecure) header.d=xff.cz header.i=@xff.cz header.b=\"ThArkBad\"; \n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjBJ02mwJz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 02:47:28 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 32208C223F9; Wed, 30 Aug 2017 16:45:45 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 74A8DC21F5C;\n\tWed, 30 Aug 2017 16:44:25 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 046E4C228D0; Wed, 30 Aug 2017 14:36:44 +0000 (UTC)","from megous.com (megous.com [195.181.215.36])\n\tby lists.denx.de (Postfix) with ESMTPS id C2054C22908\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 14:36:43 +0000 (UTC)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail;\n\tt=1504103803; bh=9wBEKBZHrAMMFcsfM85GhbVwQpJhkI1yDWEyCFcba6U=;\n\th=Subject:From:To:Cc:Date:In-Reply-To:References:From;\n\tb=ThArkBad65BdFuAftXLXokFmu7wmc3zpE7Lg3sNcujemx4KaBTTsxmTHXFAdTDjtD\n\tX7CCSGsbwOyvgytigBRpNFK5bcb9bqYsvkEGXljcAvMWRd4yPuxsRCsWN2ZKliXHml\n\tzwOFMA/NQXkbkagUt981v2f1qwSX9BbVbQK5nqdA=","Message-ID":"<1504103798.30330.1.camel@xff.cz>","From":"=?utf-8?q?Ond=C5=99ej?= Jirman <megi@xff.cz>","To":"jagannadh.teki@gmail.com, Philipp Rossak <embed3d@gmail.com>","Date":"Wed, 30 Aug 2017 16:36:38 +0200","In-Reply-To":"<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>\n\t<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>\n\t<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>","Mime-Version":"1.0","X-Mailman-Approved-At":"Wed, 30 Aug 2017 16:44:19 +0000","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tlinux-sunxi <linux-sunxi@googlegroups.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============4145206778023361586==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1760338,"web_url":"http://patchwork.ozlabs.org/comment/1760338/","msgid":"<CAD6G_RQZ+ypFU2rNDvOghYyNnGuPvaFXbEGQLDZ8wzmxZwmzPA@mail.gmail.com>","list_archive_url":null,"date":"2017-08-30T16:59:07","subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","submitter":{"id":20045,"url":"http://patchwork.ozlabs.org/api/people/20045/","name":"Jagan Teki","email":"jagannadh.teki@gmail.com"},"content":"On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman <megi@xff.cz> wrote:\n> Hi,\n>\n> Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530:\n>> On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak <embed3d@gmail.com> wrote:\n>> >\n>> >\n>> > Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n>> > >\n>> > > On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n>> > > >\n>> > > > From: Philipp Rossak <embed3d@gmail.com>\n>> > > >\n>> > > > The sun8i emac hardware is present on the Nanopi M1.\n>> > > > It uses the internal PHY.\n>> > > >\n>> > > > Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n>> > > > ---\n>> > > >   arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>> > > >   1 file changed, 11 insertions(+)\n>> > > >\n>> > > > diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> > > > b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> > > > index ec63d10..9c1c380 100644\n>> > > > --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> > > > +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>> > > > @@ -55,6 +55,17 @@\n>> > > >          status = \"okay\";\n>> > > >   };\n>> > > >\n>> > > > +&emac {\n>> > > > +       phy = <&phy1>;\n>> > > > +       phy-mode = \"mii\";\n>> > > > +       allwinner,use-internal-phy;\n>> > > > +       allwinner,leds-active-low;\n>> > > > +       status = \"okay\";\n>> > > > +       phy1: ethernet-phy@1 {\n>> > > > +               reg = <1>;\n>> > > > +       };\n>> > > > +};\n>> > >\n>> > >\n>> > > We usually sync Linux for dts changes and I've seen few patches on\n>> > > Linux, lets wait Linux to merge.\n>> > >\n>> > > thanks!\n>> > >\n>> >\n>> > Ok thanks, I didn't know this.\n>> >\n>> > Are there also some plans to snyc the sun8i-dwmac driver?\n>>\n>> No such plan as of now.\n>\n> There's apritzel's work on this in this branch:\n>\n> https://github.com/apritzel/u-boot/commits/a64-pending\n\nOK, thanks for the info\n\nthanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"JNOjCIlR\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjBZk5YHQz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 02:59:33 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid AADDAC226D3; Wed, 30 Aug 2017 16:59:14 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 06793C22170;\n\tWed, 30 Aug 2017 16:59:12 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6BE5BC21DD9; Wed, 30 Aug 2017 16:59:10 +0000 (UTC)","from mail-lf0-f48.google.com (mail-lf0-f48.google.com\n\t[209.85.215.48])\n\tby lists.denx.de (Postfix) with ESMTPS id C191DC21C62\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 16:59:08 +0000 (UTC)","by mail-lf0-f48.google.com with SMTP id z12so26807152lfd.3\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 09:59:08 -0700 (PDT)","by 10.25.222.200 with HTTP; Wed, 30 Aug 2017 09:59:07 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc:content-transfer-encoding;\n\tbh=828jIB5ANH5iPQ5BdLf7aDsvLiozXdxUXYmQuxekS58=;\n\tb=JNOjCIlRN2+7WHkAcga9HGLqRNv4hyGVrmC9IxuNw3ekZeq4iBytgZmli/YXu9DFuI\n\tIuQLf9J2d7aC8I9tbpK0367cJMyDepvki9/xwE0uoEyxrJI9pH3uUVwVZt6EXVQskRK/\n\twRzEt1iab5Mb1LxmQ2tp8rVx90TWX6/GmR7tWZM4whLfzr3/KqbjdQoNC1CNyN2AfV+w\n\t1K8pDQHBJO+hmKs00EuPWnkrBPXqBn3eyt2tRcNpDCbRYm9wREtqgtIX/Zbccrstbwrs\n\toz46D1dLBOsoAgeyYTFGQQ/b1pnEKmYEX7yys18mFzdqobFClEL37bABWkMWE/cfll4e\n\tCpbA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-transfer-encoding;\n\tbh=828jIB5ANH5iPQ5BdLf7aDsvLiozXdxUXYmQuxekS58=;\n\tb=OMyhr2W44rG32qflNQDuc3e7A3LPsO4Q+r/Q26AWWFdNtp4fO9cj66Ju07/RXKehDq\n\tH6B/tsm4hd+boii32M21RD2sOJzzFCkGJtWrvtw8dvo5BKAxL+S0/SBz1q0JlYw/Uluj\n\t6kz9PYJ1+wYhFtNL5q0G6nTLjQcvR+DeW6Z9IpWWS3Uht2KpTjIwb5vA3leK8wyMt8/D\n\tYlXK8bALbvNtwZ5z4BvAZ1ajEfkkTuXe3goM3iEnAcMhgPY0lGFTof47/dOIjtDFUeAE\n\tQXTiuAaB6X6S9YSraz6yAKxroDnFj2QOOsJcfCr48QF3MCV9ZKNF6wKOsc0ScSb/smud\n\tpO/A==","X-Gm-Message-State":"AHYfb5hJcEWbkTYqckaNfquUPiorEflQw+YOkp6QIfIEYOQnRuHmscJZ\n\tC/gDNoHX9rgyCPPx4+GOqkDsDD2R4Q==","X-Received":"by 10.46.84.18 with SMTP id i18mr977524ljb.137.1504112347974;\n\tWed, 30 Aug 2017 09:59:07 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1504103798.30330.1.camel@xff.cz>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>\n\t<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>\n\t<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>\n\t<1504103798.30330.1.camel@xff.cz>","From":"Jagan Teki <jagannadh.teki@gmail.com>","Date":"Wed, 30 Aug 2017 22:29:07 +0530","Message-ID":"<CAD6G_RQZ+ypFU2rNDvOghYyNnGuPvaFXbEGQLDZ8wzmxZwmzPA@mail.gmail.com>","To":"=?utf-8?q?Ond=C5=99ej_Jirman?= <megi@xff.cz>","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tlinux-sunxi <linux-sunxi@googlegroups.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1760564,"web_url":"http://patchwork.ozlabs.org/comment/1760564/","msgid":"<a8769f3a-824b-b580-30d5-a8cdf1253f0c@gmail.com>","list_archive_url":null,"date":"2017-08-30T23:10:29","subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","submitter":{"id":72018,"url":"http://patchwork.ozlabs.org/api/people/72018/","name":"Philipp Rossak","email":"embed3d@gmail.com"},"content":"On 30.08.2017 18:59, Jagan Teki wrote:\n> On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman <megi@xff.cz> wrote:\n>> Hi,\n>>\n>> Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530:\n>>> On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak <embed3d@gmail.com> wrote:\n>>>>\n>>>> Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n>>>>> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n>>>>>> From: Philipp Rossak <embed3d@gmail.com>\n>>>>>>\n>>>>>> The sun8i emac hardware is present on the Nanopi M1.\n>>>>>> It uses the internal PHY.\n>>>>>>\n>>>>>> Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n>>>>>> ---\n>>>>>>    arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>>>>>>    1 file changed, 11 insertions(+)\n>>>>>>\n>>>>>> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>> b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>> index ec63d10..9c1c380 100644\n>>>>>> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>> @@ -55,6 +55,17 @@\n>>>>>>           status = \"okay\";\n>>>>>>    };\n>>>>>>\n>>>>>> +&emac {\n>>>>>> +       phy = <&phy1>;\n>>>>>> +       phy-mode = \"mii\";\n>>>>>> +       allwinner,use-internal-phy;\n>>>>>> +       allwinner,leds-active-low;\n>>>>>> +       status = \"okay\";\n>>>>>> +       phy1: ethernet-phy@1 {\n>>>>>> +               reg = <1>;\n>>>>>> +       };\n>>>>>> +};\n>>>>>\n>>>>> We usually sync Linux for dts changes and I've seen few patches on\n>>>>> Linux, lets wait Linux to merge.\n>>>>>\n>>>>> thanks!\n>>>>>\n>>>> Ok thanks, I didn't know this.\n>>>>\n>>>> Are there also some plans to snyc the sun8i-dwmac driver?\n>>> No such plan as of now.\n>> There's apritzel's work on this in this branch:\n>>\n>> https://github.com/apritzel/u-boot/commits/a64-pending\n> OK, thanks for the info\n>\n> thanks!\nHow shoud we proceed with this patch series?\n\nMy linux mainline patches were rejected since the dwmac-sun8i bindings \nhave not stabilized yet:\nhttp://www.spinics.net/lists/kernel/msg2592861.html","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"TTTNMKfC\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjLpM0khLz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 09:10:49 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 83B27C21D90; Wed, 30 Aug 2017 23:10:36 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0B41AC21C41;\n\tWed, 30 Aug 2017 23:10:34 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 040C5C21C41; Wed, 30 Aug 2017 23:10:32 +0000 (UTC)","from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby lists.denx.de (Postfix) with ESMTPS id A38A3C21C26\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 23:10:31 +0000 (UTC)","by mail-wm0-f68.google.com with SMTP id x189so3234905wmg.4\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 16:10:31 -0700 (PDT)","from [192.168.2.53] (p5B3DD0C2.dip0.t-ipconnect.de.\n\t[91.61.208.194]) by smtp.gmail.com with ESMTPSA id\n\tw9sm3939223wre.58.2017.08.30.16.10.30\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 16:10:30 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-transfer-encoding:content-language; \n\tbh=m7ha010HkmUM3zHYK+cjE7Vl92s5Xfvgcs190mpxrL8=;\n\tb=TTTNMKfC1H/w6LwZc6MgoMSQW+G3/4/t06EACrCWv59Tc12WNtsUvEO1QSUoEoiKja\n\t3LmB3OPt3DScG4Z1SkscrOcLvBTakbe+7q0ksROQcqU9ao6r1HFuUH/rScm1jGGtdrkr\n\t2PycSUHGpBM08yXRVWFd2e9QlZPqkzkGoCc9i7VYqHP+cmtHr2mc9gjSZk/6tpTPpJ3y\n\tzHVmcdAwFXLDMICHbEriqtc6LZ60/02mXO6An8hp7GkyKkuQggjMU0xE+5cC15WFVO2/\n\ta+Q4fZZTvuf2JWiZKeTM3XWiYlfd3FahHhNgUHwW4mxb7jySykxmtexA6idL59h+LW1y\n\ttDbg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:cc:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-transfer-encoding\n\t:content-language;\n\tbh=m7ha010HkmUM3zHYK+cjE7Vl92s5Xfvgcs190mpxrL8=;\n\tb=ZFc8nuWkDiv+6r0OY02xFoSZviANLN25SHAr2JyYSp82X0MCWMyXFD2IQwNE0LlkjH\n\txNRh5HcrgZCbZYnr03pYF9vlkJrFn0Rjs3UcadaGWw71Ad06P+a6y0CBeJMnz9NpQQ+q\n\tAIOjxAxHwuu7YOcygBeYzmUGkF9BkPHRW+ErEeWLsHZ/N68o3IJ0yQjzOi0fvobMaUVy\n\tJLR7ppvnZHf+d0zDDBXIooZLP7TrFg0aeo8DTYbiTbT7Qf6Z6cmVu+9feIGDtQI3Vcf6\n\tOJF7M92TaDgoOoTlt0ryVU5Zd4hWq4P2wcf8BAGyx4oOeDt4t2gz2ToUHuwDq18d6/Kl\n\tv5Gg==","X-Gm-Message-State":"AHYfb5jyBhJrS22/MSbhS2Jj/kRzIlsHfet5NwVrixP/7EnxWfutNYVs\n\t1u+2X7e0r4cePA==","X-Received":"by 10.28.166.87 with SMTP id p84mr2149316wme.31.1504134631243;\n\tWed, 30 Aug 2017 16:10:31 -0700 (PDT)","To":"Jagan Teki <jagannadh.teki@gmail.com>, =?utf-8?q?Ond=C5=99ej_Jirman?=\n\t<megi@xff.cz>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>\n\t<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>\n\t<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>\n\t<1504103798.30330.1.camel@xff.cz>\n\t<CAD6G_RQZ+ypFU2rNDvOghYyNnGuPvaFXbEGQLDZ8wzmxZwmzPA@mail.gmail.com>","From":"Philipp Rossak <embed3d@gmail.com>","Message-ID":"<a8769f3a-824b-b580-30d5-a8cdf1253f0c@gmail.com>","Date":"Thu, 31 Aug 2017 01:10:29 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<CAD6G_RQZ+ypFU2rNDvOghYyNnGuPvaFXbEGQLDZ8wzmxZwmzPA@mail.gmail.com>","Content-Language":"en-US","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tlinux-sunxi <linux-sunxi@googlegroups.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1760597,"web_url":"http://patchwork.ozlabs.org/comment/1760597/","msgid":"<CAGb2v66qcOhPpwJR6w+--V0iiN-XeVCjH+-9W+1NTaxOLS1q=g@mail.gmail.com>","list_archive_url":null,"date":"2017-08-31T01:31:20","subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","submitter":{"id":47154,"url":"http://patchwork.ozlabs.org/api/people/47154/","name":"Chen-Yu Tsai","email":"wens@csie.org"},"content":"On Thu, Aug 31, 2017 at 7:10 AM, Philipp Rossak <embed3d@gmail.com> wrote:\n>\n>\n> On 30.08.2017 18:59, Jagan Teki wrote:\n>>\n>> On Wed, Aug 30, 2017 at 8:06 PM, Ondřej Jirman <megi@xff.cz> wrote:\n>>>\n>>> Hi,\n>>>\n>>> Jagan Teki píše v St 30. 08. 2017 v 19:48 +0530:\n>>>>\n>>>> On Wed, Aug 30, 2017 at 2:40 PM, Philipp Rossak <embed3d@gmail.com>\n>>>> wrote:\n>>>>>\n>>>>>\n>>>>> Am 30.08.2017 um 08:47 schrieb Jagan Teki:\n>>>>>>\n>>>>>> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d@gmail.com>\n>>>>>> wrote:\n>>>>>>>\n>>>>>>> From: Philipp Rossak <embed3d@gmail.com>\n>>>>>>>\n>>>>>>> The sun8i emac hardware is present on the Nanopi M1.\n>>>>>>> It uses the internal PHY.\n>>>>>>>\n>>>>>>> Signed-off-by: Philipp Rossak <embed3d@gmail.com>\n>>>>>>> ---\n>>>>>>>    arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++\n>>>>>>>    1 file changed, 11 insertions(+)\n>>>>>>>\n>>>>>>> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>>> b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>>> index ec63d10..9c1c380 100644\n>>>>>>> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>>> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts\n>>>>>>> @@ -55,6 +55,17 @@\n>>>>>>>           status = \"okay\";\n>>>>>>>    };\n>>>>>>>\n>>>>>>> +&emac {\n>>>>>>> +       phy = <&phy1>;\n>>>>>>> +       phy-mode = \"mii\";\n>>>>>>> +       allwinner,use-internal-phy;\n>>>>>>> +       allwinner,leds-active-low;\n>>>>>>> +       status = \"okay\";\n>>>>>>> +       phy1: ethernet-phy@1 {\n>>>>>>> +               reg = <1>;\n>>>>>>> +       };\n>>>>>>> +};\n>>>>>>\n>>>>>>\n>>>>>> We usually sync Linux for dts changes and I've seen few patches on\n>>>>>> Linux, lets wait Linux to merge.\n>>>>>>\n>>>>>> thanks!\n>>>>>>\n>>>>> Ok thanks, I didn't know this.\n>>>>>\n>>>>> Are there also some plans to snyc the sun8i-dwmac driver?\n>>>>\n>>>> No such plan as of now.\n>>>\n>>> There's apritzel's work on this in this branch:\n>>>\n>>> https://github.com/apritzel/u-boot/commits/a64-pending\n>>\n>> OK, thanks for the info\n>>\n>> thanks!\n>\n> How shoud we proceed with this patch series?\n>\n> My linux mainline patches were rejected since the dwmac-sun8i bindings have\n> not stabilized yet:\n> http://www.spinics.net/lists/kernel/msg2592861.html\n\nYou should wait until the bindings have stabilized, then resync the dts\nfiles from Linux to U-boot, and fix up the driver to support the new\nbindings.\n\nChenYu","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjPxD2QCWz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 11:32:00 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 01134C21D09; Thu, 31 Aug 2017 01:31:54 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 48681C21C39;\n\tThu, 31 Aug 2017 01:31:52 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid F0981C21C39; Thu, 31 Aug 2017 01:31:51 +0000 (UTC)","from smtp.csie.ntu.edu.tw (smtp.csie.ntu.edu.tw [140.112.30.61])\n\tby lists.denx.de (Postfix) with ESMTPS id 30A2CC21C26\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 01:31:50 +0000 (UTC)","from mail-wm0-f46.google.com (mail-wm0-f46.google.com\n\t[74.125.82.46])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits))\n\t(No client certificate requested) (Authenticated sender: b93043)\n\tby smtp.csie.ntu.edu.tw (Postfix) with ESMTPSA id ABCD020311\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 09:31:44 +0800 (CST)","by mail-wm0-f46.google.com with SMTP id 187so11108085wmn.1\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 18:31:44 -0700 (PDT)","by 10.223.133.253 with HTTP; Wed, 30 Aug 2017 18:31:20 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","X-Gm-Message-State":"AHPjjUhD2e4d53FxMtBAL25sAaodyZqHwS0QjuESyeTvQfRcLh0l/1w4\n\t89o//IASGew6f7Ub5wh5T8mBtAya0g==","X-Google-Smtp-Source":"ADKCNb6375/0Dvnt7Ax80RFeOJwxyDJFJPm+gfhmQROArp8cvOh6gGWguG3HOyW4psof0cis/bNobWRagpWOK+cKadI=","X-Received":"by 10.28.158.142 with SMTP id h136mr205950wme.61.1504143101234; \n\tWed, 30 Aug 2017 18:31:41 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<a8769f3a-824b-b580-30d5-a8cdf1253f0c@gmail.com>","References":"<1504053161-27814-1-git-send-email-embed3d@gmail.com>\n\t<1504053161-27814-4-git-send-email-embed3d@gmail.com>\n\t<CAD6G_RQJDN+D_LQ3-8WHvDfc7-VSKvZc2Nc6v1iuObe5x1+UTg@mail.gmail.com>\n\t<422ebcc8-7add-9923-4a78-41ba305c6039@gmail.com>\n\t<CAD6G_RQeaJsVTvEJ6U4GvteBw8KSY1pjZGkbb0wiPvPFouGVdg@mail.gmail.com>\n\t<1504103798.30330.1.camel@xff.cz>\n\t<CAD6G_RQZ+ypFU2rNDvOghYyNnGuPvaFXbEGQLDZ8wzmxZwmzPA@mail.gmail.com>\n\t<a8769f3a-824b-b580-30d5-a8cdf1253f0c@gmail.com>","From":"Chen-Yu Tsai <wens@csie.org>","Date":"Thu, 31 Aug 2017 09:31:20 +0800","X-Gmail-Original-Message-ID":"<CAGb2v66qcOhPpwJR6w+--V0iiN-XeVCjH+-9W+1NTaxOLS1q=g@mail.gmail.com>","Message-ID":"<CAGb2v66qcOhPpwJR6w+--V0iiN-XeVCjH+-9W+1NTaxOLS1q=g@mail.gmail.com>","To":"Philipp Rossak <embed3d@gmail.com>","Cc":"Albert ARIBAUD <albert.u.boot@aribaud.net>, \"u-boot@lists.denx.de\"\n\t<u-boot@lists.denx.de>,  linux-sunxi <linux-sunxi@googlegroups.com>,\n\t=?utf-8?q?Ond=C5=99ej_Jir?= =?utf-8?q?man?= <megi@xff.cz>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: dts: added emac\n\tnode for nanopi m1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]