Received: by 10.223.185.116 with SMTP id b49csp1051464wrg; Wed, 21 Feb 2018 11:13:31 -0800 (PST) X-Google-Smtp-Source: AH8x224HNWe/HjOuqmyfI6W3/Rcho8YbgiVqsq3P7Bkd7/hAvr0EPCZU+/RufCOKYBAoZvZ7RaTa X-Received: by 10.99.115.73 with SMTP id d9mr3608497pgn.354.1519240411168; Wed, 21 Feb 2018 11:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519240411; cv=none; d=google.com; s=arc-20160816; b=EQ7ntop9gqclF+iMoftpqsJtjLVUf0pss5v3vrtipHBUd4OzH2wc0fJpDG6vHqwBt2 V2BFbVt9yz9Nn0jhhs3uOd2DVAsDrZ4/nF0CAXs9WSBOvYzb/uBUkHrV7vKZrEJ2p5ch 2umM1OJccNJzhy78fq1L1LVK2iawS6Iwr3K2EpSblCACwNTfOOe3bj2x/szbOF1CTrFr Ihsz4ZO6cBl2ImwUsCUz0Jqg8UWjwedUAGSM618/O3Nzh9mBCucVGPxGpz0A0+rUaVav xPDC+GZyvsYbhHYov/8foIVvSS1YsqsnOy+2aAeBxU9Kj32MAEaUXP9xqR4+uWgh704M uYXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject :dkim-signature:arc-authentication-results; bh=eHpsDk1T9FVvMaOfqZrYYKNcsUdjDsm5w2La0Od3Suk=; b=I07NxsJsDph/Nui9M7zHIVpA3pG1AwkDqZXZLcRf5e2UOgeyjypHLdHC97JpRJbF2T 0UC5lwYh5E4WIkypsFyafXPp1V7vm+IGRBoDETqDT5CIX2e6Mzc4DMoZ+0J49isY8A1q wiH9iHKJN1GgxZPCPNSwb6q+BLIJpUe9VyJ7VxfmF8YCVh8Da0hpwd3RwbaIzEnlqdf4 8MSQPgpsm3FdXe9ep3HYnc8v03EmmBnEov+S0DOsh3crIksoWENt0mmttRy4XKKPLr38 9lrtb6z9gqjXBu2NTXidcQIuAwIgTuie8WGiASYhgLEUZbMhravlmffHPQONN18+j2Rg XCWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=yEDB/yQB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si2676231pgf.570.2018.02.21.11.13.17; Wed, 21 Feb 2018 11:13:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=yEDB/yQB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938380AbeBURyA (ORCPT + 99 others); Wed, 21 Feb 2018 12:54:00 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:41141 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938322AbeBURx5 (ORCPT ); Wed, 21 Feb 2018 12:53:57 -0500 Received: by mail-lf0-f67.google.com with SMTP id m69so3567195lfe.8 for ; Wed, 21 Feb 2018 09:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eHpsDk1T9FVvMaOfqZrYYKNcsUdjDsm5w2La0Od3Suk=; b=yEDB/yQBvB2ztnCgGyEStnZn4t0+Gqtmy3KBRoAt0tyv9nnut2YpKv1PcSQuSOBerM FKJ594DZsnTaVDOLlaOIsLLRmOtlkIkTI9XaEZ2/I70KFQk55rRBSBiA3UxO1cvL7lcn jAgIJUJ85/FRosZHvjPURcy+bzXgeGT0UI31afUuvPg5QNZ0xkA3Pi6+JoghcVYoOjv+ gpA/TMxnDCwS86kcK7gWMNkaLY95FFZ5U0zhsY+uJxiwkMIiZ6nAygybASr+rTQMIY6h eWmDctdDaMZrltAjR7a+m+G7kOIwlfF+UoGZfDIBOkeadWC/2hn5BnmLBA3V765/4uw7 ZylQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=eHpsDk1T9FVvMaOfqZrYYKNcsUdjDsm5w2La0Od3Suk=; b=kVYmPFFXdvEi3Q/vO3MMLh7YL1KCRA2BCox5BXXCGFcEpbb5i5pPb3WuogALXGJ1K5 ZN6t6jw2MAUVwFBHTLDzttTR8jnAl3xjJb5Hj7ZiahW9v/xifkSbSuO2Qm2riNQpI9mA YnyJZmc0b7az0nUH6HQr9Me86IxFOMOEmHvRFp+Bro/ftmFgd0WrPlWX3FOU/sPNEc0u uEZ3pBVGSVZJynEjQcgJwKxhsKliHxkXf8Fflqwa0RJQW6Pcw6SK6ktTT37yXnEovQBY qveZZ5Kn5floH5zGw5/eWlzAdFWn8ohwl/wHTa6zkklHEr+ALXCTKars0GK89yfCcamU 5Htg== X-Gm-Message-State: APf1xPCZd2TMm+/kWSBGGyBpjxY6Q5wJ4XMKMY2Kpv+95WLg2NfibFe+ beUgRswD+lqR3opbxkbTrXzZ4lPgjuw= X-Received: by 10.25.42.81 with SMTP id f78mr3248553lfl.100.1519235635652; Wed, 21 Feb 2018 09:53:55 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.86.186]) by smtp.gmail.com with ESMTPSA id l27sm2669030lfk.75.2018.02.21.09.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 09:53:55 -0800 (PST) Subject: Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node From: Sergei Shtylyov To: Simon Horman Cc: jacopo mondi , Jacopo Mondi , geert@linux-m68k.org, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-20-git-send-email-jacopo+renesas@jmondi.org> <20180221100716.GF7203@w540> <20180221173106.vgyshbz3kkc4p3cu@verge.net.au> <321c6c8c-8853-ac00-7567-c0be82b510f4@cogentembedded.com> Organization: Cogent Embedded Message-ID: <35959135-cb3b-040a-1944-26845e0c07b0@cogentembedded.com> Date: Wed, 21 Feb 2018 20:53:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <321c6c8c-8853-ac00-7567-c0be82b510f4@cogentembedded.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/21/2018 08:38 PM, Sergei Shtylyov wrote: >>>>>> Populate the ethernet@e6800000 device node to enable Ethernet interface >>>>>> for R-Car M3-N (r8a77965) SoC. >>>>>> >>>>>> Signed-off-by: Jacopo Mondi >>>>>> Reviewed-by: Geert Uytterhoeven >>>>>> >>>>>> --- >>>>>> v1 -> v2: >>>>>> - Replace ALWAYS_ON power area identifier with numeric constant >>>>>> --- >>>>>> arch/arm64/boot/dts/renesas/r8a77965.dtsi | 43 ++++++++++++++++++++++++++++++- >>>>>> 1 file changed, 42 insertions(+), 1 deletion(-) >>>>>> >>>>>> diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi >>>>>> index 55f05f7..c249895 100644 >>>>>> --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi >>>>>> +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi >>>>>> @@ -520,7 +520,48 @@ >>>>>> }; >>>>>> >>>>>> avb: ethernet@e6800000 { >>>>>> - /* placeholder */ >>>>>> + compatible = "renesas,etheravb-r8a77965", >>>>>> + "renesas,etheravb-rcar-gen3"; >>>>>> + reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; >>>>>> + interrupts = , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + , >>>>>> + ; >>>>>> + interrupt-names = "ch0", "ch1", "ch2", "ch3", >>>>>> + "ch4", "ch5", "ch6", "ch7", >>>>>> + "ch8", "ch9", "ch10", "ch11", >>>>>> + "ch12", "ch13", "ch14", "ch15", >>>>>> + "ch16", "ch17", "ch18", "ch19", >>>>>> + "ch20", "ch21", "ch22", "ch23", >>>>>> + "ch24"; >>>>>> + clocks = <&cpg CPG_MOD 812>; >>>>>> + power-domains = <&sysc 32>; >>>>>> + resets = <&cpg 812>; >>>>>> + phy-mode = "rgmii-txid"; >>>>> >>>>> Why not just "rgmii"? TX delay is a board specific detail, no? >>>>> >>>> I admit I took this one straight from r8a7796 dtsi. >>>> Would you like to me resend and change this? >>> >>> Yes, unless Simon would fix it while merging... >> >> Can I confirm the desired change is s/rgmii-txid/rgmii/ ? > > Yes. Apparently that means that this prop should be overridden in the board file (which may not be an easy task given the board is Salvator-XS again). [...] MBR, Sergei