Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1140783pxk; Fri, 4 Sep 2020 01:24:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy390ZeQijXiUW8wD1QId2EWY5g8YEdjyBABOG1Nn2kkGz8H8raXTFnr7VNn339InO0QEv1 X-Received: by 2002:a50:f197:: with SMTP id x23mr7611724edl.367.1599207862550; Fri, 04 Sep 2020 01:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599207862; cv=none; d=google.com; s=arc-20160816; b=Y+q2DtEGgusT6KboktpzSG+DSqPpBjveoIQEQuJga4OAsTrxdJzgryaGwoqlK5Size CEqu/bPMluzhXWwn58AwVVc4E3IOb6eGColS814hiAHX4ZLIkQ3QWKiyIOdyBCNMWXac YXVH5APPOxEPQqGj5pKoc7LN4d9fUh7ItL4N2lC6YwosPKU1zQZY7zP54E8OUbVr5ev1 y3wjj69+bqTTnc9p5JJNJCI76Zsuqc8Zh9GOY07LIwtlii526lqJ6xv/YRYSgNdmPUVr fz+YcphRk7540Dwwy4zMpeIEOBsu5hEW02z+EcvOq0b52Oyx5yGsPnl19HUqHnfleSLj /GgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dmarc-filter:dkim-signature:dkim-signature; bh=XBOnlUqhvKVwYRLMJ3GqPfcThd1o+srFjrMVRemcSwE=; b=w/Jls6cT3f8V6oNmZA6yNq1DOJ+HBuFKhgKODH4LNuIyaFG2/QiYwc7z4lRuQxASPF pCbRm8lM9GIaEFrsoOqjYot7cUZdQU15hzqObf6Lhn1fzBOXji3PkYJD4Q2vmD+8iMSM BpvysbNR0Az4RUIIiYf1dc/w05Y17yzbF1LFqp4WN7gEWl4ArzH239ay4FHRmu6icS/M fMV5mOJqvxSfuF0UAmWNWwvH6VUI9mBenruI2aIDrg3juRD8HMg0L6X51LaFoPukWr+U pPwtyT1ziFLaEmV6cOH2/R3vk4isNja9saG4zpMe+Sgq26KLEXT6Gonkz0jCezKVOhws Qu6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=iOcUf0m8; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b="i1Xa/TzP"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si3481201ejt.537.2020.09.04.01.23.59; Fri, 04 Sep 2020 01:24:22 -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=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=iOcUf0m8; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b="i1Xa/TzP"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729878AbgIDIXF (ORCPT + 99 others); Fri, 4 Sep 2020 04:23:05 -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 Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2020.09.04-54.240.27.55 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project