From patchwork Fri Oct 15 13:25:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12561545 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 56321C433EF for ; Fri, 15 Oct 2021 13:26:42 +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 240A661151 for ; Fri, 15 Oct 2021 13:26:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 240A661151 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=RmfmobD6kSGDlFj2oQ+d1RfyjjOVkguIgpGDSwKVVHc=; b=mdamMHJrotcwaL nFvfvua2/TP9FPdCpGp+yrHVbkU6Q9gGx4xpQ5+/olC2442RsQGUDg3tQoOn+vd36MShTRy1HVg7C GgFHkbWUPlrSteNVEzMNAPbBsDaKcO/UVTR26NXtuvpit4U0Da6dbQNN8MR1JIBPLqOOPLl5vwj47 rqdvSrewjcCNsUGTGtfpLdHQK+4//nxYE3Ecs58yL6j94SJmzsKA6mbmnKzcNkbF8Tx5w0HVBamoI 9Gp76MsNvjqqOhPnY7wpdlB9k8DV0B2NFBzbcINEppnxPomk+64Ka1Y+5OzL40Temaex1i9Lxj65R 0iDBTJPYXgmJo3ebTYDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mbND3-007BzN-Sz; Fri, 15 Oct 2021 13:25:18 +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 1mbNCz-007ByD-WE for linux-arm-kernel@lists.infradead.org; Fri, 15 Oct 2021 13:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634304313; x=1665840313; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rmf3/CTvHOYsMOoYG1qTohpi8i7hVFFCkcZosN22AQ8=; b=IXEHBXgrI9gfx8+4BvjkLfjgQv+zE32/+MuI0COr5BEr5rciJugKo3vq LlIgSPCDANIEC9rtLs5KGl2/hqv94JUZ3XHP3jkOv6qHyfGrn+GUuy0wq 0x3zFQtF3oU6b9FUuDxY6ENBUGP+v1jzlVYEPnOEH7sDWgoESqPxX982X xQtVV4njjNG7isldrsrvjRndEtfyaxzbin9xs/wUkiNPMVfonH2/EwE/T OtKtna7j4jLtLtes2TYERkk8kAhW1Ffhk3CJiG1vY/jBaY54O9NIGuSqi bQIRak2eCIJoauTuMUxepo6j9qXK/c1w8w9Ee7FQ52klsnaWddy+yQII3 A==; IronPort-SDR: j/LE/Cbu3hNCnIgHOntnkSC0+XsWCRvmhrQTGfAjDnBNJkRUjgB5E/BlQKzPrcQYXa6OQ2izWS Yi9hqtgYioTPJsefY0yD0QUJ4vHSSiKCxKdRl8dFhnEr9dovQGEITVgo+zEY0PA0xKmaa0R+We 0vqFeFX998hhA6fGMklqfQM3TiDB0n9uOvYwPzQnjXZvBcHL46AwGJXfyFcLuPCLR/xwxwrKZj JsSHKR9hmbU9c6gxo4E+0H87n/QAdXSitPLhJ8RsC3yBviaRQwLkR9+kaHH7SEZG1TOE16zeM6 5R+ZARUCQ6N6e/P96XXh4FId X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="73075269" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Oct 2021 06:25:12 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) 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 06:25:12 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 15 Oct 2021 06:25:10 -0700 From: Horatiu Vultur To: , , , , , , , , , CC: Horatiu Vultur Subject: [PATCH v4 0/2] pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver Date: Fri, 15 Oct 2021 15:25:24 +0200 Message-ID: <20211015132526.200816-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_062514_122870_FBF68717 X-CRM114-Status: UNSURE ( 7.20 ) 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. 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 .../devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml | 3 +++ drivers/pinctrl/pinctrl-microchip-sgpio.c | 5 +++++ 2 files changed, 8 insertions(+)