From patchwork Sun Feb 27 08:18:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12761551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C662C433F5 for ; Sun, 27 Feb 2022 08:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbiB0ITp (ORCPT ); Sun, 27 Feb 2022 03:19:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbiB0ITo (ORCPT ); Sun, 27 Feb 2022 03:19:44 -0500 Received: from mx.tkos.co.il (guitar.tcltek.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E350B3B3E3; Sun, 27 Feb 2022 00:19:07 -0800 (PST) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id E655E440932; Sun, 27 Feb 2022 10:18:25 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1645949906; bh=3IxnfjF7BB1CodfrPmPLlp9lzQkWUXQyUXY6ck9jdeM=; h=From:To:Cc:Subject:Date:From; b=oC7SU1D9eGfZBIlL6chy6ecPnCZoBq3SFFBJ7wuOahkEtuh/OWT2uHHBO2KMV4DPu +GiKytinOuiHM48N7Ek8A6kJyinHI1v6UQxwcQsXBT0ytGqenPDuuSl28pfE+Jz4v4 rM5C2ciIJqlR01uN9FUoNuD++W2EC8NOD2JBYIkO3/1ZAY2/G0KGJlORw1S7DdV8To TLcvDEjLmwRB2ldIP1TGSNodT65kgAU33ZdD/c4EgK77dUM0J5pvPcqOxHeD25yCid gJ7vJr4mILkLdFE7C5mSaKg71Mfk4VkKtFtG+93bSm+5DJGm/5CY26YJA7bDEJNeh8 QFdPPXxGnPj8A== From: Baruch Siach To: Andy Gross , Bjorn Andersson , Robert Marko Cc: Baruch Siach , Bryan O'Donoghue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Date: Sun, 27 Feb 2022 10:18:33 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Baruch Siach The IPQ60xx MDIO bus is the same as IPQ4019. Change 'enum' to 'items' list to allow fallback to older compatible strings. Signed-off-by: Baruch Siach --- v2: Update the schema to allow fallback compatible (Rob Herring) --- Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 2af304341772..01fa8406fa33 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -14,9 +14,10 @@ allOf: properties: compatible: - enum: + items: - qcom,ipq4019-mdio - qcom,ipq5018-mdio + - qcom,ipq6018-mdio "#address-cells": const: 1