From patchwork Wed Sep 1 12:23:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12469407 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4BE7C4320A for ; Wed, 1 Sep 2021 12:26:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A4E4160F92 for ; Wed, 1 Sep 2021 12:26:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A4E4160F92 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uLYYp9g93B+OHQnBDYhFCH4NdeWMCWOK7Tfhxl9ETwQ=; b=NXIohGpHbZLZen iN1tm6oXE/cz52Yj4k7A8s7WkUXjbcSsp2B2Jh8vJXJx4MeSyEJUDIqqC/9ucxf3c07RaWvJXzzFb qe49s5IvCskdVSu81TpGtwuj2kxSSZyvrBP7Jbv5FCaV1rERO9+idUJU+xNOLXra56SKIBlVkJuiX YNe3m+9eVy3a72p4PvDYTn7Kbxyjf3detrPSe5hNPGCy/mPFtrqDD1Bclt4a6X2BtNxo4s6ya0Gas PjnkdrW4+BoNY8ghP/ywwnA6HjkxEHPvsk+7fkGcn2U/Ug5auI42kbVgjmKqgCQx5D+Gu1bmjg587 iimxvPXZ91NdEZ8c/K4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLPHs-005vGN-H3; Wed, 01 Sep 2021 12:24:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLPHM-005v5r-Gd for linux-arm-kernel@lists.infradead.org; Wed, 01 Sep 2021 12:23:49 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1EAF260BD3; Wed, 1 Sep 2021 12:23:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630499024; bh=G2s+L2gxjQHgn9LpicalGiKnrlKAnV81yTKIyiolwAM=; h=From:To:Cc:Subject:Date:From; b=gY0JU7C7pa90vQZprIBDDVuhwW1by5xC7s4UP8UgC3kTucyiorEt8QnpHXAO9RAdu CWkApxSIeTeKCb+fHiT+7fRy1ag/91aBg0c83ms9cnXnXPGRKPZlaLOD9WpenJfFpZ Vc0Yb84fKWmBe84Ni6vP9iW3gK8b8HbSB+9AWg9f2gKdDFeFGcLkMyDtQEFgLszQSy w/4gtTLjtCLD0cuLy2WIZPHCsyvOHYnJIaYtB83HXXGH1zLYYORQRu7gCmjBq3cggc X9TPHgtTp6QEgKUghvqxpwKVRRDE/6Q+mN8r5S687u/z8H6hYsuEboV+HvlD86yDZJ t8VM0kMeQbnzg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mLPHJ-00H8Yy-1e; Wed, 01 Sep 2021 14:23:41 +0200 From: Mauro Carvalho Chehab To: Rob Herring , John Stultz Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Make USB ports to work on HiKey960/970 Date: Wed, 1 Sep 2021 14:23:36 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_052344_679569_09256A12 X-CRM114-Status: GOOD ( 14.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Rob, It follows a second version for the patch adding a DT schema needed to power on and to use the integrated USB HUB found on HiKey 960 and Hikey 970 boards. The entire series, which contains the remaining patches to support PCI and USB on HiKey970, and USB on HiKey960 is at: https://github.com/mchehab/linux/commits/linux-next John, The primary reason why I added the HiKey960/970 bindings on this series is because the Hikey960 one came from your tree: https://git.linaro.org/people/john.stultz/android-dev.git/commit/?h=dev/hikey960-mainline-WIP&id=fac6d20f0fee01eaaca36a8c52a44c741c6cbe78 Yet, you forgot to add your SoB there. Could you please reply to such patch with your SoB ? Thanks! Mauro --- v2: - changed the compatible strings to better reflect the names; - dropped the GPIO pin for Hikey960 power supply. It should use, instead, a regulator; - changed the names of the two gpio properties to better reflect that they're gpio; - use "-" instead of "_" at the DT property names; - Added DTS patches. John Stultz (1): arm64: dts: hisilicon: Add usb mux hub for hikey960 Mauro Carvalho Chehab (1): arm64: dts: hisilicon: Add usb mux hub for hikey970 Yu Chen (1): dt-bindings: misc: add schema for USB hub on Kirin devices .../bindings/misc/hisilicon,hikey-usb.yaml | 108 ++++++++++++++++++ .../boot/dts/hisilicon/hi3660-hikey960.dts | 35 +++++- .../boot/dts/hisilicon/hi3670-hikey970.dts | 24 ++++ 3 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/misc/hisilicon,hikey-usb.yaml