Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp441417iog; Fri, 17 Jun 2022 06:33:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uXj4z+8fOSWA3fjZ0HxnaqjGnxpIxH9l9suVerLmO2Eh96aDmTMQp0EKsM/JcriBVjczEb X-Received: by 2002:a05:6402:d0a:b0:421:10e6:2ecc with SMTP id eb10-20020a0564020d0a00b0042110e62eccmr12717152edb.329.1655472806029; Fri, 17 Jun 2022 06:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655472806; cv=none; d=google.com; s=arc-20160816; b=OJpCXRi5GQ/1IcGz93KtZE5L686K7WKObob9V+W5IznnTbpOR6dCcGnQMmpHIlNYv4 31UFsrzBZH0KBl8g+zvEx3aSips7/K9RMo0W/PfykIuyLv14WKUWerm1D0hJQ+CoHNXe UWEcaLA0ZgkTBuE2DA31nOlYtGF5pdJXl/cZmeDIOVT3H1DMVvJCVbceqCgMhUbrPYKQ QNRGpmCgTIX3I9y+G2IYhZi3py9yLvK3y6z02XXjKUyRp/J5U4QYslH0CKQdW2XqZlSo JRhCGXscpsqjIULxpQ27gDuV1eSgKMX8qcrdZnTKX/fHWU4o472exhxmUXSl3AqA+iMv 2ElA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=5x1GWvwMe2MiWhgINXMlOlRMsGr1L74+sabx9gS7VRs=; b=UO8mlk+Pn+z9LOR0eWs1yUOkUQsSSFSh72IO5i3NsMsPCAPGFPzT7G+4LCsKebPEXM hXmpekZZ1znsLbLSKds7BvFrhvsWoks9bnqPEGjhdT4iIYg+d0q5ZEbmrPejdmHKMukY 0OaUnslyj/fqktcb/1sJ97IvaOt+q3/bBg2SdxYsRAuJpZJXvMiEQxdfT4i4mM0K8C/4 yxrIxyYSDgVHk+eBftvOFhhGgP1GlilukAmGE7pNW4PZzBln8VSEEOKbUHIPQDbu/8iq ujix7h8PBWVYvk/RLre5VHy+6coWoqeEa2F4Sv61vC92o4DfMqHS0r3QQeZN90gUsOmT pSKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=v+O6sl8C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a17090699c500b00718cd011cd9si5197487ejn.59.2022.06.17.06.32.59; Fri, 17 Jun 2022 06:33:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=v+O6sl8C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382207AbiFQNHx (ORCPT + 99 others); Fri, 17 Jun 2022 09:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381190AbiFQNHw (ORCPT ); Fri, 17 Jun 2022 09:07:52 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED0E710FC9; Fri, 17 Jun 2022 06:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1655471269; x=1687007269; h=from:to:cc:subject:date:message-id:mime-version; bh=iQ6uwTLDbNgDEjYbGxxIcJvfaqOsqhzEEw1djk0kZik=; b=v+O6sl8CnGpGWT0/3JawNVvzOm5yc7T0vJjrskXeKE4qoXW4bCRmq/t6 LT1C0u/dFeg1bbYvqUttmOWF5toC0FAdBReq9ulrejll+mN8iJ6g5nzRL LwC23jLmkobPvYL/s2eyv+xxckrDVbmsbQ/23sm3rUtFBuKxLJhsXS33q xmvZtmrl+B9p0Ilqs0X3xFIsF0A5+gECLasUvMSTrjtSewBBNB+S96061 Z2qw3814he+XaKTVNONEj/k/sCOLk99HU26TJWCgu/wn9WwH2X2E1rf6p 85YwfeiB7j4qN5zd3wnAm62G/u/BBhryiOY7sFN8uc+7Qw0WvAWcYS4f3 Q==; X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="168546428" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Jun 2022 06:07:48 -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; Fri, 17 Jun 2022 06:07:47 -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; Fri, 17 Jun 2022 06:07:44 -0700 From: Kavyasree Kotagiri To: , , , , CC: , , , Subject: [PATCH v4 0/3] Add support for lan966x flexcom chip-select configuration Date: Fri, 17 Jun 2022 18:37:26 +0530 Message-ID: <20220617130729.12072-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. 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: 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 | 182 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ------ drivers/mfd/atmel-flexcom.c | 94 ++++++++- 3 files changed, 275 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