Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp440634imu; Tue, 8 Jan 2019 23:55:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN6B0shSNCVMo849sSWzE43k1GCvGiDRtv2OOt7HWoPgJYLY5qbz6/KZ81dro8LBkP/Xij6M X-Received: by 2002:a17:902:7c05:: with SMTP id x5mr4905818pll.273.1547020532627; Tue, 08 Jan 2019 23:55:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547020532; cv=none; d=google.com; s=arc-20160816; b=kqx/HweUjhBJOaFIAdSoRiLIcHRIbPxKqOt9wBYeG22lPTQ/Weewrp5O95ITO4IBg+ eE9kjt0IUperGqZpL/zLny2x0BWeGY2o9K9vu4FazJ1SjNfGGefLFacgZKBijFciFMZp Ar/QvdOIvFaR5qlwmM4EigqlXsT6rvojdRen8e9droP917e6z/IvhimV9maLYTs7C+H9 AhIxLtcnmDVxZl9kXTqnBZtVh4VgRs4xPZEZaDoMLcuIelyJSWJk1Ozp0ZGLjyVpivIs 3pxxwsc0gHoVyr7UqmSlWDlaAd2PyigPx2/aSF0+FdY7TiyXJ0WP7JhvBsNbs0GVHBQW 8OlA== 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=/00JG/LKDGXbS/7oDQfRERssheEGJxE8WucQTaYTm5w=; b=denRZXHHwZekPvU2yH84XjrWKAK+vDFHu0XBoY6a9cX9+1qRINRjK47OtOfAgIIUmr qYN3H7j6yqEFKoXbL8gQV1a9tegOcpdn6P26ySiz9oItArYg3PWR9aJoGKsBZVZKyI3L MbRg4ehzMyMdJvRcirOiSeNyEM6ZyiK9aMosXIzbwzGNT5IOLQoaxanTWAq2UgHo6PgD boWH3WLqLGwUuuPuIxArDT+1XmfdqESabnpqMNKCrhDibkLmKyQWOKi+dddJTBo8Ajiy TBz3f8zkoLCo7fna3inKEUKmm4evaMJEuk/Es5KOCUyxoTnxOV2ONETegN0wJ2Mhb40k HpsQ== 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 k7si9300428pgm.462.2019.01.08.23.55.16; Tue, 08 Jan 2019 23:55:32 -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 S1729624AbfAIHwH (ORCPT + 99 others); Wed, 9 Jan 2019 02:52:07 -0500 Received: from mail-vs1-f67.google.com ([209.85.217.67]:34149 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728112AbfAIHwG (ORCPT ); Wed, 9 Jan 2019 02:52:06 -0500 Received: by mail-vs1-f67.google.com with SMTP id y27so4211148vsi.1; Tue, 08 Jan 2019 23:52:06 -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; bh=/00JG/LKDGXbS/7oDQfRERssheEGJxE8WucQTaYTm5w=; b=dJzQerfpMHZPhEVFWFmJnXfpkjQdqhJuqkc0GQzNSWc4I0pxHPeR6oc9JOmehqbt46 SmNgfaboHuuCsXeryu6kr31z/xLQjhUi4mFxdIGCt2SShAG0NQzUCTSmvo3b2XxfwXu9 rz3YC1HalefVg0PkgIvTSJdwPgJ2lPzbRwvwnWqiytkCSZSRqtEuIwChqAuUB+6L7cBd 0rHGUaOE4WLlaBw7fooVxR561UNu3JqDjnuML4V7wJLvjwIFoC5nUIcqhB38Dq6mlDly 8BBk4KvBKK2GN3PBTPVecvmR1l7WV6J26+A2GEHYeOxsu0mCkLLhNnqicAo1baPS74bs EWNw== X-Gm-Message-State: AJcUukd0YsJQ2jT/E9aiUsRBEVsbyaAFFD7xS3EnzlMZDStpts05S1DY Dos6ikFn27VBTbheZSGao/Empo9hRgEMKmB1eUk= X-Received: by 2002:a67:c202:: with SMTP id i2mr1878528vsj.11.1547020325550; Tue, 08 Jan 2019 23:52:05 -0800 (PST) MIME-Version: 1.0 References: <1546921020-20436-1-git-send-email-masonccyang@mxic.com.tw> <1546921020-20436-3-git-send-email-masonccyang@mxic.com.tw> In-Reply-To: <1546921020-20436-3-git-send-email-masonccyang@mxic.com.tw> From: Geert Uytterhoeven Date: Wed, 9 Jan 2019 08:51:53 +0100 Message-ID: Subject: Re: [PATCH v5 2/2] dt-bindings: spi: Document Renesas R-Car RPC-IF controller bindings To: Mason Yang Cc: Mark Brown , Marek Vasut , Linux Kernel Mailing List , linux-spi , Boris Brezillon , Linux-Renesas , Geert Uytterhoeven , Sergei Shtylyov , juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw 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 Mason, On Tue, Jan 8, 2019 at 5:17 AM Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang Thanks for your patch! > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > @@ -0,0 +1,37 @@ > +Renesas R-Car Gen3 RPC-IF controller Device Tree Bindings > +---------------------------------------------------------- > + > +Required properties: > +- compatible: should be "renesas,r8a77995-rpc" Would it make sense to have a family-specific fallback "renesas,rcar-gen3-rpc", bseides the SoC-specific compatible value? > +- #address-cells: should be 1 > +- #size-cells: should be 0 > +- reg: should contain 2 entries, one for the registers and one for the direct > + mapping area > +- reg-names: should contain "regs" and "dirmap" > +- clock-names: should contain "rpc" > +- clocks: should contain 1 entries for the module's clock Doesn't the driver have a need to access the RPCD2 clock? At least on R-Car V3M, it needs to program the Divider Clock Register (DIVREG). > +- renesas,rpc-mode: should contain "spi" for rpc spi mode or > + "hyperflash" for rpc hyperflash mode. Can't this be derived from the flash subnode? 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