Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1899635pxa; Mon, 3 Aug 2020 01:59:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWFU2GK3fQ+QGXBb4P/xOBXZhZhPvLl7lMNR7HdBe3fVuCS9twUsH3s78rSI0VcQmuk5/1 X-Received: by 2002:a17:907:100f:: with SMTP id ox15mr16350318ejb.125.1596445155038; Mon, 03 Aug 2020 01:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596445155; cv=none; d=google.com; s=arc-20160816; b=ehY2EcyqGeKtiiWBJgXyvi/CSSe4CG5s4/L28//gmDArjHqoGaUzAEsR64K53Zo/Eq nZ6ERvXuYVqm2I0uBc+U7pv+AQpG3S2Bchc11s0AfMIOjXfzLpmH6TteBzpP9Ya5nwk4 vNNyXHubrC3+zS442ZcJes0TbotE1PhAoFKdMMOg/NbgwQkPSogvElCpD1RpgMyv7vTX PKQpwgw0ybHKJmcVKQFQEcSQFkhVgtpzguSxbkaffZ/HMd6qvOfXa7ZlXwGjZTa9pI9R xC8zUgxL3AdCCkmyYqyRNYHFa5lWb5JW6KVvpe1SixRtF2GiMh15xwHdLBJg6anN/upZ 2m1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ERSI7lvLnv/tu/AUYaGM8CHfyvlRJpUTDWsBR5j2Xvw=; b=wZwstufchXBvQB+Ts+8qVTM0R3kb44Pb+eDkreqQWMS6yMdd1UAfb27/DHeMxWADOD 2MF0oCkrr57tAqovTEsD6PoA5/EAMWTXvRZqVyLBWBI4lwqhSBIB2YcRqAqPjXjXJmy4 INdePM1yvBtlmNKsSKOr+vy/PkSsfWZ1oukXCgIt/u854JHTNlQhGRDK7adZSe2okg8w +4tWyqaXkDsLKManJaU2Tr8S0DahUsBm1q8X9R6gih3ShgUnj4/utegTqObgg3HSfVjC YTCUNREHp2iSOnLoqtybto9sh7otfna52rdb+vJtcuW+sk9s8fR/oOWMSqyOMn8ciEvw bXUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GEKOq4tq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si9803197ejj.334.2020.08.03.01.58.52; Mon, 03 Aug 2020 01:59:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GEKOq4tq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726571AbgHCI5l (ORCPT + 99 others); Mon, 3 Aug 2020 04:57:41 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34318 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725806AbgHCI5k (ORCPT ); Mon, 3 Aug 2020 04:57:40 -0400 X-UUID: 96cee2b537f1408297909ca48114b1b5-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=ERSI7lvLnv/tu/AUYaGM8CHfyvlRJpUTDWsBR5j2Xvw=; b=GEKOq4tqqwW6xqawGaHXbMe+hHC8exyqRuyublY1HCUObDpmnSVWMDAd+BWB52HClfd1yKR+5/qR7vVfq11eAxXUKJcXbv8qJO0Z/kDRIWuOv3eVmD9OylJ4eWaeoslnoa9PIxffOUcorgcZMzfYjQ6+5jRaRKjfb9qq/sTHwPM=; X-UUID: 96cee2b537f1408297909ca48114b1b5-20200803 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 160316854; Mon, 03 Aug 2020 16:57:38 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 16:57:35 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 16:57:35 +0800 From: Hsin-Hsiung Wang To: Mark Brown , Rob Herring , Matthias Brugger CC: Liam Girdwood , Stephen Boyd , Hsin-Hsiung Wang , , , , , , Subject: [PATCH 1/3] spmi: Add driver shutdown support Date: Mon, 3 Aug 2020 16:57:25 +0800 Message-ID: <1596445047-2975-2-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1596445047-2975-1-git-send-email-hsin-hsiung.wang@mediatek.com> References: <1596445047-2975-1-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIG5ldyBzaHV0ZG93bigpIG1ldGhvZC4gIFVzZSBpdCBpbiB0aGUgc3RhbmRhcmQgZHJpdmVy IG1vZGVsIHN0eWxlLg0KDQpTaWduZWQtb2ZmLWJ5OiBIc2luLUhzaXVuZyBXYW5nI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