Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp394447pxb; Thu, 2 Sep 2021 06:42:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS4xl9BA650mdZCPugmcHYvzJtK5gWIs5sl9JlQEsKsEvgDKX4TvtW6gb9KFRk7X3kjQJz X-Received: by 2002:a17:906:2ac1:: with SMTP id m1mr4020429eje.518.1630590151856; Thu, 02 Sep 2021 06:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630590151; cv=none; d=google.com; s=arc-20160816; b=I3/a1b9zwOVksiQ7ynBKWyNQgy7JnDAkfFvpUWwIDDWfzcE1uYd96Bzex9c9NjtMzu bmDybmvsej0+dWGRd2Fsjs3o2KhlMpxHroVAxq1SHkHwYjD0JFlvyeYAezOaReczYudQ 9bONO26la6gRF7jfzyDp3DSqSPXIbhkuKb/qwBVWwEA9uIppGF09JSe8MK68CuNtAYU8 P5ujM/xgceQTPTuVzWf7Va5pjC1g39H2JBCBL652wjk9qYzWFZFUw4PRCQlecQyvwSol jTifpIgm0sCLbghuymPZHuKBi3+9QU/xXhpIAv59jlWBUf25Om/DIWQuN+C/d50jBm7S d+ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=DJJVgB0Mt/rKksj6XeNg545Alf/6OQC46w4XJtePJGA=; b=FX99t/EqVTByZhvuKtTRS13W51xqJ/gznsChjDiBgZ6pEujNWtxBfH61wEh7UjIb/B pJeUMiRRcq7sYZIPeFMHh8P08jabzqEJ4D3+4tF+GmZ4UJ+TMZw/9NKZs0e6iSVCLaOX wxOPtbCx2Doiy3QPa86aReVRXaGU6rwnkkSgaRA/0FnnYP9Ct3b1Olp2RrJ51HMj5sS3 J09TaJdPmrLgBCbaat8mtJdcEGziFSfQ/KnnNzCNnMC1w91S8kCMIb0hpvysYdl+Xl1v aqKIU0qU9xfBwVw+nHOJ6wtEq8XRZKkpV/lWq81iHEvZmmLHcci9beiUdfVr47zRzHik G+Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SjYuVkEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs37si1487510ejc.112.2021.09.02.06.41.37; Thu, 02 Sep 2021 06:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SjYuVkEA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345275AbhIBNjX (ORCPT + 99 others); Thu, 2 Sep 2021 09:39:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:60388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234646AbhIBNjX (ORCPT ); Thu, 2 Sep 2021 09:39:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E007960FC4; Thu, 2 Sep 2021 13:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630589904; bh=l6uGBy344Ik/n8UBlJrjcnIquIgfHVdam3N42gR+sUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SjYuVkEAVYAjQp+u9hSTMc3fC7P9udJYCb7RaLZvFIvUL5h5EW63rHf2Mtk/kjQp5 Kft841UbbviIMIIurDAJnWL2rVRiMQGSa/wPYmVk5icJeicJXicDqWDLUqOPLFLrN1 /FajbLW5FQbfUtKbfHI3psfOaL/61R7tYAGDWdfgh56Yzi1sEaD+2XYND4fiBpV2Nx KX0kx7xQq8VJAzMBiSD7KHFfQsIN23m7mg5SgxDvgtH8Fg5TOZJgUlzSJ/Da727ZPK HBFB6c6B0R7oxUwYUIW2CZYIzS7bLRbRvkecE9i9T5ieFmTeNjfw9N1U8EWMESeGVy FEmOUWlKjTCHA== Date: Thu, 2 Sep 2021 15:38:20 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman Cc: Rob Herring , linuxarm@huawei.com, mauro.chehab@huawei.com, John Stultz , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/4] misc: hisi_hikey_usb: change the DT schema Message-ID: <20210902153820.5624b57f@coco.lan> In-Reply-To: <20210902151053.7ddfbe3a@coco.lan> References: <20210902151053.7ddfbe3a@coco.lan> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 2 Sep 2021 15:10:53 +0200 Mauro Carvalho Chehab escreveu: > Em Thu, 2 Sep 2021 13:40:28 +0200 > Greg Kroah-Hartman escreveu: > > > On Thu, Sep 02, 2021 at 01:28:35PM +0200, Mauro Carvalho Chehab wrote: > > > As there's no upstream DT bindings for this driver, let's > > > update its DT schema, while it is not too late. > > > > So this is for 5.15-final? > > It can either be for 5.15 or 5.16, as there aren't any compatible > under arch/ which uses the DT schema there. All patches adding > such compatible are on this series. So, whatever version this > is applied should be OK. On a separate note, despite having "hisi_" on this driver's name, there's nothing there that is really HiSilicon specific. What this driver does is to control an USB HUB integrated inside a DT-based board, doing those functions: - Power on/off the chip; - reset the HUB; - control its OTG switch; - control power on/off for an USB type-C connector; - set USB role as host or device. This is used on both HiKey 960 and HiKey 970 with the following topology: +-----+ +--------+ +---------+ | SoC | ---> | USB PHY| ---> | USB HUB | ---> USB 3.0 +-----+ +--------+ +---------+ and type-C ports Both Kirin 960 and 970 SoCs have a Synapsys IP (DWC 3). Both HiKey 960 and 970 cards use Richtek RT1711H Type-C Chip Driver as part of the USB PHY logic, but they use different USB HUBs: - HiKey 960 use a Microchip USB5734 HUB - HiKey 970 use a TI TUSB8041 HUB While I'm not sure how generic this driver can be, I'm thinking that maybe a future patch could rename it to 'generic-usb-hub' or something similar - finding a good name is always the hardest part :-) Thanks, Mauro