Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2149106pxm; Fri, 4 Mar 2022 10:15:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy09pe8gZsjWww79Nn931OANf4Ez5XqmS3R1ayELrc06+CTQ4716diJWHKcE3s2Dbo+ZP+j X-Received: by 2002:a17:902:e804:b0:151:50e6:d444 with SMTP id u4-20020a170902e80400b0015150e6d444mr31952361plg.141.1646417735155; Fri, 04 Mar 2022 10:15:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646417735; cv=none; d=google.com; s=arc-20160816; b=WT0gHAYZxhdGZJQD6S02tuYNAs+/yBI53IUd/sCahEtLG9151u6+KukA7EndhnV+YA WoZpZNV4wsW4m4p1a6JYT79QSvj/76A3unJmg3DhX0qX6jSK4Dhaf7ymfkx/dLVZQ2u9 HjoZLxLHhKfhecb0raLj3vWdD/bVKLXTwK+XaNWIciRWOaJUsAO6qGsEOJJ6e1/YQcit JRZN/3y0zBUEKkpwvgWPlKHO5C+V87THbjj7KSOYlrkzqk8c9UBgKgOeMPRHuBsuc4YF Usltm5RnMLKLaZfOq3Zg5HZVhSJDCaYoFF62ZyR1uJ8CtN9xe6pLxBLc1F2MIjgSpfbZ oL9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N8uNcrt/TggX0Msqffl9untx6fsMoF5cyO7REJI+Ydw=; b=D5ShSVCx8/7xi/IFi6dkEQYfWOF/U7tEAp2MySMPTJd6iSEPeRPYY/cDHkrefVbuDC UytVPkKeFxnzJkm8vkMkDwpY3+4JKWciJDUuz+N3ELhisdfjQWknETyx0eZ6TAdtrp04 EOeeClQ6MYBIH3Y8m8lT2iYjGWtoPR7IGybdbSsfqGoAOJD1mnBTww1SszkTGGBh2g7X F5ow83LOqkhLZVrm3vIe70PUeoMgBVaNYlWGQho4QXE/fjxP7TT0fCZzVXqOVRSa2qNm FPGW4CQtwNedT82m93m7b6UodPHVDq1jbFs7fW72FIVOGvcknoJxPrtGu5BurkETXpux 8RbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HMbqyRL9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a170902ce8700b0015134d06714si5406631plg.1.2022.03.04.10.15.06; Fri, 04 Mar 2022 10:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HMbqyRL9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237665AbiCDM3d (ORCPT + 99 others); Fri, 4 Mar 2022 07:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbiCDM3c (ORCPT ); Fri, 4 Mar 2022 07:29:32 -0500 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 778EA76672; Fri, 4 Mar 2022 04:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646396924; x=1677932924; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=po1qEIPBx+LHNA5JD0QMTNVIPUOOEPZ9s5Y5DQOpUQU=; b=HMbqyRL9adUEksLKPXp5gvikSGDkuFh5AxztPBrlM2mZisTqK+KV59IJ 6RECqcNX44JMgyC9uprPFlygdas0dWjUBnh+lXmniLKcaSaOPF/MAMgFJ ySXqt7tZSMYMyXPqQ0jcAAQvZeVdwOamdf7VdVDcw29ssgzAV6wukfsRa YxbgHRH2qxDRxzo0kW229myfnVA71mUcdU0O0h94eMx3U5C8id6lVFRqV fBkf++TVsE6ZdMt7hrMymaIrclxNR+RoF9nR0awlg3W+KX/wCrxgGtG8Y lHU0Rsae5OWqtRCUas+2SAlQBFqnU+j9Z3+HEpKpjroL7QLN5AKdK0TdT w==; X-IronPort-AV: E=McAfee;i="6200,9189,10275"; a="314681017" X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="314681017" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2022 04:28:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,155,1643702400"; d="scan'208";a="686865242" Received: from kuha.fi.intel.com ([10.237.72.185]) by fmsmga001.fm.intel.com with SMTP; 04 Mar 2022 04:28:41 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Fri, 04 Mar 2022 14:28:40 +0200 Date: Fri, 4 Mar 2022 14:28:40 +0200 From: Heikki Krogerus To: Xin Ji Cc: Greg Kroah-Hartman , bliang@analogixsemi.com, qwen@analogixsemi.com, jli@analogixsemi.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v6 2/2] usb: typec: anx7411: Add Analogix PD ANX7411 support Message-ID: References: <20220223102353.3833578-1-xji@analogixsemi.com> <20220223102353.3833578-2-xji@analogixsemi.com> <20220303024757.GA4159259@anxtwsw-Precision-3640-Tower> <20220304022936.GA4164495@anxtwsw-Precision-3640-Tower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304022936.GA4164495@anxtwsw-Precision-3640-Tower> X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 04, 2022 at 10:29:36AM +0800, Xin Ji wrote: > On Thu, Mar 03, 2022 at 03:13:33PM +0200, Heikki Krogerus wrote: > > On Thu, Mar 03, 2022 at 10:47:57AM +0800, Xin Ji wrote: > > > On Wed, Mar 02, 2022 at 02:03:18PM +0200, Heikki Krogerus wrote: > > > > Hi, > > > > > > > > This does not apply on top of Greg's latest usb-next branch. You need > > > > to rebase this. There are also a few more nitpicks below. > > > > > > Hi, I didn't found tcpci.h in include/linux/usb/ > > > > I'm asking you to create the file. > > > > So create a separate patch where you move the register definitions and > > command definitions from drivers/usb/typec/tcpm/tcpci.h to > > include/linux/usb/tcpci.h > Hi heikki, I'm confused, do you mean move total tcpci.h to > include/linux/usb/ directory or just move our driver patch used register > definitions and command to "include/linux/usb/tcpci.h"? > > And I think the other way is, our driver patch just include > "tcpm/tcpci.h" is better(no need to create new file). What do you think? I would prefer that you just introduce the global header for them. thanks, -- heikki