Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3716097ybl; Tue, 20 Aug 2019 00:55:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIhqTkY2JBE8Z8sk8phkbPh2wMD9QT10aeT7h469gLsZhNVMBt1RhLxO9QfJyW3u4fCir6 X-Received: by 2002:a17:902:7797:: with SMTP id o23mr27023870pll.102.1566287701790; Tue, 20 Aug 2019 00:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566287701; cv=none; d=google.com; s=arc-20160816; b=QEM+my4VoKUwnUnz3SNmY9iJuQ1anzMRm8K96WPdO5dSr0MYWqc+hoF3jRRpXeCnuG rm5Ge22ZT8AzfEF8O4woXayWtdfTAyf3EXKBcGEQXlDsmBgUPqetA9v80zQMOd8lARaP yJ4JlcKv/BHH3G9Evl8WrUZFA5u5+iDYTSp9X2tbQPAgnyMnutEkzkSGTGXATYLmD55F F0EwMRoGoUlHoUrdX0yfVwTWzR9TARQGihJl8gVlU/vJohCgnQdERzbLT+LTXUZ5p6EB 0j/lh1eNdAOHS6L0IgtNfBolspgokWtQz3BxHVcLqkkz3Y20kXpqTGNqADqXnzHYREUD qM+A== 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=UeZCihW1/iCQp+6FgwvqZaN1t+fpmStZoau36fwpTT8=; b=RXmYep/YrmvWLUOC69hgDIxmqR4z7EQDlbfGDD0Dsk4xwInmc73alZJ6gcGJOmgtqT hZYqyUZembvvzcNIKrCAhpbLohcsl5iDIeZn48UR95GbSAnBv3n4z0T5Jz7Lg37LY9s+ khVdm3WqKCsAbn5qTZ81Tv5gWoejlZj7lRrzXHQkROkk+mLMvfSRcHHeozkzG6SyWljm lqBvCyQ1+fJMaSRzepAOm56fhzSZ/zUZJA9LGxStdMlWqz92T/sx2yq4DAWqQ4TttSj6 b//xpRSBhtcABp9AINjw+9bJ4XpNDq8GRQUhakTAlKM0clBHcwtl1FVxsL1+jormpZe4 LFJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y65si11405984pgd.487.2019.08.20.00.54.46; Tue, 20 Aug 2019 00:55:01 -0700 (PDT) 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; 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 S1729281AbfHTHx4 (ORCPT + 99 others); Tue, 20 Aug 2019 03:53:56 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:38264 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfHTHx4 (ORCPT ); Tue, 20 Aug 2019 03:53:56 -0400 Received: by mail-ot1-f65.google.com with SMTP id r20so4205421ota.5; Tue, 20 Aug 2019 00:53:55 -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=UeZCihW1/iCQp+6FgwvqZaN1t+fpmStZoau36fwpTT8=; b=ZcVGvaSAGQrN4uT3ztogRXOfPbA6d1SWR+qB08WUrdwOn2HhI9CFmEQBI1gsqrp/aB fEX3QWhoORcSJm5DpGulntyWw4zEBJvBEt+YkYYp2hNOODup5S9uVvwOSLqtKVZUYZec /3U2rUVl31+D8fOf5p16UKiy8lUO5+O5gjdfvcCJEQMbQDlrD8RRr55wnZc/uk/BY2GO e8/OsibTisFzBvM+2yIawKAOXKQFJpx2hXcDTlZiuAcemBxLo3ELcGsysoEPZSHRnGCs VOWy8DNZEhbjoNHBxisQLQUo0XaTz5OOSvXsF67l5E+PzOiiCl6ySZXwowFdU/+uoOVG uYmQ== X-Gm-Message-State: APjAAAUckgRkovPiFkq25Mu5mtg0ZB6MUxjPlXpctSZy+ouPa53yWOSa WtmAXKVxMwC+tWqYnweScq8/E2HAYHZm/wWNPgM= X-Received: by 2002:a9d:68c5:: with SMTP id i5mr21320045oto.250.1566287635275; Tue, 20 Aug 2019 00:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20190706140746.29132-1-jacopo+renesas@jmondi.org> <20190706140746.29132-2-jacopo+renesas@jmondi.org> <20190820074826.5rdzeqyk6ylpjr7o@uno.localdomain> In-Reply-To: <20190820074826.5rdzeqyk6ylpjr7o@uno.localdomain> From: Geert Uytterhoeven Date: Tue, 20 Aug 2019 09:53:44 +0200 Message-ID: Subject: Re: [PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation To: Jacopo Mondi Cc: Jacopo Mondi , Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Koji Matsuoka , muroya@ksk.co.jp, VenkataRajesh.Kalakodima@in.bosch.com, Harsha.ManjulaMallikarjun@in.bosch.com, Linux-Renesas , DRI Development , 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 Jacopo, On Tue, Aug 20, 2019 at 9:47 AM Jacopo Mondi wrote: > On Mon, Aug 19, 2019 at 03:45:54PM +0200, Geert Uytterhoeven wrote: > > On Mon, Jul 8, 2019 at 9:58 AM Geert Uytterhoeven wrote: > > > On Sat, Jul 6, 2019 at 4:07 PM Jacopo Mondi wrote: > > > > Add device tree bindings documentation for the Renesas R-Car Display > > > > Unit Color Management Module. > > > > > > > > CMM is the image enhancement module available on each R-Car DU video > > > > channel on R-Car Gen2 and Gen3 SoCs (V3H and V3M excluded). > > > > > > > > Signed-off-by: Jacopo Mondi > > > > Reviewed-by: Laurent Pinchart > > > > > > Thanks for your patch! > > > > > > > --- /dev/null > > > > +++ b/Documentation/devicetree/bindings/display/renesas,cmm.txt > > > > @@ -0,0 +1,25 @@ > > > > +* Renesas R-Car Color Management Module (CMM) > > > > + > > > > +Renesas R-Car image enhancement module connected to R-Car DU video channels. > > > > + > > > > +Required properties: > > > > + - compatible: shall be one of: > > > > + - "renesas,rcar-gen3-cmm" > > > > + - "renesas,rcar-gen2-cmm" > > > > > > Why do you think you do not need SoC-specific compatible values? > > > What if you discover a different across the R-Car Gen3 line tomorrow? > > > Does the IP block have a version register? > > > > Do you have an answer to these questions? > > It does not seem to me that CMM has any version register, nor there > are differences between the different Gen3 SoCs.. > > However, even if we now define a single compatible property for > gen3/gen2 and we later find out one of the SoC needs a soc-specific > property we can safely add it and keep the generic gen3/gen2 one as > fallback.. Does it work for you? Unfortunately that won't work, as the existing DTBs won't have the soc-specific compatible value. You could still resort to soc_device_match(), but it is better to avoid that. 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