Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1224276lqb; Sat, 25 May 2024 10:59:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsO9UnojotQlYUUSQ2zB6r1EfWPmLv11ptFYeIFVxq3N7djNCBMULA448UNO11bfuJjJzgX7BR/jsGTAmOaM0X4/WbFq9FCHSD/sEDhA== X-Google-Smtp-Source: AGHT+IHap82VHcDOtvDzaNqm4Km7Lc5TsNmSJqdIHyZDdMPKWR+Ks7/rEa8VS3U+TIadM3RFopuV X-Received: by 2002:a17:906:1c8e:b0:a62:15b7:c45 with SMTP id a640c23a62f3a-a6264f15d6fmr364423666b.55.1716659966809; Sat, 25 May 2024 10:59:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716659966; cv=pass; d=google.com; s=arc-20160816; b=GXgGJ8R4pem6ngmwXt7sJIbB1DRzx9vcf6IEOI6xSWw775AAv7lcp8AOS9HU7bGl+C VhvWyoNluRkHZNAEMLOlt6Ah4zq1cRCbHZedJLPU2XB7l5MVzNGuXEHFo0w4jrns+fKK 1JRGsQXKGNbK2O8d1X8uiq0c62dsYikRTUY0X80ODP3BooH0Ti4h4Oc6xnjxXQSGBgmq YjFTSktrcbgaSZVd8dDnMlqHmjnlebvcQEOdxoHsJuCa1kBK7TfXPrg4v5P4yCtWMMEC bTE9e9gAN5S6gKHqER8FIOgMbygwUofVdqoQTrIkQ5XLAzT1EYGJ/+lcYF2PXB+I3q0B y7dQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=zW8G7/UBTbwTRcuGNaYvjhsM5yXBP0Qws0LQA8NLssA=; fh=IGyJVnM8kE6PFE8VSxD4GjBPPX9ktAbYq9G7SEY6/ew=; b=zwm0uJsSfAd0Bw71qEMhaGQC2wO6id7vXY8a/GEm4mvH8sX9l93P1fTKTnnN0El7j0 SHcsjj92XcrZqnFq67vx5h3sA0bsrmRs9kGtqQBofJhVfG/lctS1FXO6tKtH4e9qtise rxDGnZaT+WYltySAhGrZQAXFGPtzwomb1RSQQcRaL9zM14v8AdlX41M5HKyUUPOvaupY nEK1zFrXC17eDR7loojoLeLlMcuFhN1fmH4hLjaeNKGPZUbtySRRCrDl8q94YTXEUNvM YoZp4zY7L3I8aUkBD0GMzhbwgilnWvniUEYe+Ha/xE3YQXjnaJjkB13vOuK6N2Lq3rcC 3r/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QBmneknL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-189490-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c80124esi200570866b.99.2024.05.25.10.59.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 10:59:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189490-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QBmneknL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-189490-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8BAAB1F21B7F for ; Sat, 25 May 2024 17:59:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EFDC127B6A; Sat, 25 May 2024 17:59:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QBmneknL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71F723A1C9; Sat, 25 May 2024 17:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716659949; cv=none; b=nTBVflWTdt2adyUvNoFwROJmGMzGkszoPMHvNVgCmZ9pxvjjbNi+/gd38siY59fjieSEbALbK7gzIgNfI1ps8A/g7ZX+keQdpYN4BoduWMk896U8vwX2/y1KjHIMewc5+725m1I7LYz7gqiz3gsFk/yVXRgGfDQV8hhcqYDgmNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716659949; c=relaxed/simple; bh=D+M5uC/gLzRtwYP8kRKD2zieRkaDxcHiXzI6VKM923E=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=hmc74j4RnrYGzCTp67hsnWPaCcQtW1mflPFNfFKAi4ql9Iy3BjBT7/D48qgVaVXLXdWLzRwreKwhpi3EClvvJSLRdbxPqUO5X9KSYF0blcy96raMfnDwihCKE2mV12IkJS8Fb68E3HBCApFEc4nm3sX9jKuNcImGoKEaasML7p4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QBmneknL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9CC9C2BD11; Sat, 25 May 2024 17:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716659948; bh=D+M5uC/gLzRtwYP8kRKD2zieRkaDxcHiXzI6VKM923E=; h=From:Subject:Date:To:Cc:From; b=QBmneknLLtl4Pb9C54CyKSYirsSIUkfWLTaivAUcgoKnCROBDNg1dJV6qTnb3GJJG SnROZcHiP4KWR/7zgp+01Lq5ftBjJFmEfbmcJorQUdQRwDVdCdiGqrkTQsyN5aynkF l5a7gOCCCmn4BRDnVoOqf9tG7BrIWSgyJJG0ogKYTQkGyQodQGDmxnEoKQZJlR7RY9 EXJRiLeXIKL/XamFQGW2GF2ZDg+1yMRiiPMt7SP9LFeiQ5GjgLLAHllfJc4UJh8C8f YB99eKZGKnQyZRgSRHTtfzS8WxRQ1q9H8vCJ3Wc9XrMNoeNJNmGx1grJPQYw3qR/Ym v4KG3hRSHe0nw== From: Bjorn Andersson Subject: [PATCH 00/10] arm64: dts: qcom: sc8180x: Enable the USB multiport controller Date: Sat, 25 May 2024 11:03:53 -0700 Message-Id: <20240525-sc8180x-usb-mp-v1-0-60a904392438@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAkoUmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDUyMT3eJkC0MLgwrd0uIk3dwCXZPUJCNzi5Q089Q0QyWgpoKi1LTMCrC B0bG1tQD35vd1YAAAAA== To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Wesley Cheng , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-usb@vger.kernel.org, Bjorn Andersson X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1715; i=quic_bjorande@quicinc.com; h=from:subject:message-id; bh=D+M5uC/gLzRtwYP8kRKD2zieRkaDxcHiXzI6VKM923E=; b=owEBgwJ8/ZANAwAIAQsfOT8Nma3FAcsmYgBmUigMuXpF5bHXK2P2/HJqaYU/pcjYTCVfnLLc8 1gUlADCE2SJAkkEAAEIADMWIQQF3gPMXzXqTwlm1SULHzk/DZmtxQUCZlIoDBUcYW5kZXJzc29u QGtlcm5lbC5vcmcACgkQCx85Pw2ZrcWE1BAAipMBeEOeI+AJ7au7JeaOu0DBn7s4jXiS84x5qzv CPSqza4RbM3FtKrwSQs23BfOJFV9S/ZLrjO+zW4daRJJ5XOAKRCywrgcuhct2Arf/ZzNnd29kvz 4e2LJAmPSh6oyESHvPHNz+MO9ZVvARzysIdk0JUvMmkyUJdryS+yxD17Y/1QCwUQQeful+fWV3f WJNw1s4qDi+9zaKnuOG54Gx1Ead/QdOko02hME3OONx9iicRjXMHA64Hy9RKn+TWBpTwC3B52Jb qL8+R0ku/W43FDuM3VHyidN2i3hKSZlOiMOc9fZa5AHZRRYzVr6hZLX/EgrMHmfoAtW+P03fDAY ub3chdOWDzHt8OAbyujHu+6e6dYJ49FpiEb2h8sMWC3xaWHBbmrgSQhblXpCw88jRSG5yfBMen3 rpZWhZNs3j06tD+R7GnqyFmSBd9McbGbmY7dzRCNGwXmEnZi9qp6SjWC4GCjHLEbJzCydyA+ugy dMC2NtNU1oLwa3znMUp+P8/GyOzKp6dc9IT9NyWrODwr3XF1ej8TtzE4LwBwRM0mK8KSU1LH/12 Iw+8e3DPp6yOOUPdwq4CCn3/30LDbz5oCGTO6ef2z1orwIhsDSU6y00Ub3+pmGFhG0rBFIN6XqU uqX9+hycBFYnLrUYkCAG/dZb9bcg+NY9yH8Bm17094KM= X-Developer-Key: i=quic_bjorande@quicinc.com; a=openpgp; fpr=05DE03CC5F35EA4F0966D5250B1F393F0D99ADC5 The USB multiport controller found in SC8180X is used to driver the camera in the Lenovo Flex 5G, and a couple of additional USB ports on the Primus AUX board. Signed-off-by: Bjorn Andersson --- Bjorn Andersson (10): dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add sc8180x USB3 compatible phy: qcom-qmp-usb: Add sc8180x USB UNIPHY dt-bindings: clock: qcom: Add missing USB MP resets clk: qcom: gcc-sc8180x: Add missing USB MP resets dt-bindings: usb: qcom,dwc3: Add SC8180X compatibles arm64: dts: qcom: sc8180x-pmics: Add second PMC8180 GPIO arm64: dts: qcom: sc8180x: Align USB nodes with binding arm64: dts: qcom: sc8180x: Add USB MP controller and phys arm64: dts: qcom: sc8180x-primus: Enable the two MP USB ports arm64: dts: qcom: sc8180x-lenovo-flex-5g: Enable USB multiport controller .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 + .../devicetree/bindings/usb/qcom,dwc3.yaml | 29 ++++ .../arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 32 ++++ arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi | 16 +- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 60 +++++++ arch/arm64/boot/dts/qcom/sc8180x.dtsi | 175 +++++++++++++++++++-- drivers/clk/qcom/gcc-sc8180x.c | 4 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 3 + include/dt-bindings/clock/qcom,gcc-sc8180x.h | 4 + 9 files changed, 312 insertions(+), 14 deletions(-) --- base-commit: 3689b0ef08b70e4e03b82ebd37730a03a672853a change-id: 20240524-sc8180x-usb-mp-4eb278df7ef1 Best regards, -- Bjorn Andersson