Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8960657imu; Tue, 4 Dec 2018 17:58:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xqu0ZjBkBrBC+yUe+4ZOukeYTIJiYe9zgVW9TvAS2/r5h5mp1d+vThQUt2E4dI/zQbKMSh X-Received: by 2002:a63:b54f:: with SMTP id u15mr18687572pgo.420.1543975098149; Tue, 04 Dec 2018 17:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543975098; cv=none; d=google.com; s=arc-20160816; b=q+XEeZ82iWbuNjG5RHGr0U/8yZUwqXudpdI+KAsmGT+tdUmETeQLt0cljxptlkf7nw oDO88z+kFFy1W8rQHuzx74Qb5ttoB0/O6ziBVRp/vqHGBfcHN/VzWL8tGxjokkjo5Aq2 byCvRTwErh9qPsLo3HFAps4Oe9OUrj5WaIhLn2GJ++m9eA8QMe68oq+f+ncYI89cojru grgKI1u5YJxSwZn1DdELjcy+Z6wp/uWd60AYTU7UttGWBGjwps9j1Fkf7OxuRZVsw5pQ Sm7JCLosIcKvJbNhUx2YxmI8ZDtxXY/E3xLYWBODdp1GlLiRf9qg94R38EY7eUHWKa/I sSKg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc; bh=BFgMMhQWCuV9QDtkDGTchaV3GLbxSFOi6GvgCPJvsPk=; b=Qdx6FUmzGE4XE8GH1dpqjR65RQyKEqITQQNNVHjbBLQVR4vFqxcHt5Y0NXq6YHR6+U PELrOjvCoNw/gxxR26lgitih8ZEnA+tnId9CSxLEfs59F10aIF70ZotwktOTALjm4n+p YQwIS1FKEYvbEXsgIxeC7dChXgOCBdnDFnsFcE5JzU7wjN8d6a/k/ZeqeKn8oI2j8FxA W0wjtZbNSHrficUSF3a4fpTJlNiXCKzCK9ro0VfA5EJ213MSmA5mM4WKu9HfboPnLFI/ 7oplMxcU9K1AaQN/AEGGXbAjyKO1SxWUbIMVnQtawOab7HXRGivDI8iAWOLKnYELwYm6 /I5Q== 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 e6si17476730pgp.504.2018.12.04.17.58.00; Tue, 04 Dec 2018 17:58:18 -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 S1726082AbeLEB5U (ORCPT + 99 others); Tue, 4 Dec 2018 20:57:20 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:34027 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725834AbeLEB5U (ORCPT ); Tue, 4 Dec 2018 20:57:20 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E288F9C5B26CF; Wed, 5 Dec 2018 09:57:16 +0800 (CST) Received: from [127.0.0.1] (10.142.63.192) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Dec 2018 09:57:07 +0800 CC: , Wangbinghui , USB , devicetree , "Linux Kernel Mailing List" , Suzhuangluan , Kongfei , Arnd Bergmann , Greg Kroah-Hartman , John Stultz , "Krogerus, Heikki" Subject: Re: [PATCH v1 10/12] hikey960: Support usb functionality of Hikey960 To: Andy Shevchenko References: <20181203034515.91412-1-chenyu56@huawei.com> <20181203034515.91412-11-chenyu56@huawei.com> <6810012e-9a77-dfdf-a738-14ce77a3027a@huawei.com> From: Chen Yu Message-ID: Date: Wed, 5 Dec 2018 09:57:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.142.63.192] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2018/12/5 1:47, Andy Shevchenko wrote: > On Tue, Dec 4, 2018 at 3:40 AM Chen Yu wrote: >> On 2018/12/3 17:23, Andy Shevchenko wrote: >>> On Mon, Dec 3, 2018 at 5:47 AM Yu Chen wrote: > >>>> + .of_match_table = of_match_ptr(id_table_hisi_hikey_usb), >>> >>> Does it compiles for non-OF case? Why macro is in use? > >> OK. I will add the "CONFIG_OF". > Why? Is this driver supposed to work without DT? > No. This driver should depend on OF. Can I solve this by add "dpends on OF" in Kconfig?