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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0371C43334 for ; Sun, 12 Jun 2022 15:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237452AbiFLP0O (ORCPT ); Sun, 12 Jun 2022 11:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231373AbiFLP0M (ORCPT ); Sun, 12 Jun 2022 11:26:12 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82CF5E0C8; Sun, 12 Jun 2022 08:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1655047571; x=1686583571; h=from:to:cc:subject:date:message-id:mime-version; bh=Q0onuyl5eTrkYqFlMMv+/M78rN5v5VPQYnAPHZB5rCM=; b=hNhS8io2Jt1g6wJG0d0Df4uOYMkEgpquUUWMD22X+rHtx3ytuvkJjg+n PKe0oYCBkydT4EbKyqnCdYNFU43M0AZA/yJtOw0oWTYn/hqF0htBXPVAd ldYaGD57PdFbpBuyk6cxGd/mEDzYuWxaRuG6S6T3nS5g72yctPungppT0 vqDLWVfzfaZrzqe6b6p1rHopVIvyVhaoZEmIifDLeBk7zK7boN+yetjEm 5cyvKVLLY9ZtLwa68LgeRVlEsbdLXZVddGxKa02OQDa7GlscGmjmy/OLa TQpFKfpxcCN5P0WApuGiHjsSIP5uQlLRgxUnoayEawrO/e1Swx0p5qu7u g==; X-IronPort-AV: E=Sophos;i="5.91,294,1647327600"; d="scan'208";a="99654529" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Jun 2022 08:26:10 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Sun, 12 Jun 2022 08:26:10 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Sun, 12 Jun 2022 08:26:06 -0700 From: Kavyasree Kotagiri To: , , , , , CC: , , , Subject: [PATCH v3 0/3] Add support for lan966x flexcom chip-select configuration Date: Sun, 12 Jun 2022 20:56:01 +0530 Message-ID: <20220612152604.24280-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series converts atmel-flexcom bindings into json-schema format. Adds support for lan966x flexcom chip-select configurations and its DT bindings. v2 -> v3: - changed IRQ flag in dt-bindings example. - added reg property specific to lan66x which is missed in v2. - used goto label for clk_disable in error cases. v1 -> v2: - minor fix in title of dt-bindings. - Modified new dt properties usage in atmel,flexcom.yaml. - Used GENMASK and macros for maximum allowed values. - Use u32 values for flexcom chipselects instead of strings. - disable clock in case of errors. Kavyasree Kotagiri (3): dt-bindings: mfd: atmel,flexcom: Convert to json-schema dt-bindings: mfd: atmel,flexcom: Add new compatible string for lan966x mfd: atmel-flexcom: Add support for lan966x flexcom chip-select configuration .../bindings/mfd/atmel,flexcom.yaml | 174 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ------- drivers/mfd/atmel-flexcom.c | 94 +++++++++- 3 files changed, 267 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt -- 2.17.1