From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9D7BC433F5 for ; Mon, 9 May 2022 08:51:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GtSVwqV4qxd7ywxkT5SmwkW6K35m+Q+41TWREMHqUtk=; b=GyrK7eFVARZWUO 1grQphkh3cJHblg8WUBlAC+LN6fqKFCGbLQ6jgCItybHz0BHsub4RyeABCnXCyYUl/uaPTXIiuTLY D6xi9fVld7adx/KZqCdr2L02cPEcJIHp/XsD1sozXTmwHNBHjykmdn+KtpoMrH1cdQKCDCxlM03h2 aFKzNTTLxwktQYiTrzVFalBJgSiUXC/pjnAVgKJRR2FIP6/5CmwejZpJFyqXN3B/5UxJK6U4fe0BM uVefiPfhlMXXxseqjRnVfi5OgIKUCoAqR2ozqzLyUfQE1rogIkWbC122lw0dlm4sCC6wSATphspdw CTDCTW0B5TEMZp/3dvLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnz5z-00DDUF-Ol; Mon, 09 May 2022 08:50:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnz5L-00DDBz-07 for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 08:49:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652086184; x=1683622184; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=n8bFpjbKPYvw3e9bni1/T6bQ+4R6TyrCTJBZUgNett4=; b=2l8/QrpxDc+bqUIOHw9oiEDRZcTd42vIltdKdYkjDPDNuVOjDVmrPIsN yq7pokhNwyzaIjXxyhxRrG2lqdqy9+xsHg3J3MVwI9rHCtp0XO2DUnfEZ V6hSCN2GH/PV6ambWu20NwZ0yrwRtAjstbTzz14yRfvNmPmsbHl8NXQM+ r51kt1DQ5uPK2XRHlF2cAP8kGapA7EL0+JM0+Pma+41/MzEavTY+mo0c2 0VaoUmSXRGiIM6EYMTrD5/1MyBaljSqVj/2ITMgC8cY6pa0bqqvxfjPwI emqHQi8IdeAB6GdFGSDZ0cvnLNPo246B+uRj43L4IzFr29qVhjjqyfSFF A==; X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="162812532" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 May 2022 01:49:44 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 9 May 2022 01:49:42 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 9 May 2022 01:49:37 -0700 From: Kavyasree Kotagiri To: , , , , CC: , , , , , , , Subject: [PATCH v2 2/4] dt-bindings: mfd: atmel, flexcom: Add lan966 compatible string and mux properties Date: Mon, 9 May 2022 14:19:18 +0530 Message-ID: <20220509084920.14529-3-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220509084920.14529-1-kavyasree.kotagiri@microchip.com> References: <20220509084920.14529-1-kavyasree.kotagiri@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_014943_115757_44E5F7AA X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add lan966 flexcom compatible string and flexcom mux device tree properties. Signed-off-by: Kavyasree Kotagiri --- .../bindings/mfd/atmel,flexcom.yaml | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml index 79ec7ebc7055..228c095c84ca 100644 --- a/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml +++ b/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml @@ -16,7 +16,9 @@ description: properties: compatible: - const: atmel,sama5d2-flexcom + enum: + - atmel,sama5d2-flexcom + - microchip,lan966-flexcom reg: maxItems: 1 @@ -57,6 +59,27 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: microchip,lan966-flexcom + + then: + properties: + mux-controls: + minItems: 1 + maxItems: 2 + $ref: /schemas/types.yaml#/definitions/phandle-array + + mux-control-names: + minItems: 1 + $ref: ../mux/mux-consumer.yaml + items: + - const: cs0 + - const: cs1 + patternProperties: "^serial@[0-9a-f]+$": description: See atmel-usart.txt for details of USART bindings. @@ -89,4 +112,31 @@ examples: atmel,fifo-size = <32>; }; }; + + - | + flx3: flexcom@e0064000 { + compatible = "microchip,lan966-flexcom"; + reg = <0xe0064000 0x100>; + clocks = <&fabric_clk>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xe0064000 0x800>; + atmel,flexcom-mode = <2>; + mux-controls = <&mux 0>; + mux-control-names = "cs0"; + + spi3: spi@400 { + compatible = "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <0 51 4>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&fabric_clk>; + clock-names = "spi_clk"; + pinctrl-0 = <&fc3_b_sck_pins>, <&fc3_b_rxd_pins>, + <&fc3_b_txd_pins>, <&fc_shrd9_pins>; + pinctrl-names = "default"; + atmel,fifo-size = <32>; + }; + }; ... -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel