Received: by 10.213.65.68 with SMTP id h4csp399112imn; Fri, 16 Mar 2018 06:40:57 -0700 (PDT) X-Google-Smtp-Source: AG47ELsDJ6Qrke8qVoC0d5uMtl8PV5l2M867sWai0HPwlaJ5cIRbfVS8JUarl4LDsq4wFHzAJrcl X-Received: by 2002:a17:902:228:: with SMTP id 37-v6mr2218538plc.141.1521207657013; Fri, 16 Mar 2018 06:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521207657; cv=none; d=google.com; s=arc-20160816; b=FXdgq9ePqjso0thFqc45KAVHZIbLaLywrFAnOfdyYc4DKUIy63j/FIQKwsJ4nOCwIf 1FqF/JU6XN5hN719FFIGBjGILFcFF2CKyY8AS1xOjJOEzvFjvkDHIxlGyqs17LDSJPLm NuX40GeKbtBMzTPMY7Njc8Np3og46iXRszK3AqhvLUNu4UCRDOrpzvo/4l4YuiGyP1Xc Jk4dA1ftjWLLQCW8GIHa2I/4jsW8NOi1NoiDki8Sj3intjvFhhdI5SJ5M/1Z5uwZi39j m+UnU7WDXbGtbQau1tgsOEZIr5JcvmSOZd8GR3820TKwe5a//v/TqUVkUaYE0wRtWD0Y 7ZRw== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=u3DNvdbIsyV6V+ydqkf3oglYjzgOtoqFIsl8iDMVBpc=; b=bDxzWnnS/wz9wSfMyDCktI/608KEEw9sjgztrfdIl0WIItkrQQhhwnlV+GvJhh8Y6X sAmx3hQ5rHaE2GJqPKkhAOt1mPS5VQuIIWIxCj+RMw9+bQ2v7g1BvpqQpPpniaoU679a UkoWvoazWduyzGS5NX0qYBrRZo6fFKqbjJ6yUFMs+51GchB0pj1LSK8v80Arttm5HJJB UhoiVX/is8IxBTfK/fUJfupCeiyA5caI8+0q/G8Z803wkMF0Joy9OREzRbopCYVxIFDI cts+O/jygcb3c4H4CT0Safp+ej4Dps+eYyA8iP9kMnCq9QhomD9znj28KFrEnsUMbuau 19Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ihlHDchZ; 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 v17si5456622pfe.186.2018.03.16.06.40.42; Fri, 16 Mar 2018 06:40:56 -0700 (PDT) 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=ihlHDchZ; 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 S1752873AbeCPNju (ORCPT + 99 others); Fri, 16 Mar 2018 09:39:50 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40426 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbeCPNjr (ORCPT ); Fri, 16 Mar 2018 09:39:47 -0400 Received: by mail-qk0-f194.google.com with SMTP id o25so11013222qkl.7; Fri, 16 Mar 2018 06:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=u3DNvdbIsyV6V+ydqkf3oglYjzgOtoqFIsl8iDMVBpc=; b=ihlHDchZQZysE/K/gi5Ym9MpYf3vDQFLcutlus7aY0IDooZuzGS6BVFDPmM2ux4HfP 3kG7xsEYBqgAZId/lqhJYy3trn0G8lCylkL1y3eaZ5/swQpqcQWMM4Xn8LP/n0uCqaDt Q77ZL8oGYTyMVJQPWu6GOvhiD6MvbGRLafYosWqjb0/rN3QLoP/2Pb5wuWdtz1aCKBrp AefPPn4XOL6RMUA/hrXzj1PAhlSkTubbReNunnHDSNHQVJgaBQcOFv70gnL/cE/dKmrZ Bx71JJncPBcrN5OemhIVz0IM9ydfWgmBFmAyk7e1tvWXCwOFOuUFrmaycgNTbE8hJGeV ZjpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=u3DNvdbIsyV6V+ydqkf3oglYjzgOtoqFIsl8iDMVBpc=; b=no4UVmDroPABlBCtNsmIHIA9xWYcYqawjO3eZ4VETSHrSiFCFnLRPYF+3II6Ss5Gok NQ+tP72wCqLOaMw5zsy4YFpOrURiSi868eY3KMdGu+fOCgcLyiTAl0syOXzz4dFqnD3C SaCoZ2BnY220FvT4YITMlfpStA+dtdwT9vPznp4IGHxOaPhZtaGdg9JrRD586x3m2z9K S3gh0M4QFg76KQ369lnQzDacgwG310xUbG8/OoS6v8EtuKr2EFQfhCHt2N+bS8An3NjP cPeZq4qd/1HDyK/jSjPgYqYMEm4+0eZskR5uVj8KXPePZSYX1G+oFXWaNieCZP7biwE0 e3yQ== X-Gm-Message-State: AElRT7GySrdsre4rrxWz/ENEuN/B2mDQtUWX3NNbmZcL2uk2TAlM3z3j 1bVQYfUHwEswlOPFEe7R9rtIxFYMqaKV74mLhF0= X-Received: by 10.55.71.23 with SMTP id u23mr2254468qka.299.1521207586154; Fri, 16 Mar 2018 06:39:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.55.130 with HTTP; Fri, 16 Mar 2018 06:39:45 -0700 (PDT) In-Reply-To: References: <1521191569-21221-1-git-send-email-leechu729@gmail.com> <20180316125811.GB22994@kroah.com> From: =?UTF-8?B?5p2O5pu45biG?= Date: Fri, 16 Mar 2018 21:39:45 +0800 Message-ID: Subject: Re: [PATCH] staging: typec: rt1711h typec chip driver To: Mats Karrman Cc: Greg KH , heikki.krogerus@linux.intel.com, Guenter Roeck , =?UTF-8?B?c2h1ZmFuX2xlZSjmnY7mm7jluIYp?= , =?UTF-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= , Jun Li , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, 2018-03-16 21:29 GMT+08:00 Mats Karrman : > Hi, > > On 2018-03-16 13:58, Greg KH wrote: > >> On Fri, Mar 16, 2018 at 05:12:49PM +0800, ShuFan Lee wrote: >>> >>> From: ShuFan Lee >>> >>> Richtek RT1711H Type-C chip driver that works with >>> Type-C Port Controller Manager to provide USB PD and >>> USB Type-C functionalities. >>> Add definition of TCPC_CC_STATUS_TOGGLING. >>> >>> Signed-off-by: ShuFan Lee >>> --- >>> drivers/staging/typec/Kconfig | 8 + >>> drivers/staging/typec/Makefile | 1 + >>> drivers/staging/typec/tcpci.h | 1 + >>> drivers/staging/typec/tcpci_rt1711h.c | 344 >>> ++++++++++++++++++++++++++++++++++ >>> 4 files changed, 354 insertions(+) >>> create mode 100644 drivers/staging/typec/tcpci_rt1711h.c >> >> This looks nice and simple to me, any reason it has to live in >> drivers/staging/ and we can't just move it to drivers/usb/typec/ now? >> >> Or are there still api things that need to be resolved with the existing >> drivers/staging/typec/ code? > > > For one thing it depends on the tcpci driver that is still in staging unt= il > Jun Li's patches, [1], comes through. > > // Mats > > [1] https://marc.info/?l=3Dlinux-usb&m=3D152093458605648&w=3D2 > >> thanks, >> >> greg k-h >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-usb" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > Just like Mats said. Because tcpci_rt1711h.c depends on tcpci driver. I'm not sure if I can put it to drivers/usb/typec/. So, I put it staging first and move out after Jun's patches. --=20 Best Regards, =E6=9B=B8=E5=B8=86