Received: by 10.223.185.116 with SMTP id b49csp1923573wrg; Thu, 22 Feb 2018 05:29:52 -0800 (PST) X-Google-Smtp-Source: AH8x225FQDD3+XaPEiwjy9i+8oodKgaOJ+7OY3TgeAz5Q4VVmw/qSyWcb28Y161KZSIi89vvd/3h X-Received: by 2002:a17:902:ab8c:: with SMTP id f12-v6mr6177308plr.171.1519306192626; Thu, 22 Feb 2018 05:29:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519306192; cv=none; d=google.com; s=arc-20160816; b=Calj8jaDSWLSfBUM7tYhGXgTg4qVGHwFzx2FZ3cMEC1ZGY12lbi12QPtZRz9TYcLha v+YPIIAgLjwvQkRVQmIzJjMDP5D30m8JwQnKh5S5JwD8mzq5k+yaVhu6+Ar2zkIyYemI LjJkltmXlLOQOFKuxlXePp8zH9Cx7Qqulzr+tLLy6UxQJ049teYZZHqJx2sSFbBRnYYJ AWK8WhJEncEnCOCZHXSYziJsKMo+8Naj7AOFQ5YK3IGGwisR6aYTS6hWBaLxGlkJIo5Q GEat3PgoYk+7UIINB9IYuZMELDYsoI21/tRbrO7lRJAZsub2sYniCZ6BMvV4hSBzqZGd 2Ihw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=lTPFtzsv1yjQ+wNClM+BKe8j3nXNg6iKQmQcr5mRLD0=; b=Klpscmu5uznTn29Xs0r2k7XUASOq6HcjTdJjZWyhzbhrkiCt0P3HY78Ye2Nl80E6Bw +gIQlyUMzhz+1SagPL61AW3SY43PYPzllW+ysabC+LMVzV/lG4rPZw4Ath111CQAS347 K073GARIntjM/IPceHQ+y/WecP1dxhzhm8iCKIXZIqbxONPNKKoQXHQy4OCjatgu4QFD ixSEN8wu0dO2XhHOt6x+rx7EFSNdv/a67QNx92FmNDVtwsd7QCwb/r0W/kKVWohHsg4m dBAGjbbTU1oJH+cQ0Vvt7xxWd4aLs3mtwuEvuaknzzFwn5qujuOGJh7zx25k//gnv+5o /7Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZhguoyLH; 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 t190si57751pfb.231.2018.02.22.05.29.37; Thu, 22 Feb 2018 05:29:52 -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=fail header.i=@gmail.com header.s=20161025 header.b=ZhguoyLH; 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 S932573AbeBVN2u (ORCPT + 99 others); Thu, 22 Feb 2018 08:28:50 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:40244 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932544AbeBVN2s (ORCPT ); Thu, 22 Feb 2018 08:28:48 -0500 Received: by mail-qt0-f196.google.com with SMTP id c19so6238250qtm.7; Thu, 22 Feb 2018 05:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lTPFtzsv1yjQ+wNClM+BKe8j3nXNg6iKQmQcr5mRLD0=; b=ZhguoyLHsNcghDTxtBqLbzThR2AJMOPDFzHfuFOp2hir9N22GsefvSB3TM4YODl7W2 JKmGn2TVa9vFQH5PetITrJau8RYZM9qYNXGm179zdDFSIWAVPbhdwDnrZz5KtNZ4dikc xIFDQt/59w6zVwkmInF/a87rO6kEh+iH2Eq9SZA4mT4d1YHH3avX6yg4c2KKVOVv+z2t bLwfuAFAJ+184SYff4gsCg3BsDeRyZGnNUs+JTcfjcFIYf4WO357NtNdBQYGg/jz3KLM u95uwRF7KgHTXE9n2nEdBx9rPC0x1Ur1pI3dmMEJsNf+DlcoKAzap7OZZa4MOIsdGSgx /9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lTPFtzsv1yjQ+wNClM+BKe8j3nXNg6iKQmQcr5mRLD0=; b=RJdz1yJ12slr6mj5s9tH1iUJxFA5JwFBOl1HjXpYVctzvvR1O2XQ6T1FV0hTdJC9MC /aUaXMJ517n8R7acB9kpW8M+rMVwmkKWcje97hD1srzGie+j9m6d/UUtK6iwfoMOWXvb km3BxK6kEiHzfVkntAiIwE+n9McTBQl6ER21u6IDqucZECEEUeTAn07qpoTpXFwD+OqL bbfXALBjbEK0m6VeIBSC8BodKXeZD6xM4u1sKrYdVQejy/sSRqNKFt80TCxL6Xce42t6 WoPv4dnzS3YLLyHI800BMHS/nMbI3pyuATyZE8I/IVZwhvrIXP5XictCY6Uas+1rlCDZ AWZA== X-Gm-Message-State: APf1xPB8hwq6OUm7SWZSnlTGc2vOxw07YefusnrA4hRjaPOz6H49M51j NcN9UtDm8HF6PTN4koaEMENYDAi5G5uWNxyqNBg= X-Received: by 10.200.27.2 with SMTP id y2mr11180755qtj.161.1519306127173; Thu, 22 Feb 2018 05:28:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Thu, 22 Feb 2018 05:28:46 -0800 (PST) In-Reply-To: References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-10-git-send-email-jacopo+renesas@jmondi.org> <20180221171504.dac7yikrqfnjiiog@verge.net.au> From: Geert Uytterhoeven Date: Thu, 22 Feb 2018 14:28:46 +0100 X-Google-Sender-Auth: -QyQ5Olgo0fkCRqjCfYxkg17NOA Message-ID: Subject: Re: [PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support To: Arnd Bergmann Cc: Simon Horman , Jacopo Mondi , Magnus Damm , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , Linux-Renesas , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Thu, Feb 22, 2018 at 12:39 PM, Arnd Bergmann wrote: > On Wed, Feb 21, 2018 at 6:15 PM, Simon Horman wrote: >> On Tue, Feb 20, 2018 at 04:46:23PM +0100, Geert Uytterhoeven wrote: >>> On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: >>> > Add basic support for R-Car Salvator-X M3-N (R8A77965) board. >>> > >>> > Based on original work from: >>> > Takeshi Kihara >>> > Magnus Damm >>> > >>> > Signed-off-by: Jacopo Mondi >>> >>> Reviewed-by: Geert Uytterhoeven >> >> Thanks, applied with prefix updated to >> >> "arm64: dts: renesas:" >> >> There was some fuzz applying this patch, the result is as follows. >> >> From: Jacopo Mondi >> Subject: [PATCH] arm64: dts: renesas: Add R-Car Salvator-x M3-N support >> >> Add basic support for R-Car Salvator-X M3-N (R8A77965) board. >> >> Based on original work from: >> Takeshi Kihara >> Magnus Damm >> >> Signed-off-by: Jacopo Mondi >> Reviewed-by: Geert Uytterhoeven > > Something went wrong with this patch, I suspect it's missing some prerequisites > that fill in a few more device nodes to avoid these warnings in linux-next: > > arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning > (reg_format): "reg" property in /soc/ethernet@e6800000/ethernet-phy@0 > has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) [...] > Maybe just take out the patch adding the .dts file for the time being until > the important nodes are all in place? Removing the .dts file removes the ability to boot the newly added board... The issue here is that we are sharing board .dtsi for boards that can be equipped with different pin-compatible SiPs (Ri-Car H3, M3-W, M3-N), while not all SoC support has been enabled and/or tested. As the board .dtsi references on-SoC devices using phandles, the new r8a77965.dtsi declares placeholders for the devices that are not yet enabled/tested. This worked fine for r8a7796.dtsi before, but causes dtc warnings due to recent improvements in DT validation. I think the simplest way to fix this is to add reg properties to the placeholders, as Simon did for the last two placeholders in r8a7796.dtsi in commit 4316989537a6ed53 ("arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes"). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds