Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1757990imu; Thu, 24 Jan 2019 01:07:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN6umTSGz28WbjTNnqGP/s4a9UTGbFFj/KWLx01a8AYHfLM2AsLovcfv24vh+P9MUOHR0hKt X-Received: by 2002:a63:dc54:: with SMTP id f20mr5237641pgj.410.1548320873008; Thu, 24 Jan 2019 01:07:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548320872; cv=none; d=google.com; s=arc-20160816; b=akk2ka7uJpZnrsw9V+/aiPoEz0BYNhBaLGX+9dH0zISfAGmW9gv0U6Tj5AZlVrzSTX FcpBXadJ2MBrbj1bFmMtV4gSXniUxoYg6MwJldkyYwDaB/lqWtt9a76LS7ee82sJoXW9 QD4G0OR5jqLGIJ9uK+9lijkz07/p+Jd8td7udM56ENylskQBflGxbM427g1u6RBvoVxt ukAF3QE9yaH7twfqN/PaqXrrtP25ssJts5WLTTai/DGaMjxKnxyIFNiuwbVvRyqn62Eq gHXOTl6TPt+7+GfPReeDnDMMakzJ3GJOUjw70cWYpRh3zq+At6RgaYp21cmYZJL1LBEO H/ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=i/5D4ggN+I2Ygktb/9W3nn3JJGpzD1vftRT/B6OqEh8=; b=xYDpBgMuNtq6RtKrQvhcLiHJh6ZQku/rEwCCRX4ugllACEVexoX2F2pMHQQT/LT+99 m2WeF3vTy0C+Xe3Um/2XAqa2uNGEgfKkET7x4R7tVTbVTwnxx5DEzgVnnUqJN3P50EBe 8i3XElgm0+U7mkmbYOh5d/HUKMW+2fo8EMXsaK7F+I3y1ty5rqhBlwOOT0DUIPOV2LCq X27Xvbb25ICEAugJxRgZEx5MK8dWUDA6uBcxKes6R8vD8sxRvwLD07xU7JVnGdy046Hv XEIbbWf/B0J66t/YnCo8z7B3amoXgfBsrHKto1ZUygDice4HRtSFpnKorjDZJsf7r8UT 0oZA== 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 m9si20723754pll.349.2019.01.24.01.07.38; Thu, 24 Jan 2019 01:07: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; 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 S1727511AbfAXJHJ convert rfc822-to-8bit (ORCPT + 99 others); Thu, 24 Jan 2019 04:07:09 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46276 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfAXJHJ (ORCPT ); Thu, 24 Jan 2019 04:07:09 -0500 Received: by mail-ua1-f67.google.com with SMTP id v24so1713456uap.13; Thu, 24 Jan 2019 01:07:08 -0800 (PST) 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:content-transfer-encoding; bh=SiOBLixYntQVxi4BmtnVqXhqkmatSilfo/c722lN5Jg=; b=jbXsg4j6ddF92MgUH8hK9Ij3T/x992fbfiiAd0fU33P2T+CMTQdRO1zQZVx8bnbiKy J9Pi6QolQ2YRE9Xc9WA5QsuxBHAEK8oIYZPyisZvwgQ/f3n002xBrvD4l+cm3eJTHZjC +iHOkOIpkG9uS+BhH6SYB4kJNnnTpr6Cbiv9iWyKmI0V6GVshqggtFiEv0k9PnIJs9XV M/3/+PBtFPJkuZ2KEEHpHwXsxm1doSVoCBkJZIDrCEjJlFxXtq5KgvRvWRWnnibUX+/Y DcmCd0yjIcIt+i/mhf1GGYYWEhz+Soc/aBT/4WvUqwHUYIDEJxvv20XLmOg0eeTPKO8N V7vg== X-Gm-Message-State: AJcUukcWjO//fV6cx4TROHq7S1grBsII5W0dmsMQXAXHS/x1aQaMZWvO 30T9h6BlLtOsJqG/EKKNBGGDqy8husNx4cNnDTs= X-Received: by 2002:a9f:364a:: with SMTP id s10mr2259728uad.78.1548320828032; Thu, 24 Jan 2019 01:07:08 -0800 (PST) MIME-Version: 1.0 References: <1548227352-14910-1-git-send-email-masonccyang@mxic.com.tw> <1548227352-14910-3-git-send-email-masonccyang@mxic.com.tw> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 24 Jan 2019 10:06:56 +0100 Message-ID: Subject: Re: [PATCH v7 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings To: Mason Yang Cc: Marek Vasut , Boris Brezillon , Mark Brown , Geert Uytterhoeven , Simon Horman , juliensu@mxic.com.tw, Linux Kernel Mailing List , Linux-Renesas , linux-spi , Sergei Shtylyov , zhengxunli@mxic.com.tw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mason, On Thu, Jan 24, 2019 at 3:39 AM wrote: > > "Marek Vasut" > > 2019/01/24 上午 09:54 > > > > > > diff --git a/Documentation/devicetree/bindings/spi/spi-renesas- > > rpc.txt b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > > > new file mode 100644 > > > index 0000000..305bd10 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > > > @@ -0,0 +1,46 @@ > > > +Renesas R-Car Gen3 RPC-IF controller Device Tree Bindings > > > +-------------------------------------------------------------------- > > > + > > > +Required properties: > > > +- compatible: should be an SoC-specific compatible value, followed by > > > + "renesas,rcar-gen3-rpc" as a fallback, i.e., > > > + "renesas,r8a77995-rpc", "renesas,rcar-gen3-rpc". > > > + "renesas,r8a7795-rpc" (R-Car H3) > > > + "renesas,r8a7796-rpc" (R-Car M3-W) > > > + "renesas,r8a77965-rpc" (R-Car M3-N) > > > + "renesas,r8a77970-rpc" (R-Car V3M) > > > + "renesas,r8a77980-rpc" (R-Car V3H) > > > + "renesas,r8a77990-rpc" (R-Car E3) > > > + "renesas,r8a77995-rpc" (R-Car D3) > > > > Was it tested on all of those SoCs and do we already handle all the > > quirks of those ? > > These are R-Car Gen3 series and I list these by Geert's comments, > or I misunderstand Geert's comments ? I think you misunderstood. Typically we only list the SoC-specific compatible values for SoCs that have been tested with the driver. So for now I'd go with: - compatible: should be an SoC-specific compatible value, followed by "renesas,rcar-gen3-rpc" as a fallback. Supported SoC-specific values are: - "renesas,r8a77995-rpc" (R-Car D3) The list can be extended when the driver has been tested/enhanced to support more SoC types. Does that sound OK? 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