Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp43196pxa; Mon, 3 Aug 2020 22:11:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyntOkqkZSLX87I/UggFbFe90E6PL8BPJo0STTtTTDvWnsfJU6JtUmGJ4oahA9rs2q8nLf0 X-Received: by 2002:aa7:c358:: with SMTP id j24mr18057383edr.377.1596517907493; Mon, 03 Aug 2020 22:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596517907; cv=none; d=google.com; s=arc-20160816; b=CD1Uazh2lz7/57Tgc5Gp22ntME6YHKmPhE40tu6EKo3ZgEy8EHFn9s62cntk7Z1oz8 sreWtyPmao+jFVIpqj/WDStWmCxsrP1t1mb4v3WfVF9DvoUg8NXhhMc/i/wnNpG4z/9g Jo3xmXeJVk8AtAMthlzOa52jxmTnP5AgCG9oZt/zd3rzLZ4WvFTOyWQmD6o10vJE+J3r zB1hUV6C+WhZqhnscg1dDhCm2IvV8Qj6YvDvUjS7XSVAEQMMl/eP2aL6HfTQtke3wTfa lSpJGk/dFgJGaafRkrcHGsV4ewx+eiTNdDOFABTkSAjQQLfo1A3sWOsmGdTybaabi+82 W4yA== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=HcqTMCQTc6cS8wLmYpdxtIBv3OwMvyeVXOAl4pmbLwo=; b=EXVzFW7IIWCb7rHv5WcqRDkSjs787Tczx3wYmq1KX4M8TG+G3bda9jDQJ9i8NaKS2p XUD704VFKzRkz95n7mEjTiEHY5OBR2vvgmrSUmRKsZBUyU+trk0eKcveuxxMEGoonMZ6 hlbAtlSjlF/tPuI+jME7C3iGQ3awGqQ5IMVall+n/wGSQ4BLopqrdF7QJ0vfGEelIDbR ZOt/STTvewUbLrbeXIQvL1GtVO8lkwgcFJCBKb4OVXj+RTVEK39z4AWNICtyIs54VNA1 FnKQm/cxmANIZP5IckcPsU674Baz1Z3vn8jjEIfb9+iXytfilxWiTMoI2oOLJmBH1Gl0 UKlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=NiOcZHdm; 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 f9si839168ejl.286.2020.08.03.22.11.24; Mon, 03 Aug 2020 22:11:47 -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=NiOcZHdm; 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 S1727846AbgHDFKf (ORCPT + 99 others); Tue, 4 Aug 2020 01:10:35 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:20337 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726000AbgHDFKf (ORCPT ); Tue, 4 Aug 2020 01:10:35 -0400 X-UUID: 797e73bc974747c88fe1266d237f519d-20200804 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=HcqTMCQTc6cS8wLmYpdxtIBv3OwMvyeVXOAl4pmbLwo=; b=NiOcZHdmhwCnv5eyaxQnmjiYjRDCQJtzmsCfSPczEPVplRmKlP/5HmJzdKMEmaRMUH6UfR8JSRxL/wAaOAXoe9BWqznSYzUzICRxs/+a9mj5AeMecoMLOmpzlkgoGIfO8ncfDQmtQMA12VoCSNhhw9U1Ile45DfPSo8K6gPJ2Fw=; X-UUID: 797e73bc974747c88fe1266d237f519d-20200804 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 391500231; Tue, 04 Aug 2020 13:10:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 Aug 2020 13:10:30 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 4 Aug 2020 13:10:32 +0800 Message-ID: <1596517831.27829.3.camel@mtkswgap22> Subject: Re: [v2,4/6] reset-controller: ti: introduce a new reset handler From: Stanley Chu To: Crystal Guo CC: , , , , , , , , , , Date: Tue, 4 Aug 2020 13:10:31 +0800 In-Reply-To: <20200803061511.29555-5-crystal.guo@mediatek.com> References: <20200803061511.29555-1-crystal.guo@mediatek.com> <20200803061511.29555-5-crystal.guo@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 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 T24gTW9uLCAyMDIwLTA4LTAzIGF0IDE0OjE1ICswODAwLCBDcnlzdGFsIEd1byB3cm90ZToNCj4g QWRkIHRpX3N5c2Nvbl9yZXNldCgpIHRvIGludGVncmF0ZSBhc3NlcnQgYW5kIGRlYXNzZXJ0IHRv Z2V0aGVyLg0KPiBJZiBzb21lIG1vZHVs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