Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1649737pxu; Thu, 8 Oct 2020 17:56:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWxx7h4RrV7jm4VlAwYtTLI4E9W7YLMXZ7h+2qzAQTzgYmzvXrfJd8ch4wWHDUndLnhKO5 X-Received: by 2002:a17:906:4c84:: with SMTP id q4mr11844943eju.525.1602204986373; Thu, 08 Oct 2020 17:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602204986; cv=none; d=google.com; s=arc-20160816; b=SOjJKoW2Zqt4BDB6j24+uNm5HoaI6YowrOxoVPeEldfFbwiTwmr+PeDWnJXdVxAkBd 0rXvlHCKrLWru5owLKpecnUoSX5wklydF/0FfOOKemUAwh61yYezFeLoqgZjJnGF8HFe bAIpVuwWgBvgI3CRVIRkUxeAhQ2uEw6L9LqybSJO12Jkj8Ox/VCu2b7P7jp8SDQ+Ra+e HtmcMJTDd/LtbM/DNAtj6Po/6LMXHsjAZNW2VgbzaFJwGX2Ws6XHgIMouSPEG+W6pJlu UWcIQH8xtpW1+fePSSmvaipxL/c4xPFjTmDggP29q4Daud0qvONNkcX8fmPsn9UZqacP C4DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:sender:dkim-signature; bh=0hduVHN1LAHCcAzSv+yyzmLJmECIezxifdBmAqdY0Us=; b=LcYhyXR7yRpo1/njXaeXqjyNeD9un1JAdXhV1IxH7zsrrEWGTLsw+Rzc8P4hZHZcut K1wbBL1OK3Hgd2mk0WzjL7HFWMDRjEYgDBR+lpvOF377LKXR9+4aY1Tk9q0lDhxavy1V SDbzIZ6wfsUC7LDuPPlcfqACAmQoT8e7aFGeFPx6iuI/vBOB9lsxKpRV17TLtaoCiVvE zFS1bx1G/qhZC4mb5G9+834mq23ObVydOCOHlQIF6qoDuWhal5acMqMB8xOzk7qJf9Z2 NOsVsgFwt5FSV+9hbWe1J5HPZNN4JIaXAWj2KZB4YnjAhM4NOYHn6NOWdj4ytXLfRc4c SL3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=riMuvwDs; 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 v17si4775242eje.376.2020.10.08.17.55.53; Thu, 08 Oct 2020 17:56:26 -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=@mg.codeaurora.org header.s=smtp header.b=riMuvwDs; 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 S1729915AbgJIAAJ (ORCPT + 99 others); Thu, 8 Oct 2020 20:00:09 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:50736 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728538AbgJIAAI (ORCPT ); Thu, 8 Oct 2020 20:00:08 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1602201608; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=0hduVHN1LAHCcAzSv+yyzmLJmECIezxifdBmAqdY0Us=; b=riMuvwDsf+aTQOAq/ly7O8dDCSSpxKcNGb97wKq9yy+pt1P5JkzlQJkacT3VQcVOnDCFGMk8 GY62sb9BQE655hiExSaSFdib2AuyHUAtgJm+il77vsIrOijezP13aHV5Wlq0PxVJ+4VW7LAs dLwJmITfMAmk9fc8dKkewMgjqWc= X-Mailgun-Sending-Ip: 69.72.42.4 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5f7fa7f1856d9308b5ca684b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 08 Oct 2020 23:59:45 GMT Sender: wcheng=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 04FE2C433B2; Thu, 8 Oct 2020 23:59:42 +0000 (UTC) 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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from wcheng-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id AC820C433B7; Thu, 8 Oct 2020 23:59:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AC820C433B7 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, agross@kernel.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, jackp@codeaurora.org, sergei.shtylyov@gmail.com, Wesley Cheng Subject: [PATCH v10 3/4] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block Date: Thu, 8 Oct 2020 16:59:33 -0700 Message-Id: <20201008235934.8931-4-wcheng@codeaurora.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201008235934.8931-1-wcheng@codeaurora.org> References: <20201008235934.8931-1-wcheng@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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..2bf385f5a55a 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: usb-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