Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752322AbaB0Ij5 (ORCPT ); Thu, 27 Feb 2014 03:39:57 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:64412 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751382AbaB0Ijy (ORCPT ); Thu, 27 Feb 2014 03:39:54 -0500 MIME-Version: 1.0 In-Reply-To: <38730952.JbtPf2mapG@avalon> References: <1393323673-2751-1-git-send-email-geert@linux-m68k.org> <1393323673-2751-4-git-send-email-geert@linux-m68k.org> <38730952.JbtPf2mapG@avalon> Date: Thu, 27 Feb 2014 09:39:54 +0100 X-Google-Sender-Auth: -2arIu7B7MNu1xgCUIlRzit7gY4 Message-ID: Subject: Re: [PATCH v2 3/6] spi: sh-msiof: Add support for R-Car H2 and M2 From: Geert Uytterhoeven To: Laurent Pinchart Cc: Mark Brown , Takashi Yoshii , Magnus Damm , linux-spi , Linux-sh list , "linux-kernel@vger.kernel.org" , Geert Uytterhoeven , "devicetree@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2014 at 11:16 PM, Laurent Pinchart wrote: >> diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt >> b/Documentation/devicetree/bindings/spi/sh-msiof.txt index >> eae3c8c9300e..1f0cb33763a1 100644 >> --- a/Documentation/devicetree/bindings/spi/sh-msiof.txt >> +++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt >> @@ -1,8 +1,13 @@ >> Renesas MSIOF spi controller >> >> Required properties: >> -- compatible : "renesas,sh-msiof" for SuperH, or >> +- compatible : "renesas,msiof-" for SoCs, >> + "renesas,sh-msiof" for SuperH, or >> "renesas,sh-mobile-msiof" for SH Mobile series. >> + Examples with soctypes are: >> + "renesas,msiof-sh7724" (SH) > > Given that the driver doesn't handle the "renesas,msiof-sh7724" compatible > string this might not be a good example. Furthermore SuperH doesn't have DT > support. I would thus drop the "renesas,sh-msiof" compatible string from patch > 1/6 and wouldn't mention sh7724 here. I very much doubt that someone would > have developed DT support for SuperH on the side and shipped products that > would be broken by this change :-) Upon reading your comment again: do you suggest to also remove the plain "renesas,sh-msiof"? That one was present before, since DT support was added to the driver in commit cf9c86efecf9510e62388fd174cf607671c59fa3 Author: Bastian Hecht Date: Wed Dec 12 12:54:48 2012 +0100 spi/sh-msiof: Add device tree parsing to driver This adds the capability to retrieve setup data from the device tree node. The usage of platform data is still available. Signed-off-by: Bastian Hecht Signed-off-by: Grant Likely So I prefer not to remove any pre-existing compatible values. Do you agree? Thanks! 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/