Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2148428iof; Tue, 7 Jun 2022 21:21:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLmV3lThgPm4a8s5uJYH5WxtYmmVfIacijmAu043NQgjvc91Ks4RUOveBEEMX6+J3gNS+U X-Received: by 2002:a63:471f:0:b0:3fd:fd53:9b2c with SMTP id u31-20020a63471f000000b003fdfd539b2cmr6050621pga.528.1654662108333; Tue, 07 Jun 2022 21:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654662108; cv=none; d=google.com; s=arc-20160816; b=QPcdhB7b91XQaYfHUL8tZNqCFOjuumhCUiSjEXb1+iCEQXjS4jkX5WGrk3SO0Qaud1 FfpY47VcgumWApevhlUJWnJIvvuN0V+3KcctD6DzH7jtw7QqnrV7+a94L44We3kQNmnC jHefev0JRmdTSOQhfxXyXVGcUqi0u1LRLN/52DK30cSma+BnKnBwNYetcVKXkSCCI8zF j39oWQ2iaqCJWC4nbjZD0NDdtFzpMIMLG69s2w9Wb03FAlWN/4c8XPcpadQ9vnffk9NH bYaP3hyFMtFVq2EbYWLlIq3HWI11B/SndiITn+C1QdprFyFX2GTqnh1ePIt+OVIF3enA 3RGw== 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=4ktEuU34ucMnnFIvQbJHtxNhWhpHp0jH6AYp27ytRlU=; b=fyQuafHzapyygHCg5tvzNvKIhStGAsJJnIFIxsatoCfTBtBnOW8pxM15B+xkKAhZzH 2nuEaQOvLV6lN0EHZPwTX2tY6knt2gdO5ItPWoeqqgJzbM4xYD8VqGY45TlTUXhleiuw NklIu1j/pWOLj5zoSliZYbhPG/X+wYo5LlMSZ/GK7UPItssNaX0masGH36bA956PqH/x jmS/xnLLaiIaGoOq/uFXRDiQXEtmSGEXTkqPowtGV8cwKcRhW8vEg718M1qpc2kigpas rIalkb7iXFB0Jy/0Id2NvRm1sJWwLLzdGA1ZvQ++09XsEVhG2/qgXZEQ0retpbN6b2KA GLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=BoWrDpRo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o62-20020a62cd41000000b004fac74c8c8asi25328819pfg.329.2022.06.07.21.21.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:21:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=BoWrDpRo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4416B149A95; Tue, 7 Jun 2022 20:53:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343514AbiFGOr7 (ORCPT + 99 others); Tue, 7 Jun 2022 10:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243135AbiFGOr5 (ORCPT ); Tue, 7 Jun 2022 10:47:57 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5DD3DB0; Tue, 7 Jun 2022 07:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1654613274; x=1686149274; h=from:to:cc:subject:date:message-id:mime-version; bh=gRbhG78MY8udPJw/imfYfbVX4LURQtV185AXL5K7JtY=; b=BoWrDpRoZfkl9gD9wcGRZ+2xpEHqdMXWRaLS85L/gSsHX1cLqBRofJLs 6CuJVuc4QtQKNcergU4FPD8lqUhoLdtuOhXNdAazR0Pzo6cpGuTiPsTPM 8LaqRxohu6dyP27KsDCrYVAAONcNxsZKvnFviH6uqZzOJ+cwecCUVsUX1 dzBC4ueRxUczFg0St7tvr7VVzp7Xg3WKaRV42T91MIdtb1jxJdzJT+Jg0 Gm8pbiGzcHO8tNOuS+JXxIDeLY/ZD14vNUGUIbdQi+mVWsbRpMGNLHz0p G/ZtUuvlD2SqeF5bMtNKIG+FoZGOd+lz6VloajHntG43gdwJPdNU61Xdv Q==; X-IronPort-AV: E=Sophos;i="5.91,284,1647327600"; d="scan'208";a="162250811" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Jun 2022 07:47:50 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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; Tue, 7 Jun 2022 07:47:50 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 7 Jun 2022 07:47:46 -0700 From: Kavyasree Kotagiri To: , , , CC: , , , , Subject: [PATCH v2 0/3] Add support for lan966x flexcom chip-select configuration Date: Tue, 7 Jun 2022 20:17:37 +0530 Message-ID: <20220607144740.14937-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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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. 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 | 134 ++++++++++++++++++ .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 -------- drivers/mfd/atmel-flexcom.c | 93 +++++++++++- 3 files changed, 226 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