Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1063878ybk; Wed, 20 May 2020 20:31:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdhabInSIvrw/4nkMJrJJjRKt9Rqyf2UEk24P/lUNAHIP2+n6luTN1vnUHKbb6fA6aakAP X-Received: by 2002:a17:906:b348:: with SMTP id cd8mr1753624ejb.139.1590031884043; Wed, 20 May 2020 20:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590031884; cv=none; d=google.com; s=arc-20160816; b=svPqfzreK88xTavfRZJJBaLVpqGumhBwBQoItXyEjWoUH8x27HYi3cNGFqHiiA9f9W j7mLRQfk+XCHhCotLoHb+T2ta3LwNeI08m+dJ0uJJUURq/eWUmNBSjsQuZGcmE2f1rEj +71Bt3L2j7n/qw9VSI9h+a2jWL4rzFfcc1grbv3vjPOAzVIAFUQWWbh+2rTlJ9j/ph0G 4MO9456Xfhn2AZ8ptp7HXqDcRlMGaYy4MRrw0f08lWu6TJ91Hfc8dxZYj+cAIy8PBfga 2NB/aC6oayQuX5zZdUfFss2Z4vP9O1/Pct2V+nj+NuVdI7CI7wRvvHNnIIuZqEVzZq13 zV1g== 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=/HKKyRrVUbiWfvKCrXHATyO2NgGyKxmnEG4fgx95eYc=; b=AYNJccXYLKhtoquJQmV4s0KpmOax6/8HuRZjNg0HWZX12XMFqoFX0JzN/8fXYUV6i8 Zoe9ZK8LIsnVGltu7MGVL6UE26PeExxxP6glUVcl/I3WgVf4qNbRTW7ohf4QQAYQibv+ vJ8KzE822IgRdMnHs2+S+mUl57BwV+qyMLM9LdzEDbYq1onWjUVCiKAp42VciNUb8ijJ 9L+RQJCBZ131HfgZJUaI6p6jgfOLRvCTElXKIe9UelZc5EybJ3dKOqJKXhIXUU9ZwTnV hbvTL0PyDPqiDT3oKRzY24tAAnnx9IThfm/ietBllYKuXqE3JE5JYV2qmwmc2NpHC4lo lxMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GCQ3Hsvo; 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 j17si2331972eds.258.2020.05.20.20.30.59; Wed, 20 May 2020 20:31:24 -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=GCQ3Hsvo; 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 S1727998AbgEUD3H (ORCPT + 99 others); Wed, 20 May 2020 23:29:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:32951 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726954AbgEUD3H (ORCPT ); Wed, 20 May 2020 23:29:07 -0400 X-UUID: fd4da85a0ed54b8581dcd7154d4795bc-20200521 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=/HKKyRrVUbiWfvKCrXHATyO2NgGyKxmnEG4fgx95eYc=; b=GCQ3HsvoPuYHhlmaGYQpV9OmlLoRLRUQdbqwstWmNDOX8hZK2FI8gkvn4Fn5qLFgL3qYdbLP9oiWAIDlbcN4HNodbLUsjIQOTQqqrtbNx9cEyt0135daAMyfcMJZJi0hMCoEx0FxF37K0FxSLCZCxVkpOMlvtTymsTJWXTEXw0Q=; X-UUID: fd4da85a0ed54b8581dcd7154d4795bc-20200521 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 361707849; Thu, 21 May 2020 11:28:58 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 May 2020 11:28:57 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 21 May 2020 11:28:57 +0800 Message-ID: <1590031737.26404.26.camel@mtksdaap41> Subject: Re: [PATCH v14 03/11] soc: mediatek: Add basic_clk_name to scp_power_data From: Weiyi Lu To: Enric Balletbo i Serra CC: James Liao , Nicolas Boichat , , Rob Herring , Enric Balletbo Serra , , Fan Chen , , Sascha Hauer , Matthias Brugger , Date: Thu, 21 May 2020 11:28:57 +0800 In-Reply-To: References: <1588752963-19934-1-git-send-email-weiyi.lu@mediatek.com> <1588752963-19934-4-git-send-email-weiyi.lu@mediatek.com> <7ad67855-a3f8-f979-8849-3765bd8289d3@collabora.com> <1589176947.21832.9.camel@mtksdaap41> <1589513724.16252.3.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 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 T24gTW9uLCAyMDIwLTA1LTE4IGF0IDE5OjUyICswMjAwLCBFbnJpYyBCYWxs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