From patchwork Tue Jun 7 14:47:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12872031 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 85D34CCA47C for ; Tue, 7 Jun 2022 14:49:13 +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=YiWAlsvvk7xueyF1gQlHSjs5O69rmkdOZPljmT004dA=; b=mktLhh10CLPcKe QPT8H8VuVc28Zr7vWsko6Yc3SjZvOmsPuu+Cmt5NiyRGkGpo/uDu3DIzjrzviiV+9RlULGY31RHTf fVIRZvbwgSi8B3U0kluHAWYZEbPAcluytJ6RtsfqB+dsK1nky1F8nfbUrvQXe2RrOS5oCkUAf6yQq FHf3L7c0PtQSfQd/Vqrq2hJhgykuwCD1xIPi+jtMl9tOQMPebb8dxkzf09ky7legkTBPcEqCSZrx5 93EQedRjMA8XViXxcSSJF3R3xVILPuYLKThtTi39q8UyYpvN/lHCx37PnFJZkwGwE2zKABEqoy/eq ch8CTaUG0oYs9BEA+Bgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyaUy-0089gj-7g; Tue, 07 Jun 2022 14:48:00 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyaUu-0089eq-Tj for linux-arm-kernel@lists.infradead.org; Tue, 07 Jun 2022 14:47:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1654613276; x=1686149276; h=from:to:cc:subject:date:message-id:mime-version; bh=gRbhG78MY8udPJw/imfYfbVX4LURQtV185AXL5K7JtY=; b=DNnPDjMyOK+kA/pMRsQRfQi/5wpPPSOesHuLjXGlSVKyjeqqCkpp7JZd vIk2HqEb4gSKDncVbNpqVJb/Qxm5uJ96ykvDWCLoLmGRbo5ZL3dbHt2ur 5HbNe4XNKel6Fkuo2ExJvREiro3PEn7Or+yt9dzFsjbona9mbwIDiBX90 ysT16DuPLYClYlH7QJRYsY/CIWdQgKSt196DHnWbHghPxcRwQA82JrNtW GlGycKpXdppJpa9U9dnPKnwWBPsaXvQS4sLZdhfZ4l5Ctunye1m1IJrAr 2cILkAyuJUrMm2A+ii1OFKwT6gOpzh+kv0FOLlGRkoMUeSj7Dm5YX3SvZ g==; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_074757_109839_33996177 X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. 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: , 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. 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