From patchwork Thu Jan 25 18:02:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 10184625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8398460383 for ; Thu, 25 Jan 2018 18:25:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71E712874F for ; Thu, 25 Jan 2018 18:25:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65E0E28A09; Thu, 25 Jan 2018 18:25:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E39372874F for ; Thu, 25 Jan 2018 18:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rmAeVs44NufFwLuo/QS9T56WZcjNAZyYY5v8b9T2P6c=; b=JaxCqMRnPhdE9uTN3FXLu8Lmhq BwyNxSFzNSzuvpWGIf1JITWwKXWl875mN7gdnjNOudgc4MdxuIuE+9XbxhEkLYLpImXInXPupfBNE 9MUAw9hZn2uh4fF8+VVODoXU6sURbKAQpSd55uyZk8jpG6qULW3yIo2T+40fVgblYrLPkGYB1Z90R vrxBU4bYG+h2UOTbwRxajjbn+LnFOSgkikoHxzzk0NqZNvWK4Jm5PVmDOAczLEMHX9gP3moQ9xswv /tUGy9c1s0J1vpf7dpZEdlD/YRO9XQKljdRB/mk9Bp6plaTgDGHvBmnJtDGBZpgM/QS3x6dz2PZ8I +qBYEcFw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eemCz-0001BC-JN; Thu, 25 Jan 2018 18:25:09 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eemAU-0005z8-MQ for linux-arm-kernel@bombadil.infradead.org; Thu, 25 Jan 2018 18:22:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MdGh2oNKLRKawBKZq6aixPavV+PkpFtuULJNQ94TxWM=; b=wCdA8AF9JrQhnfhQDkZ+HBSLs m7rAOUB7cvFwGH7ZUpLNVvPbO0dTc+QMtvlo/A2N7vPokQZUiFJSm1Ew6Ws3uXQxLwZ+Nfgu8cO5X Io0N2VSZWIAAYHACIFIqMa+xLl889OqIzHrCSn3PWSW1GXDmbNchzz4/YnonHLkEkFxM2F4ah64fT g379HU94owk2ErGOKrl+mmP1bHG4GJAEl3mM6/WRS6Cu5ALDJ50A/m/6HjKgpKbS2CYaa6YOLU4Y3 yf+v8KyN4+2oO35J54zzFnwYCdiDILHjr1TIA0Tc4ex6zUgX6Ll1PK5sAmOdJRQP+g6ThLV0x3LT+ GyKoyguNA==; Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by casper.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eeltD-0008Tv-13 for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2018 18:04:45 +0000 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 26 Jan 2018 03:04:24 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id D8F754BBFC; Fri, 26 Jan 2018 03:04:24 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.46,412,1511794800"; d="scan'208,223";a="270636930" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.37.88]) by relmlii2.idc.renesas.com with ESMTP; 26 Jan 2018 03:04:19 +0900 From: Fabrizio Castro To: Philipp Zabel , Rob Herring , Mark Rutland , Wim Van Sebroeck , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Simon Horman , Magnus Damm , Geert Uytterhoeven Subject: [RFC 11/37] soc: renesas: rcar-rst: Document generic compatible strings Date: Thu, 25 Jan 2018 18:02:45 +0000 Message-Id: <1516903391-30467-12-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180125_180443_291891_CADD9C89 X-CRM114-Status: GOOD ( 10.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrizio Castro , devicetree@vger.kernel.org, Chris Paterson , linux-watchdog@vger.kernel.org, Biju Das , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ramesh Shanmugasundaram , linux-clk@vger.kernel.org, Guenter Roeck MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From now on, devices compatible with the generic compatible strings documented by this commit don't need to modify the corresponding driver anymore. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt index a8014f3..2602a19 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -11,7 +11,10 @@ following functions: Required properties: - - compatible: Should be + - compatible: Should be a SoC specific string, followed by a generic + fallback compatible string when compatible with the generic + version. + The SoC specific compatible string should be: - "renesas,-reset-wdt" for R-Car Gen1, - "renesas,-rst" for R-Car Gen2 and Gen3, and RZ/G Examples with soctypes are: @@ -28,12 +31,16 @@ Required properties: - "renesas,r8a7796-rst" (R-Car M3-W) - "renesas,r8a77970-rst" (R-Car V3M) - "renesas,r8a77995-rst" (R-Car D3) + The generic compatible string should be: + - "renesas,rcar-gen1-rst" for R-Car Gen1 + - "renesas,rcar-gen2-rst" for R-Car Gen2 and RZ/G + - "renesas,rcar-gen3-rst" for R-Car Gen3 - reg: Address start and address range for the device. Example: rst: reset-controller@e6160000 { - compatible = "renesas,r8a7795-rst"; + compatible = "renesas,r8a7795-rst", "renesas,rcar-gen3-rst"; reg = <0 0xe6160000 0 0x0200>; };