From patchwork Mon May 9 08:49:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12843179 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 A7709C433F5 for ; Mon, 9 May 2022 08:50:33 +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: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:In-Reply-To:References: List-Owner; bh=HmZZySvqdIF00uRYGfFRT+hAd/1dvfdz6Por5Vpd0AI=; b=V8jOcGDb5dGasD YV12s6y3tCfRuhVDggIzOoVGUCnowyRE5KmoSABfi5otqiJvOQdj5w8shj/bi47JMEj0FNm1Wr4jo BAfrRJw8q6xeXLkeGB+vjg9ea9m6bqrzTbB8KUAhZo4ZPOmELwj2grBRPzq4rnSZj4YPEz6K9DXzh HMmagJDqpuooSl03pdUwZpVB7Y1lUftLo0pLB508qxljqXnt0aY/1LXvnMwPtOmgAaVpdUTYrjRjQ O39E7Jvz2vyGCZ29CEUOdC+EhzGiqSQu9DFe1YqW+ZRONIMxRgeWyx1plfGWMy+kVMdVFBNgCqq6D 3XBVqgydMIdjet5kUX4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnz5B-00DD7O-EZ; Mon, 09 May 2022 08:49:33 +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 1nnz56-00DD5v-U0 for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 08:49:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1652086170; x=1683622170; h=from:to:cc:subject:date:message-id:mime-version; bh=5uZDOrDyWhl4JrBtHMF+1wZx+yLzlXX1NZxBrijfkes=; b=J16So74tH2BhDzM7X286u3P7rBRzFUJK39lgCPEKEeOCBQt6GMu4Tmoy kM6HxTU/9MqqnTNG/3uL5h9hG9zF8fBzWjRP/P2plC9GZ1jzJeX5rQPVB p+oltsteOWLZsRbO9FGj09h6aP21e2Zddt10GoI7iIJrGryevpjssav6B cLagP1+cFpyXc2HQhc1iRt6Pw3gOT3Um1BchP0xcbiII6ZALtfUsrLSaj MwsZKTO5p4NRmbNZW4bZJIf+clMUDJOB8Mx3eTAbJrIerSc6HtQHbdgny A2bKqt3wI0oragKp4VldvfZ8oUK/1NC+Ocg3rzY0NzTaXR7POoElMdKAc Q==; X-IronPort-AV: E=Sophos;i="5.91,210,1647327600"; d="scan'208";a="162812517" 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:30 -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:27 -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:22 -0700 From: Kavyasree Kotagiri To: , , , , CC: , , , , , , , Subject: [PATCH v2 0/4] Add support for lan966 flexcom multiplexer Date: Mon, 9 May 2022 14:19:16 +0530 Message-ID: <20220509084920.14529-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_014929_021932_DE6000B8 X-CRM114-Status: GOOD ( 10.94 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series implements driver for lan966 flexcom multiplexer. Converts atmel-flexcom.txt bindings to yaml format and add new compatible string for lan966 flexcom. This patch also adds dt bindings for lan966 flexcom multiplexer. v1 -> v2: - addressed comments for atmel,flexcom.yaml. - added child node and its parameters properly in flexcom bindings. - added ref to mux-consumer.yaml. - added ref to mux-controller.yaml in lan966-flx-mux.yaml - added MODULE() stuff in lan966 mux driver. Kavyasree Kotagiri (4): dt-bindings: mfd: atmel,flexcom: Convert to json-schema dt-bindings: mfd: atmel,flexcom: Add lan966 compatible string and mux properties dt-bindings: mux: Add lan966 flexcom mux controller mux: lan966: Add support for flexcom mux controller .../bindings/mfd/atmel,flexcom.yaml | 142 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 -------- .../mux/microchip,lan966-flx-mux.yaml | 51 +++++++ arch/arm/mach-at91/Kconfig | 2 + drivers/mfd/atmel-flexcom.c | 55 ++++++- drivers/mux/Kconfig | 12 ++ drivers/mux/Makefile | 2 + drivers/mux/lan966-flx.c | 121 +++++++++++++++ 8 files changed, 384 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt create mode 100644 Documentation/devicetree/bindings/mux/microchip,lan966-flx-mux.yaml create mode 100644 drivers/mux/lan966-flx.c