From patchwork Fri Oct 15 14:42:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12562229 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEB82C433EF for ; Fri, 15 Oct 2021 14:51:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 784F161181 for ; Fri, 15 Oct 2021 14:51:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 784F161181 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=5BniB89a+T7Evven3rbAIWgvJrJWkdq+rgAQJJOeEAU=; b=y0VDhKfSZuE9rJ dyB61rvN33+7ciwtjJYpFRHUCF18xgdrRDOc/eroR3g3Zpbbe3c7fkoDpRM2fAjDTU/s7lTRj+lto SLdsNavOm5ltD6YPnQPT5kziLfp7NqT5PpbBJz5Mv14VdSvXtwWdvNd1JG7TiJ0C9m6+GEnMacwvF VtpKgbVOQuTn5qCRVgW5jBXcxEe4Ns/A42dVfPDuxE77Pfuw1c4SgJRFCDeEC9fBclMp6gU4sd57n NUWDHD59YId/Fr2NPazuT7rC23O9RTLKFTUfWtqLukY66QkivOpjWawVHCckEHGCAl+5iQseRulmI pTJuaeo590HVcNHtbdAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbOWw-007ikA-0s; Fri, 15 Oct 2021 14:49:55 +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 1mbOP2-007fwU-R7 for linux-arm-kernel@lists.infradead.org; Fri, 15 Oct 2021 14:41:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634308904; x=1665844904; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/goTSRahbsIqfRa7LYsf4UTbJb7pkbOHZ10tl9Z7LFU=; b=Dz8FgLBq8j9OHMo31Q2fpQBdEMatauyxrR6mHfFeTp8iz+UIhplU8Cd5 IQ9Ze8mhvgVW/X4sEXEf4U6Bhby4lLZY7cE/5mt4aU5afszPbvG9Kt6IR LPgu5JgSL7+QTGRbvIR800tn/UmNL2hpdfHRleCODECRYEnZ4BqVWtxfm fPGv0QfVl+TU50/zy7SFmc7IciYopOshw0EiT6u51RGW0KVtGcGzcv7W+ I8PkPo56oSbsKBZG2ZnWbZlONN/+mWNNCOlqkgn1et7jY2Qa5PGCJJQu4 VWb03YC844xs5Dh0PVUI0jdhfl8uW/FPFR2cYPx/WP4JKO1rpu4fO5O0l Q==; IronPort-SDR: 4f58+Kak86+gCKsi2336qSPe8FqlhX2/D3R3ixnTB5ShLryZ5Tv8crFCpsod0LFCuWf2gs4RqA PS9y8Lmv/RXlAqkkT87B4wEHugjQNpHbct85hx10SgsDGBMoFECuKL3VsgzRdjIXGx5niBbpVb socrb7ijBmVScf4m178wrr2yAPFvmvWEzKbeFnfFX+HW41oX+0+kyl+vLenwdGX+3PmIYtgonW xxeXNWKp6+1fUtXoODfbjA6Ec0tO7/0i7/lvti6L6CPzSkIf7M7xl+izqgykbMmxtNPSJpJ4+F /W/nHEUNoPzM6b7oYU2r4xnS X-IronPort-AV: E=Sophos;i="5.85,376,1624345200"; d="scan'208";a="133143190" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Oct 2021 07:41:42 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 15 Oct 2021 07:41:41 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 15 Oct 2021 07:41:39 -0700 From: Horatiu Vultur To: , , , , , , , , , CC: Horatiu Vultur Subject: [PATCH v5 0/2] pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver Date: Fri, 15 Oct 2021 16:42:57 +0200 Message-ID: <20211015144259.219909-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211015_074145_008840_B1E077A2 X-CRM114-Status: UNSURE ( 7.18 ) 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 allows the driver to call an optional reset driver. v4->v5: - check the return value of devm_reset_control_get_optional_shared v3->v4: - use devm_reset_control_get_optional_shared - remove the expected name of the reset line v2->v3: - fix warnings reported by 'make dtbs_check' v1->v2: - add dt-bindings changes Horatiu Vultur (2): dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add reset binding pinctrl: microchip sgpio: use reset driver .../bindings/pinctrl/microchip,sparx5-sgpio.yaml | 3 +++ drivers/pinctrl/pinctrl-microchip-sgpio.c | 7 +++++++ 2 files changed, 10 insertions(+)