From patchwork Mon Oct 18 08:57:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12565387 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 6A038C433EF for ; Mon, 18 Oct 2021 08:57:56 +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 34641610A3 for ; Mon, 18 Oct 2021 08:57:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 34641610A3 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=z3IBNPDV3DtmqEr0FdR7/bfhI5Mr2I6IPHBJ5bf6DQ8=; b=ghogFuLYpm6S/k LnRaen/htJg41PT0Ec2KrOkZEhDgfPFAowCi9U0KD5ZOw2gpmE8vLrMRq2WLEhPLaPZty9ctIL/SZ h8aPeWOTIBetc+hR2qYyYPw7ncqK0overp1oKAxLvFyBnUJ6CDbzsbgzt5btMrOIIhqQiHR7YqbiJ nOBdoHJhoj6OxYkMMNUZbnTr2CF+iiSwcx1UhZt3th6y5gkjUYbwBDXAKV4jbHNcw69v3whnDNc48 8z3mIiOKO/NJlsAXR41qDjEzSESrGnO8RBWEkHr2fe10iZU3w+cnuFAUUoa24L4XyjgQgO47pMCS3 7po/6vyGvMAaiJsNFiKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcORg-00EiLe-Hy; Mon, 18 Oct 2021 08:56:36 +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 1mcORd-00EiKs-6T for linux-arm-kernel@lists.infradead.org; Mon, 18 Oct 2021 08:56:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634547393; x=1666083393; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4QCbsoC9KdhFg+QiSYzGg8KwlZxGWoWVEktTeAQXuKk=; b=a+zBCmxHvNUEqtaXGr1jWyR2ozDKu8xC8IZkfem+aTwjo5Gzj7y9U9Sy 4K1/s/OoTOrKwUjnA1BCmv1vys3hxfkNlygk9s8257B7rBqUzdKDIi6oR sA+mf1WMO1FH4I15TWl1PIXxHosYyPkdrKEkktBmAK4AXEWn0l2bUOqGd wekISQsoIdGaf2309p5yfgVCYd8FaSki2PrZco7cSfNLZ+f+awiqulRfu aEp6Plfxxyk7eg2xP71B1mIaDm0T0fJMBj5qn2jx+aEW7IDgOiLldgmWO AVHv6/cpip+TETraSbUTLQb653CLH124tqHu/eJxSPFemsEZ5pPOH/DsZ A==; IronPort-SDR: ldAVD0elYh2YQjufIKWzV/AEOFjXxgkFNZEwzkOKFxI9iKOyWr9aALvNvLs4NzIx5n8Ivjo9s0 L0Y64aPuOzyDOxLb3CChSe2XHMkJlwDtNUyiEKRh/nqgaNuBl3KN4e0ZZDeyBguh2zaFXxjxnQ 4zbOPikfE+SipJdIzp3phrinfpvXkf14NWLdoq/xUL7ovnA2g1SmP6WhTPl5OBTjHWyL51INuG KtntEuMiul1ir73onm3dEoahun0ijhFteorL4kmyMtVODwnlgg+xCK46qN4JxCZYfcAIDye1ww 2Oshv8BMv0Yw73HizGqTyydu X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="133408733" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Oct 2021 01:56:29 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.2176.14; Mon, 18 Oct 2021 01:56:29 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Mon, 18 Oct 2021 01:56:27 -0700 From: Horatiu Vultur To: , , , , , , , , , CC: Horatiu Vultur Subject: [PATCH v6 0/2] pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver Date: Mon, 18 Oct 2021 10:57:52 +0200 Message-ID: <20211018085754.1066056-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-20211018_015633_364551_B2752BD7 X-CRM114-Status: UNSURE ( 8.09 ) 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. v5->v6: - fix warnings reported by 'make dtbs_check' - add back the name of the reset line 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 | 7 +++++++ drivers/pinctrl/pinctrl-microchip-sgpio.c | 7 +++++++ 2 files changed, 14 insertions(+)