Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9222572imu; Wed, 5 Dec 2018 00:47:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5gm+txkpUgQmcBKjMtl5N9ysMsDHKs/YHW8/bNTSlyFf+ZLKP2FwCkIbfRHdoCpFnpISx X-Received: by 2002:a17:902:6185:: with SMTP id u5mr23176787plj.194.1543999636280; Wed, 05 Dec 2018 00:47:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543999636; cv=none; d=google.com; s=arc-20160816; b=j2DyY0eHGsrcIU0KhhDzUhmwYyan+AJF6jfFcgyNp1SrNnNP/n2lEF3YEKfF64qphy /qzHjemaDIeOQiLhp9v/Lwi3T8VCfvwPisN7SIWpCdEUcIFRQU2j0FB3z1/MruEdfvQf HXNxizh1Q5My5oAcydhTrVujDbUnO804g68mR9m2qZxElvqJP3oyIiYIJ0MNNoqYb0e1 JmYz1bE4YLdBhA+yFh9Udb5UBNMsaZ1gCudcX3x7r+bhNXShNlWd7C04imkfbbpJnQkZ 6lsNLweirH/AJFLMAYmfLR4wJEHH4pQxSpcx7VPwRyuY44mO+JiMiDcz7hClDFmgQZ9A Qq+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=wEKuLzQazfavNlvV2l8C8plrh4QTNKZaDr0RC4HkX0A=; b=B8MdWxdQTPALPToRGsgVUet2IBe4hHbXARPvqGuDZrJ9/YlZ8eo+pmhRk0buJIFUw1 P/TJf7lvQJuZOXikIanbt9H30Q31SbW0c1zaljD2AKkvkab7rYbtG+YytAT++huQfXxy Digpf7c+9sA2X0mLcLebgexcP8tmAORMMOONrsxXx6xNvT67lMxo9mqQ2MsA9t/KFQMk 2LVA0qXuhgCH4AA9kzzegaJVMvS1f5At6lNBxLPDJdqpyleDS7oVrSn7LE0DhG8TM7PP Q5z5rZNlVseeBjilx0xXeldWSfxujnehZ3qoIKIXmeGM1edWZxlGn7XL1GUrRt2GUpXz yV1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="V/SZGRi2"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si20558075pfb.152.2018.12.05.00.47.01; Wed, 05 Dec 2018 00:47:16 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="V/SZGRi2"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727330AbeLEIoo (ORCPT + 99 others); Wed, 5 Dec 2018 03:44:44 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:37846 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbeLEIoo (ORCPT ); Wed, 5 Dec 2018 03:44:44 -0500 Received: by mail-qt1-f193.google.com with SMTP id z16so21367304qtq.4; Wed, 05 Dec 2018 00:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wEKuLzQazfavNlvV2l8C8plrh4QTNKZaDr0RC4HkX0A=; b=V/SZGRi2KqxJoqakREfRf9gdVzBODjWZFOSvz13lKegJBmrji2AV7et6dZQ9DcKHiZ 86ITW7qIuwVt37ZcOjSBoRW+FZxifm0rVdJqfjavrwvzL3N39xFQre1DV5QQEhzTf1Rl RxlvBdDR4XBPiwliCcG058FrB1aYluykxhthsXIPHT+7e8h1xzZ98AlD/JirbvPxFP6q 604GjEBMCEXDxaDbza5YhzMrVWY0Acq/ApO0CX6TYFYRDpEjBnffcXfS+e+aJkyyGzE7 y+gGm3hMMhLwvbvO3DEbFgxBAtjijZkBcMPAHhZR0C5139wPgX8+6xpxLMSSNqTcVXWu IrRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wEKuLzQazfavNlvV2l8C8plrh4QTNKZaDr0RC4HkX0A=; b=lDn+nfgzevk+owv4+9MHVebiE/kapYrjlg1cx5naXBYjFmEZSWLu85ufcsUUHMWVD2 o4qfGgktKa4jvC7yy7jmtNGs1lsZHmuj8Q0YVIygxQH86246gaHSDTXWMl9J69huUZm2 CztI1RTlEub4rKj3AWiWxAKO8ElAKecImrOhVCbwtJITlrGOwqXSvHf3Gr9rMLoaoorv 7uHuEwMsqdMxRZS0ZrOpKqPAuLw4z44o2pJhfZiRsHjiBC8zhnYx7ZtR6IqhQ/js90sR MfRWvkJzz/xIyPjJje1drf7A+PZmb9E3BSuA0XKYoPonevcYja8pnUP90w6c3Ak/IBJH DcvQ== X-Gm-Message-State: AA+aEWblNSQV9zJ1dRXWI9jHpwUC7O9TRAnDnYmEd6lewvRtW1Pt63L2 VzcJdTiFQ6Lhk4TsHAx5S5wT7csflPrR5KrZPSA= X-Received: by 2002:aed:3b76:: with SMTP id q51mr22527413qte.229.1543999483084; Wed, 05 Dec 2018 00:44:43 -0800 (PST) MIME-Version: 1.0 References: <20181203034515.91412-1-chenyu56@huawei.com> <20181203034515.91412-11-chenyu56@huawei.com> <6810012e-9a77-dfdf-a738-14ce77a3027a@huawei.com> In-Reply-To: From: Andy Shevchenko Date: Wed, 5 Dec 2018 10:44:31 +0200 Message-ID: Subject: Re: [PATCH v1 10/12] hikey960: Support usb functionality of Hikey960 To: chenyu56@huawei.com Cc: liuyu712@hisilicon.com, Wangbinghui , USB , devicetree , Linux Kernel Mailing List , Suzhuangluan , Kongfei , Arnd Bergmann , Greg Kroah-Hartman , John Stultz , "Krogerus, Heikki" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 5, 2018 at 3:57 AM Chen Yu wrote: > 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? Yes and don't forget to drop unneeded macro(s) like of_match_ptr() above. -- With Best Regards, Andy Shevchenko