Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1566081pxv; Fri, 16 Jul 2021 12:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwgcnZ0FQzwzA/u5hEXy1UaQ3m7lI9nlzgGmsZuiZgrrM6waM8K/HvKbr8IIYW0+faF+lm X-Received: by 2002:a6b:db18:: with SMTP id t24mr8701010ioc.163.1626462647739; Fri, 16 Jul 2021 12:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626462647; cv=none; d=google.com; s=arc-20160816; b=qnj1ALybHk3E3QNp0apA7dCueAz+iYVL8LzWu5tXsZgJXzopjwSyZSPTEF18yLl4XH vk44swMxwVvyqTnEHQ5SNBkEXzGEpa+N7OI2L1030FepJoCuYe2m9bXK+pqSNTr+gQqi Q6Eo+YeAWEZT9dRUxYpYMSdRWzdJbwGsdfBdw00vEZQPjpZFmzjcQaQ8ZqGCDOf/Nu81 vPHuJYma6hwrar9kqoQzFqFIpQR2LmeX8Ey7lCkFBS0XLZdQ0ts2lyOAQJSuIo6n2QLm gcgHiqzDztsTHcNdD5sJTqYV03CzWJTvrY7JnKhPZ6ylruZIQn41C1CRAFFImR7m5+ZL tuBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=ehJwWdmJnEqOFrEyqslwmNH6+ZDemUpg9Q/4BttkqCY=; b=SQH34PMkzDJKllGmv0Cf3U729dWaJNBKdG2DwOgvVmY+av0tTLEof8rcqXacK3x4ud 5Lo31WpfAFl2tJIO6BegMiABcpFKK2gYXPOIDCKz/kyt8l7q4xVp2fXjYeY2ya6ORbbO /XV3pfPzVQdihF39zWm7SZixtSgvOCVSEOSQ9A/S3IMO9Pq2jYu82liMTEEumLOt+Be+ +iTGP4UNrxSkYrGwzBeukZHvS5rJz00IPMWYS5l0quNRQDAlIhP7RyODZKYWcTrl/Xqe JqKjDj2kIuOA36L9Z6RG9iC7iatvb5UUlADaoH9TWbAVaVgG8POHEvb1cuJleVopHxdI C/3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si10703890iot.9.2021.07.16.12.10.34; Fri, 16 Jul 2021 12:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232088AbhGPTM4 (ORCPT + 99 others); Fri, 16 Jul 2021 15:12:56 -0400 Received: from mail-vs1-f42.google.com ([209.85.217.42]:37826 "EHLO mail-vs1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbhGPTMy (ORCPT ); Fri, 16 Jul 2021 15:12:54 -0400 Received: by mail-vs1-f42.google.com with SMTP id r18so5630049vsa.4; Fri, 16 Jul 2021 12:09:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ehJwWdmJnEqOFrEyqslwmNH6+ZDemUpg9Q/4BttkqCY=; b=AeookFuB5y6q7aP9LN+j7zbod4jXbumMxlFTdeCJc/C260j50Ls3bUioU/2mGD2LI/ ks0hRUGeheU7ie3RPeh0FQbFZcP4F75cDv2qsvjjzMozuFJZrommkgau532OcYOKHyjU 92kLYcbJL0ok6nF+TCzqQ3b3s0+wUiIP2WvHju/ir8hBKmitHvgju69WZO2PBYMkgDfK crhpUBIuEOzvrkBOhla75j1aEt6GhcWVGSHAc1WGyDV6lEbfL3rd5ZnwCXERRARpbuni mmHKC0ccg32ReGm8XLDwbaqIk5cSEBp/P5FVDsUE+8gZLE0jYNhWDHoxCN156jayB0wU 1tfA== X-Gm-Message-State: AOAM533B4IVVVioEMHBAndJJwhxmAhOWDaJUA/bdDJk8V4eT7l6+SqqK fUFNWqvqiTcFgQijOhPmbQYJ1xSIDRTGlmqyUUE= X-Received: by 2002:a67:3c2:: with SMTP id 185mr14494278vsd.42.1626462598688; Fri, 16 Jul 2021 12:09:58 -0700 (PDT) MIME-Version: 1.0 References: <20210716180253.GA3684196@robh.at.kernel.org> In-Reply-To: <20210716180253.GA3684196@robh.at.kernel.org> From: Geert Uytterhoeven Date: Fri, 16 Jul 2021 21:09:47 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: memory: renesas,rpc-if: Miscellaneous improvements To: Rob Herring Cc: Krzysztof Kozlowski , Sergei Shtylyov , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , linux-spi , MTD Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Fri, Jul 16, 2021 at 8:02 PM Rob Herring wrote: > On Wed, Jul 14, 2021 at 01:30:13PM +0200, Geert Uytterhoeven wrote: > > - Add missing "#{address,size}-cells", > > - Fix rejection of legitimate flash subnodes containing multiple > > compatible values, > > - Add missing list of required properties. > > > > Signed-off-by: Geert Uytterhoeven > > --- > > .../memory-controllers/renesas,rpc-if.yaml | 23 ++++++++++++++++--- > > 1 file changed, 20 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml > > index 990489fdd2ac33fe..c0d899a2305361b1 100644 > > --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml > > +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml > > @@ -56,17 +56,34 @@ properties: > > resets: > > maxItems: 1 > > > > + '#address-cells': > > + const: 1 > > + > > + '#size-cells': > > + const: 0 > > + > > spi-controller.yaml already defines this. spi-controller.yaml says '#address-cells' must be 0 or 1. As RPC-IF does SPI master only, it should be 1. Don't remember why I added the '#size-cells' too. Perhaps for symmetry? 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