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 6B8DEC433EF for ; Fri, 8 Jul 2022 11:57:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238117AbiGHL5G (ORCPT ); Fri, 8 Jul 2022 07:57:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237909AbiGHL5C (ORCPT ); Fri, 8 Jul 2022 07:57:02 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33DB9A6B2; Fri, 8 Jul 2022 04:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657281422; x=1688817422; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ta57q+0ptWGytEDpLrQro8nAHU6O7/jtI1SRgtlncZE=; b=aPMmoyGDhYmjCtoLt65tmWertfqZVqkMqxo1mkwr/lnzGDIAg6x9bbe0 91TR1Jtgi2zYgm/BrDQiQojVvBidh3C4f4mxw3519nWKH/jT0Qc3m8/Kh K/gw7eeV0V76GbI7x4j7E9WPNJn1R8vk7ASFpRmty7CK5QcscKq51qlq3 3Xf6y8URiQ9S27x/dkhASmWZdTP5ccNEHiVqiFDebzXWIaCJcmVWyk/F2 Vc09Q8btgnXlw92wQlJ9qOdpWcrrQf1SQCHHN8h1SnjZJl/jtSedS6L3P uF540mq1Zhr6p0Nhpy8hSd9PGlxo6PX0dXysOi6JVH/+pBBqUwpryoMUl w==; X-IronPort-AV: E=Sophos;i="5.92,255,1650956400"; d="scan'208";a="171312653" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Jul 2022 04:57:01 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 8 Jul 2022 04:57:00 -0700 Received: from kavya.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 8 Jul 2022 04:56:56 -0700 From: Kavyasree Kotagiri To: , , , , , CC: , , , Subject: [PATCH v8 0/3] Add support for lan966x flexcom chip-select configuration Date: Fri, 8 Jul 2022 09:56:16 -0200 Message-ID: <20220708115619.254073-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. v7 -> v8: - Added back patternProperties for child nodes. - Changed compatible string to microchip,lan9668-flexcom. v6 -> v7: - Change filename to atmel,sama5d2-flexcom.yaml - Add #address-cells, #size-cells to flexcom node - Fixed warnings. v5 -> v6: - Removed spi node from example as suggested by Rob and also pattern properties(spi dt-bindings conversion to yaml patch is under review). https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220629125804.137099-1-sergiu.moga@microchip.com/ Once this is accepted, I will add back spi example through new patch. v4 -> v5: - Fix indentations of DT example. - Fix dt-schema errors - removed minItems, maxItems for allOf:if:then "reg" property as it is not required. v3 -> v4: - Fix dtschema errors. - Add a condition to flexcom chip-selects configuration as chip-select lines are optional. 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: Convert atmel-flexcom to json-schema dt-bindings: mfd: atmel,sama5d2-flexcom: Add new compatible string for lan966x mfd: atmel-flexcom: Add support for lan966x flexcom chip-select configuration .../bindings/mfd/atmel,sama5d2-flexcom.yaml | 155 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ------- drivers/mfd/atmel-flexcom.c | 94 ++++++++++- 3 files changed, 248 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt -- 2.25.1 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 556D1C433EF for ; Fri, 8 Jul 2022 11:58:17 +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=mDHv0pZmq0s4sYBu8VcOO0gXRaugJPN0S2aCf5fvY+s=; b=G5Yyo6WcrvTCE7 7sDO9qfV+1KyvMoKscpus/8XvLDaIv1jMDg/Gg1rLPJBrEwqOlJ4pknWLxwt5dyfVEtCEtX09PaWM Fu9PGjevArsXpJtz4cPtGDGH3pSC8UVCiRnltbhP5Oghx/bX9UTNEoe1O1NF/MoMSCndoWTqOsizX uU7PwX/YQ+IZZCMat2rhUTl7srbgqQwLn6pIGw1CQgOOIogXOrnrqlqyi2o4mcEZUSF42go5u000I r8f4A5+z2Zu1eRsg9EVI8WvWjtzmC0cPlxTKKLAwKWHkkJoPDV08sqM/DRXQcKChhIbnJAdT/AcaL CIErZm20vpyyMDV1TMpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9mbd-003VVu-54; Fri, 08 Jul 2022 11:57:09 +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 1o9mbZ-003VUd-Lu for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2022 11:57:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1657281425; x=1688817425; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ta57q+0ptWGytEDpLrQro8nAHU6O7/jtI1SRgtlncZE=; b=lN9NH1zpalfOahD47HSfHO1cOz/WRAtx9tIXMoQhMl40VMWPGkIY7Zsx 4xD8xIM80k5iP9YO0MB34GONO2nxSlmFnEVlAkayDqXm+QLkn0ogxLdK1 L8GRYWKlUMnTq5BVd2hgsNQnc6oQoLQzhZeifWOmnk1O9Sp27CsnowD0v fWnjHTDm+XcCB5EXEGzRTnYi/ZMe9q1J2JHV5ly5eZYtIuvAhYYV/Omep 90yZvldLR9ELrRNl29RBMdY5BlAr9YQbWxGmGKgC/ZBpLsF5OSdrU3i+a OUImdMAcASDw2YFPwWEvMeZT3BPOw+ix4c9D8yjU2WbrM9lwyeMKIApHf A==; X-IronPort-AV: E=Sophos;i="5.92,255,1650956400"; d="scan'208";a="171312653" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Jul 2022 04:57:01 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 8 Jul 2022 04:57:00 -0700 Received: from kavya.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 8 Jul 2022 04:56:56 -0700 From: Kavyasree Kotagiri To: , , , , , CC: , , , Subject: [PATCH v8 0/3] Add support for lan966x flexcom chip-select configuration Date: Fri, 8 Jul 2022 09:56:16 -0200 Message-ID: <20220708115619.254073-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220708_045705_802243_C4658F50 X-CRM114-Status: GOOD ( 10.23 ) 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 This patch series converts atmel-flexcom bindings into json-schema format. Adds support for lan966x flexcom chip-select configurations and its DT bindings. v7 -> v8: - Added back patternProperties for child nodes. - Changed compatible string to microchip,lan9668-flexcom. v6 -> v7: - Change filename to atmel,sama5d2-flexcom.yaml - Add #address-cells, #size-cells to flexcom node - Fixed warnings. v5 -> v6: - Removed spi node from example as suggested by Rob and also pattern properties(spi dt-bindings conversion to yaml patch is under review). https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220629125804.137099-1-sergiu.moga@microchip.com/ Once this is accepted, I will add back spi example through new patch. v4 -> v5: - Fix indentations of DT example. - Fix dt-schema errors - removed minItems, maxItems for allOf:if:then "reg" property as it is not required. v3 -> v4: - Fix dtschema errors. - Add a condition to flexcom chip-selects configuration as chip-select lines are optional. 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: Convert atmel-flexcom to json-schema dt-bindings: mfd: atmel,sama5d2-flexcom: Add new compatible string for lan966x mfd: atmel-flexcom: Add support for lan966x flexcom chip-select configuration .../bindings/mfd/atmel,sama5d2-flexcom.yaml | 155 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ------- drivers/mfd/atmel-flexcom.c | 94 ++++++++++- 3 files changed, 248 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel