From patchwork Thu Feb 1 23:55:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 768958 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F31B47F62 for ; Thu, 1 Feb 2024 23:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831719; cv=none; b=TU/MzQeUyBZxsjKltQO9bjPcBi22dYxClePfJL0JcAQGCCL7WxxfY7euzEadVaQ6j/TIzQV+0knhhw9MYBLgEn9iaNeWc8bfzE1G2VaU+dgdbWk3UnvCV046gBHT8ohySaAf4rJ3co9I0Fq2iUtsyHkoQtFeCxQz/tW3kpABqzo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831719; c=relaxed/simple; bh=4jNJtZnPI95XjT3oDDrW0h7IQ11rNS8ceBCYEyg4pag=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=FO0Hc+8wJcb0xWl94vsdt4zNbO5ON5ZkQQ1kAyl/1+fIFhL3h664/mm+aY5zc35lsBrTHcs8ElZH4P8Gd4nNW0N1xugOYNS9Y5l8Jz0Oh6LB0kCJiteoLBXL87u99NJO26E/iQtXP2FgucY7viLj8VlKn/kXLwVJGVrrtLFK7BM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=qvi+9qpG; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qvi+9qpG" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5112ea89211so1550328e87.1 for ; Thu, 01 Feb 2024 15:55:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706831715; x=1707436515; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=6T3MqInwvAQNNy48W+etABzBeRrCahm3edLe7dCeT1c=; b=qvi+9qpG4A0U8Yef7EqwUWlYBCZw/HHoVzMzxIHqFnOsMmqKZa6ghp2K/buJwiWlkN HS4VmITPwxi5jZWLVxX+CgvTUwdpo6QnPDwSzAJmf46w23sv4yAoFBpm8FXhZcOvLT27 7SJ6X4/g67DWX0m0MLugWyZLliWXL06o0aMBBprgqbF52yk4KQxRVz5JQ/z+Dnd2YuMI wNOmwvV0quaukl9sqb3MyaNmB8v0fFtOs2tVUTYN61xUuy0TYcfGdfzh+L73NOJ6/v97 ffSKND1FCwX3Pa2cknzyZ/i5QHz9ygQfM6kGtsZ1jfWuoH42Jxl1y7DxOlqGB/4M0Chg Lmkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706831715; x=1707436515; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6T3MqInwvAQNNy48W+etABzBeRrCahm3edLe7dCeT1c=; b=YCfFYeP61zmucWd5sesHA+pJPLlGgZZ0184tvcNyogOQeFEq3+KCsZ4ZRQy47vAKMd citVJuhr6jLqhEHG1JsI2844YSHg16qBrQdLXC+WrGvkSDGWXw7hm4/h7S2S3vOyVDAw vnFEoIdZetQkCe+5sYhZIj2+OA5Abm8MbWeFIAYcFPVAtwzUJch0KBjsjA1QScQAVUOu zmB/Ru9VtD1nsDAWVES+Ghi2LXCzX4wmGcXLAmS6TSIXDBaVOLCjHAojSZfMCSsq8wbA MhVoZz/pg9jU4LGzFQ586i2RvQdO5MP433TMF35OQzsHcYKdqhe6jW0SBiAgz2oxhFby rTaw== X-Gm-Message-State: AOJu0YwOVfTJGisEVyOkBxFBytVPtDZWbVKt1pDKe2VbWbmqqCry/OVq xplUN/ttv50R4mSh/7Y/J09ZnokgTZaSms9CI+HAEHqYb2vBas5hCU2OO1+KNpo= X-Google-Smtp-Source: AGHT+IECNYN4qV5NThcfu+WLmf8Ps73qcn8L3IBo9f1k/ekHTZ0yyeryxpvDzjUmgBGYOpQBV4/AkA== X-Received: by 2002:a19:e052:0:b0:511:1dff:f61b with SMTP id g18-20020a19e052000000b005111dfff61bmr252770lfj.5.1706831715195; Thu, 01 Feb 2024 15:55:15 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVJw7F3Y/EIejONVZPHWxrkLsi9360V14iBlj3avHyp71C2nbhLM/DezEyJvF1/iEcaK7sZ6Avnbr8swAT2OA60DcYyoOD1KFBcm1NQglI1KbZa3AgKaGPStNjme6doLC9wZZqro1AlZCKxYPmT3PP3R7nmqtBJxDZ9IhcO/4tx0zIV15bep2mic5disdds9oqzcL99x21hLZTcpUlc8N1aJDSGgnQQ4WuPKCjxVIDLqasv0/4it0nNj87MQI40xREceZKsMGTLTplSH0rG3XJHsY3wcGUWR3NVAEQY1Dl61TQMvdpFkzH9WewbmB5b9eqPkFEBXGJTuTN+MYQSI9B99gImcQ9+ZZSFmyyDj/wE4RCKmzgJfOX3ApmSr9lTgw5dd6z3hyVVUDMoaPWNrPN6I2lLyp29H2jsVVOzJYUwWD4vcGZ5+jN0cvLfwc4Hwc8LGJROOtGhvuy0QZAWKJ8/sCGAlSs= Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id u13-20020ac24c2d000000b0050eacc0c80bsm106754lfq.131.2024.02.01.15.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:55:14 -0800 (PST) From: Dmitry Baryshkov Subject: [PATCH v2 0/4] arm64: dts: qcom: qrb2210-rb1: enable Type-C support Date: Fri, 02 Feb 2024 01:55:07 +0200 Message-Id: <20240202-pm4125-typec-v2-0-12771d85700d@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFsvvGUC/1XMQQqDMBCF4avIrJsyk1pMuvIexUWIUx1ojSQSK uLdm0o3Xf4P3rdB4iic4FZtEDlLkjCV0KcK/OimgZX0pUGjrpGoUfOrJn1VyzqzV8Yg9tajdey hXObID3kf3L0rPUpaQlwPPdN3/UEX/IcyKVRsekTbsLaW2qdMLoZziAN0+75/ABgBG+upAAAA To: Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Bryan O'Donoghue , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1451; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=4jNJtZnPI95XjT3oDDrW0h7IQ11rNS8ceBCYEyg4pag=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlvC9hNGYncRbWs6Uw18ZfM3Y+mYzfksq6c9+rA uNYU/5QRAaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZbwvYQAKCRCLPIo+Aiko 1RxWCACKNgxBFKoo3TLm0wm/vgj1dWiUCdk85v7FE/oAEXAjO8SjXnnDJWZCM0pthw+wbyVUaXS RzncNUVv1/QDt87TPBazta0bTCaa62pzDH0zrPd+rYaTOu35l697Vo11ntQHoKI20daLG3ZgCWW 9OFU8TVFVFTJU229Lvt+8Dqd6LD1iI6BWpLU+oxI8VzDbtxHUABiYEF0rih98uW1F4B8/p7aHoA P2hvZ2IqpBz6snnl3aJgd6ha//yjBJ8Za3zf2CtXdKIU8aZwWIFmJpa3cSKFg2WDzx/AWuX1XYO kD+nWpMGC4rF8z0xVyFREiWh4+6Vu8K5M+DOMCOHurbgDLDi X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Reuse Type-C support implemented for the PMI632 PMIC (found on Qualcomm Robotics RB2 platform) and implement Type-C handling for the Qualcomm Robotics RB1 platform. Dependencies: [1] [1] https://lore.kernel.org/linux-arm-msm/20240130-pmi632-typec-v3-0-b05fe44f0a51@linaro.org/ Signed-off-by: Dmitry Baryshkov Reviewed-by: Bryan O'Donoghue --- Changes in v2: - Removed unnecessary conditional expansion, covered by existing compat string (Krzysztof) - Link to v1: https://lore.kernel.org/r/20240130-pm4125-typec-v1-0-e8d0097e2991@linaro.org --- Dmitry Baryshkov (4): dt-bindings: regulator: qcom,usb-vbus-regulator: add support for PM4125 dt-bindings: usb: qcom,pmic-typec: add support for the PM4125 block arm64: dts: qcom: pm4125: define USB-C related blocks arm64: dts: qcom: qrb2210-rb1: enable USB-C port handling .../regulator/qcom,usb-vbus-regulator.yaml | 1 + .../devicetree/bindings/usb/qcom,pmic-typec.yaml | 12 +++-- arch/arm64/boot/dts/qcom/pm4125.dtsi | 30 +++++++++++ arch/arm64/boot/dts/qcom/qcm2290.dtsi | 42 +++++++++++++++ arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 60 +++++++++++++++++++--- 5 files changed, 134 insertions(+), 11 deletions(-) --- base-commit: 10fcb85d581e1d7e592a5db0efd45c2954a262b1 change-id: 20240117-pm4125-typec-8800d9c09aec Best regards,