Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1220578iol; Sun, 12 Jun 2022 09:21:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXnAaenfznpoQPZe3VjISCIAVlo1OQ6Bu9ZI862dFGFAFr7B15xdz2bkbk3OQz7DckrCJq X-Received: by 2002:a05:6402:1741:b0:433:4e4d:bfb4 with SMTP id v1-20020a056402174100b004334e4dbfb4mr15195381edx.7.1655050902125; Sun, 12 Jun 2022 09:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655050902; cv=none; d=google.com; s=arc-20160816; b=b0xHrTbmuU8l7dok0NX42sZpo4rTA8gHHDJQIKzFDAmayoVBorU6cv/aKP3J+F8HrM 9JE1p1RUzLwcv+Dko8Sc4MNmMOT2Ny0JbfCd2edfg3el1sdX9cCf3Z9BQ5jBl7i7uwe1 yD/pnS2TYQIrdVYDONKDAsqETYTexrwpRKyEAI6maXiZmTXipYwPOiHrv/o8OO5ov8bX yQFxtB+NnGZNsKI8QTKlVW8l5bkj89hSc57Bp2xzI9liqU6vC5GSoJ7hR2ZiGhDuB/Xt mFcPBZUf1Xpj34Y19Ae3z3jorONYoIAsH1QclR+1+T3pVlV/y1yR0DiNUFIMByFgDNUj Empw== 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=+AHORQU6ge+ClKiOo7L56a59rGaYG7U2e0KDk7ZlpAc=; b=nAo8EZqLl2SG+vLIWh8ldIEipnM7JlidBVVyHxiJ+BPmyF6xX4rJbIaTZI3iS2Pntk uCy7NtJzMni/tVyQt552hBHhSfnchU0bXOaJYLVnSNqkCvUvqcm2OLwyB3nbUDS7+Hob lWrrjcRs/eRcG5tBugYxOHixVWgjIpbT5eDafo/HyN9QJZ9ebTHBDjoFAJyGaexcqoNN DNvHJ/jD+Z9YOf96/kkOoQCFoQSt3LVBywyUckA/v36EG1jDphjde+ZfWZRe7smXqgBI NrowJFJ89olUie/KhT8UbluNIVRbwP0/loHkLQKyBio6hpUasicLGndMgYCndNar8hyy s4yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=hNhS8io2; 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 x7-20020a05640226c700b0043181c74405si6796277edd.22.2022.06.12.09.21.17; Sun, 12 Jun 2022 09:21:42 -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=hNhS8io2; 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 S237289AbiFLP0O (ORCPT + 99 others); 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 X-Spam-Status: No, score=-5.6 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. 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