From patchwork Fri Sep 4 08:23:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 11756275 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 649EB138C for ; Fri, 4 Sep 2020 08:23:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 42BB52087C for ; Fri, 4 Sep 2020 08:23:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="iOcUf0m8"; dkim=pass (1024-bit key) header.d=amazonses.com header.i=@amazonses.com header.b="i1Xa/TzP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729876AbgIDIXE (ORCPT ); Fri, 4 Sep 2020 04:23:04 -0400 Received: from a27-55.smtp-out.us-west-2.amazonses.com ([54.240.27.55]:51980 "EHLO a27-55.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729872AbgIDIXA (ORCPT ); Fri, 4 Sep 2020 04:23:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599207780; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=z4t0pYu52m1J8udpDbXYWHJgoEeV3s/jopdsNBOI3GM=; b=iOcUf0m8TLuzH0tOSGzyeXY//Z8sYyhDGh++pQiXDxJxn0RHQblHQ1+OYb+e2k6/ x2khl4lLr8vOwCIo4XI79ZCJ2iPr1NRq2o1aBNV4pkTTYj6ujZpFUwquxd7ypJjUNL2 KkDZNsHYx6QmUTKfn/OtXrf3DU9l7z0P+3KgRBWg= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599207780; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=z4t0pYu52m1J8udpDbXYWHJgoEeV3s/jopdsNBOI3GM=; b=i1Xa/TzPbxJsvyvX3mfC6jRYhMq+/0JmXh6dPkaSdgA+pgMsfMfDsvVgYXXUrJeL ac7nNiUgr8g/S46gDgmXHdz5e+Hvm6QNcIX2dYDpG4+uqTdlPOzy79UUPRheV52ejT7 jAYCWZVzPo17dLbHK01jTghNpljsicdaMsr3PAvk= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=2.0 tests=ALL_TRUSTED,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8D200C433B2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=wcheng@codeaurora.org From: Wesley Cheng To: sboyd@kernel.org, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, robh+dt@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, jackp@codeaurora.org, sergei.shtylyov@gmail.com, Wesley Cheng Subject: [PATCH v9 3/4] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block Date: Fri, 4 Sep 2020 08:23:00 +0000 Message-ID: <0101017458362e97-0348103c-c528-4e50-9cee-c49417b60ec1-000000@us-west-2.amazonses.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200904082223.25563-1-wcheng@codeaurora.org> References: <20200904082223.25563-1-wcheng@codeaurora.org> MIME-Version: 1.0 X-SES-Outgoing: 2020.09.04-54.240.27.55 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The PM8150B has a dedicated USB type C block, which can be used for type C orientation and role detection. Create the reference node to this type C block for further use. Signed-off-by: Wesley Cheng Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index e112e8876db6..053c659734a7 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -53,6 +53,13 @@ power-on@800 { status = "disabled"; }; + pm8150b_typec: typec@1500 { + compatible = "qcom,pm8150b-usb-typec"; + status = "disabled"; + reg = <0x1500>; + interrupts = <0x2 0x15 0x5 IRQ_TYPE_EDGE_RISING>; + }; + pm8150b_temp: temp-alarm@2400 { compatible = "qcom,spmi-temp-alarm"; reg = <0x2400>;