Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1252595ybg; Thu, 11 Jun 2020 05:12:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPx0HIcG4iJFvrWnQk4wtHdSwpgE0arR3csYSJPbsyrr30xWRGDniePkxcoH2AcsyA88hT X-Received: by 2002:a17:906:2dc7:: with SMTP id h7mr8304336eji.15.1591877573299; Thu, 11 Jun 2020 05:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591877573; cv=none; d=google.com; s=arc-20160816; b=MLkQSRymUpczIddYRoIqMPbC+utPHdB5+koJyp7nyp3etxekrkwfhI3m3HsWC+b2QI XukfiJrJXJ1SSsJ+J1fS7F2ZY3JF4CU9rU6KhGEmK8IPCLFlYhOIMeR32SmNLhx3H9ew 5muADIWICer4dkZx3s+0JMeHxoBFqMOGFv/d/+KPgyi+0Z6++mYv9KSPQdpMJprUiTnf Fd3IxQuD1M0n7XBNNswrrQdhzxefu0PUixxixRq3dtCzR2/ip0gAR0QfLUmdh8LcT2pS 4Swmen46YB5iLAvxcViIGWYIVFTJzq4nkfkZIvodQYxSiNlS+LQrscnby6k1k5gVDdnr xdrg== 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 :in-reply-to:references:mime-version; bh=lcgXSywPB08+B3kJ8noSU/N9DMgy+4xXYB/CxnY7Amg=; b=PtpxxGcXiNLD/78293OYKhcd8BLbykUJRdmeXJGRt3s00ZKnv5CsLZVIEstz2y5Nbw Rf90A9o2bWp+Fx/38up1f+KazkQ4wTWT9jYt7AiYVkzF8qKCWzznmkH4WQh5LWCb9NrZ +QqnRatEXwHbnhS5y7uyBu1hEKEgQ8NA3ZJj/762LkEUns3G+8ufzIJwfB/2wZd0vFUv y73xtQwl3OLayTGK4wh1xea+TKzLB+Fy3xrYIBOR2YZsWN+A5vHU0IKesguN2UdNWtGE 4DStLKZa9io+TVCH8zf2OJFfdry1ivTRjhJNAVmWj3oYjqnxMneyu/HuLTXp4ZlSKpJP ggGg== 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 ot10si1843869ejb.319.2020.06.11.05.12.30; Thu, 11 Jun 2020 05:12:53 -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 S1728283AbgFKMKJ (ORCPT + 99 others); Thu, 11 Jun 2020 08:10:09 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:41556 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728264AbgFKMKH (ORCPT ); Thu, 11 Jun 2020 08:10:07 -0400 Received: by mail-oi1-f195.google.com with SMTP id a21so5159831oic.8; Thu, 11 Jun 2020 05:10:06 -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=lcgXSywPB08+B3kJ8noSU/N9DMgy+4xXYB/CxnY7Amg=; b=YlTfujDe8X3ycDRnEGMpvy3bI3Tq0C2HNBKvyHBn+b3eKbGpjTj1BPopvaFzcm4c6+ /XkYAFrBbV3DlbIRnPnht+/dvtzUUJuQgNGQj2xMw6Ul4cPlp/m7hkFqmyzWlhJ4Xtjo T2WX62k3daDoVOGM6wssDUASmM4Ac+CpycC89ua56x/65V55krS9VlGA3/Dba9NiySJ7 W5l+wxVK10jf53cb6tr9wdqb5cRSIbnDas91RDLiKfSIDmDMr4krpyflRcu5waBMHdAx X227idctfxto4tJgrqUeyKACQ2q+CKgBxPTy4bTMwYRwh2QVmYSdbvWE8n+dOEzR590A FooQ== X-Gm-Message-State: AOAM533KxYHZl4DFqx84sQMs1Mw0mnlVVVL5iVqq3DColwRfvGpgjm6v emJr3ARUxdoeOommDDoIs11UR9LsGfc8bhDh37OP/Q== X-Received: by 2002:aca:1a19:: with SMTP id a25mr6016101oia.54.1591877405773; Thu, 11 Jun 2020 05:10:05 -0700 (PDT) MIME-Version: 1.0 References: <1591736054-568-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> <1591736054-568-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200610110810.GD5005@sirena.org.uk> <20200610164928.GJ5005@sirena.org.uk> <20200611085004.GC4671@sirena.org.uk> In-Reply-To: <20200611085004.GC4671@sirena.org.uk> From: Geert Uytterhoeven Date: Thu, 11 Jun 2020 14:09:54 +0200 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: spi: renesas,sh-msiof: Add r8a7742 support To: Mark Brown Cc: Lad Prabhakar , Magnus Damm , Rob Herring , linux-spi , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Prabhakar 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 Mark, On Thu, Jun 11, 2020 at 10:50 AM Mark Brown wrote: > On Wed, Jun 10, 2020 at 09:18:19PM +0200, Geert Uytterhoeven wrote: > > On Wed, Jun 10, 2020 at 6:49 PM Mark Brown wrote: > > > > I'm much more comfortable explicitly listing the new compatible so that > > > even if someone makes a DT that doesn't bother listing the fallbacks > > > things will work. > > > Adding all of them would cause even more churn when adding support for > > a new SoC... There are already more than 700 "renesas," compatible > > values documented that are not directly matched by drivers. > > I'm not sure it's a particular concern, especially since you'll be > sending this stuff in the same series as a bindings update and an extra > patch in a series makes very little difference. Until the DT bindings are split off into their own project... Listing unneeded compatible values in drivers also increases binary size. For RSPI and MSIOF that would be +2.5 KiB each. Times tens of drivers. Considering the RSPI driver itself is only 9 KiB, and some RZ/A1 systems are really memory-constrained, I think it's better to avoid that. > > Nowadays we have "make dtbs_check", so if a DTS doesn't conform to the > > binding, it will be flagged. > > For things that are upstream. The DT bindings apply to out-of-tree DTS files, too ;-) If they're not compliant, all odds are off. 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