From patchwork Fri Sep 7 00:59:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 10591407 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C89E413AC for ; Fri, 7 Sep 2018 01:01:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7FD12AD8F for ; Fri, 7 Sep 2018 01:01:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AABCC2AF17; Fri, 7 Sep 2018 01:01:11 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 D67902AD8F for ; Fri, 7 Sep 2018 01:01:10 +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=AMoQHlfMY+nEGFeX45Y2zJ72k5baMCTZ3kEeaSoW954=; b=gpale53NLhJhKEYyHjjvQt4Eir YK0TkwHidU9SYXy/e3vtpAQ70qvWqdULiMJYTpcOz5A4zXZcQot3r/MWLYY4bSZl7vp5RgBAEtOyN RSEemOlNmgZytzxIk+M/yINoU3nTJuN61+YOtMEoiIpA7BRJ7ZXoJ+cZVXrurTBrKC9BPZYx9gdpt Ga2F2ee0OP5CXfkoI0/euFIFzNC2vAScFiGwqWii4APf7JBzdNtJNSi5HThQhQV5zgsnWfKrub1+Q WmLoDN8J57wLD81mvbPEBcXTuAMC86OAp9NiXl30dNDyadO8yO60srS8NQe2uw2qeMEkawgqcX5zY U5KIelwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy58o-0005M0-3b; Fri, 07 Sep 2018 01:00:54 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy57x-0003Nc-Ov for linux-arm-kernel@lists.infradead.org; Fri, 07 Sep 2018 01:00:04 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id ED1658364D; Fri, 7 Sep 2018 12:59:38 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1536281978; bh=Et5dUGRmuIpZlkKoZYfqWaBWdH6VsTUQD15gZ9nIg5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=D7JqrwotDuoa7KklXD6as3E7o3MBlz6keC5ESGBpnsBOVEiLYOcDLACa4POeL6m5S hVpLsWUEk16JRY5W/DaxdjDx2BSwXHN5gpP8ED7HRr9RILAM440XYEKLADXZ71+4XP 1wdiXUosDHbN8sFSfCanxQh7lH8yYQAAY03dJ3/4= Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Fri, 07 Sep 2018 12:59:38 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id A146513EF5B; Fri, 7 Sep 2018 12:59:41 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 6C6D81E1DDB; Fri, 7 Sep 2018 12:59:38 +1200 (NZST) From: Chris Packham To: robh+dt@kernel.org, gregory.clement@bootlin.com Subject: [PATCH 1/2] dt-bindings: marvell, prestera: Add common compatible string Date: Fri, 7 Sep 2018 12:59:25 +1200 Message-Id: <20180907005926.27134-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180907005926.27134-1-chris.packham@alliedtelesis.co.nz> References: <20180907005926.27134-1-chris.packham@alliedtelesis.co.nz> x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_180001_991451_0B0E2B6D X-CRM114-Status: GOOD ( 10.51 ) 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: Mark Rutland , andrew@lunn.ch, jason@lakedaemon.net, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham , davem@davemloft.net, linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com 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 Add "marvell,prestera" as a compatible string so that drivers can be written to account for any prestera variant without needing to specialise to the more specific values. Signed-off-by: Chris Packham Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/marvell,prestera.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/marvell,prestera.txt b/Documentation/devicetree/bindings/net/marvell,prestera.txt index c329608fa887..83370ebf5b89 100644 --- a/Documentation/devicetree/bindings/net/marvell,prestera.txt +++ b/Documentation/devicetree/bindings/net/marvell,prestera.txt @@ -2,7 +2,7 @@ Marvell Prestera Switch Chip bindings ------------------------------------- Required properties: -- compatible: one of the following +- compatible: must be "marvell,prestera" and one of the following "marvell,prestera-98dx3236", "marvell,prestera-98dx3336", "marvell,prestera-98dx4251", @@ -21,7 +21,7 @@ switch { ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>; packet-processor@0 { - compatible = "marvell,prestera-98dx3236"; + compatible = "marvell,prestera-98dx3236", "marvell,prestera"; reg = <0 0x4000000>; interrupts = <33>, <34>, <35>; dfx = <&dfx>;