Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17497808ybl; Thu, 2 Jan 2020 06:35:43 -0800 (PST) X-Google-Smtp-Source: APXvYqwzjYMfccO0KR/QZZzx0WZXDBabeuetAcWG0bR8T7tPoNEpF94vi56D61Rbk9AwEMeeHkrJ X-Received: by 2002:a9d:7d99:: with SMTP id j25mr77498967otn.226.1577975743719; Thu, 02 Jan 2020 06:35:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577975743; cv=none; d=google.com; s=arc-20160816; b=WkBMrHpIoneV/+a/XERRCTz053M1oREkINLzRNz63Lo77cPIx0w/2wAwCiJoyFn3wK 207ON0wabRJQ2ptq3e0f/BcHuDVTvn/UlFHBTWUhyz+vEOM44syDgkJ5dBbUiig1lYAo gX08g+xsJN6aAwFi6ca3pQbc3fmTL/h4i8kioQXnMeqssyxaR3hwB5LZJtddvZZUOi4k U55XGNTmwTzHONnwM7P8f0QFKJ2LItGrj7rDGAC7F8p6B9lQAY8mGTJZ7mXpbNdY/2Pe An2gNrq5MxTLp43gFrPdu88jDwKMIh58prpmB51D9DNpYsFsCCvIlk61ep5vln+281oX 7xRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=7ws/2CLTjP8vMi5Dul7dG0MX8VV3VEYyuEmNWiLnw0A=; b=GEA2bYF0WsWvYRp1rS7JHyySnHnw2F/zj5vXvaxDKkxbfVAG9eNsmwueMXS+NokPqi GsUyd1ieTSrDoeRpVzcTo28Li0FjSsBnRtfafBsllb3PfhbJejqTtp5AGpJHCYcqfQFF 6stOaR1jZGYHYJR9o4XShgA6o9gF029D9T6VqA1tPxygZSEfM13Y2m8kr4NY1EpcWZOJ u9cGGQpANRv3pirnISBNxj8vkjwFPSzDJiJng6KpQM06Q+9tlslyBmDZp97emmqI3Ck+ 4uyMpC/7zLGRllrWw9wpaZKdf2FLN7ic7CfRQLBbwJVTfxoO4tYBV5QT5XWcPdGCjewR VfQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si25748215oto.98.2020.01.02.06.35.17; Thu, 02 Jan 2020 06:35:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbgABO3u (ORCPT + 99 others); Thu, 2 Jan 2020 09:29:50 -0500 Received: from rtits2.realtek.com ([211.75.126.72]:48003 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728425AbgABO3t (ORCPT ); Thu, 2 Jan 2020 09:29:49 -0500 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID 002ETPCt014654, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCAS11.realtek.com.tw[172.21.6.12]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id 002ETPCt014654 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Jan 2020 22:29:25 +0800 Received: from RTEXMB04.realtek.com.tw (172.21.6.97) by RTITCAS11.realtek.com.tw (172.21.6.12) with Microsoft SMTP Server (TLS) id 14.3.468.0; Thu, 2 Jan 2020 22:29:25 +0800 Received: from RTEXMB03.realtek.com.tw (172.21.6.96) by RTEXMB04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 2 Jan 2020 22:29:24 +0800 Received: from RTEXMB03.realtek.com.tw ([fe80::71dc:5fb1:bef0:757d]) by RTEXMB03.realtek.com.tw ([fe80::71dc:5fb1:bef0:757d%8]) with mapi id 15.01.1779.005; Thu, 2 Jan 2020 22:29:24 +0800 From: James Tai To: =?utf-8?B?QW5kcmVhcyBGw6RyYmVy?= , "linux-realtek-soc@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [RFC 02/11] soc: Add Realtek chip info driver for RTD1195 and RTD1295 Thread-Topic: [RFC 02/11] soc: Add Realtek chip info driver for RTD1195 and RTD1295 Thread-Index: AQHVkedcJ4CFLsLliUi6huLyOdRzNafXzdIQ Date: Thu, 2 Jan 2020 14:29:24 +0000 Message-ID: <93eeece5be0640488096f20a9beb3d1d@realtek.com> References: <20191103013645.9856-1-afaerber@suse.de> <20191103013645.9856-3-afaerber@suse.de> In-Reply-To: <20191103013645.9856-3-afaerber@suse.de> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [114.37.143.250] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIFN0YW5sZXkgQ2hhbmcgZm9yIHJldmlldy4NCg0KPiBBZGQgYSBzb2MgYnVzIGRyaXZlciB0 byBwcmludCBjaGlwIG1vZGVsIGFuZCByZXZpc2lvbiBkZXRhaWxzLg0KPiANCj4gUmV2aXNpb25z IGZyb20gZG93bnN0cmVhbSBkcml2ZXJzL3NvYy9yZWFsdGVrL3J0ZHsxMTl4LDEyOXh9L3J0a19j aGlwLmMuDQo+IA0KPi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