From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DA71C282CE for ; Wed, 22 May 2019 15:29:45 +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 639A3208C3 for ; Wed, 22 May 2019 15:29:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IUVXfIcq"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="C0x6m+kW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 639A3208C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=YoD+eAJLutFSIiJo3x1XOUDsWP2uqVIaekA6022J2Ng=; b=IUVXfIcq+9nwoY NiEH7P17B0OutkWHmYvhARfSZnMjbJWsKSS1qovNFnl/BcBBPwnXjzbhCEHJ0ESLRfJsFL4ow9VdK rnsyJlK892EnB5XYEisOjTVRnwvfexzND3OZwYKPUmHkF2psdkBnWzh9PJKIrRa45zVEp2JrE3Hlm R47x0xL3tYc9C+SDnuYxiPmS8pGK0VzP1D+BoRcnNF4mhX9O+FVkVQqNExay8EgmJYg9XYK5POOkt IdwlS6hMrYcsSRnyC/L24hGU1gui5uPmFemg9yU/CDNE+/KxlqwPmjjk7R3XhM8TQC3bKPCqbMotH Jw6/My3KlCQRJiep4hAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTTBU-0003P9-B3; Wed, 22 May 2019 15:29:40 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTTBQ-0003Mj-JA for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2019 15:29:38 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4MFS0QP013371; Wed, 22 May 2019 17:29:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=af5swlhbaK9EFB2Ce0GcSHjdnw9kOF0tq2rYW3RXNLc=; b=C0x6m+kW21kL/j3aH0KfBVEmmxXa3xcTqGOG7ilBvScnzb3g4JZXqkiTNOqUc04n7wzz dDfqm2ZRomEm+5PXw6T+WJnVw7vDxpqegPk4AFmJob3h7tMEUKJeoSMHMKE0jitdrYqh KhwMmmt8S1qLTrNXrCGF3zp1fPN6cmip2722PiTFuqVRefGidItaFVYNmu/4I51FiSHq k+T7LUIyOTvPqMWQNk+F0fEyyJmH7gqPy4k6FlIvX5uMYRpAfcBAn6MgUiCFrYYbIHg6 SB8mLJCfKhLCchjamgAH2dFcOXFt5yzxGS+Qvbb2sNQNe+8bRK6c0TPbl24xRJ17wEl/ Gg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2sj8xgh9jm-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 May 2019 17:29:29 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E0DCE3D; Wed, 22 May 2019 15:29:28 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BB7642CD5; Wed, 22 May 2019 15:29:28 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 May 2019 17:29:28 +0200 Received: from localhost (10.201.20.122) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 May 2019 17:29:28 +0200 From: Benjamin Gaignard To: , , Subject: [PATCH 0/2] Allow pinctrl framework to create links Date: Wed, 22 May 2019 17:29:23 +0200 Message-ID: <20190522152925.12419-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 X-Originating-IP: [10.201.20.122] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-22_08:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190522_082937_109903_0BF37C64 X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Benjamin Gaignard , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, benjamin.gaignard@linaro.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some pin controllers may need to ensure suspend/resume calls ordering between themselves and their clients. That is the case for STMFX (an I2C GPIO expender) which need to be suspended after all it clients to let them call pinctrl_pm_select_sleep_state() before perform it own suspend function. It is the same problem for resume but in reverse order. This series allow to let pinctrl core knows if a controller would like to create link between itself and it client by setting create_link to true. Benjamin Gaignard (2): pinctrl: Allow to create link between controller and consumer pinctrl: stmfx: enable links creations drivers/pinctrl/core.c | 11 +++++++++++ drivers/pinctrl/pinctrl-stmfx.c | 1 + include/linux/pinctrl/pinctrl.h | 2 ++ 3 files changed, 14 insertions(+) -- 2.15.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel