From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC78CECAAA1 for ; Sat, 17 Sep 2022 16:36:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbiIQQgu (ORCPT ); Sat, 17 Sep 2022 12:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbiIQQgo (ORCPT ); Sat, 17 Sep 2022 12:36:44 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A9A02FFE7 for ; Sat, 17 Sep 2022 09:36:42 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id j9so6312560ljg.2 for ; Sat, 17 Sep 2022 09:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=/ai+7SsL/h1KwbYitYUtAaE2JHJ2xYhMnUl9VlW5Wl4=; b=R193AffSliQz0TPGQUzIlMu2Ccw6tPKAks6zPn4TVzP0+kakt8Qk+7zPB88k1e9RZc nbLJ7FQQIp2fwTNsE1opqe+hFuBgJg4mD/5y/QERxiCde6bm2Emr6/7f8eOOXMUw4ux2 3dKRpUBrdPHyrY1MBDONbtUPZ8oRhGrZYBW2U0ITBxPSD+NCdRpAexinOLE+sEQ7JW/P pqp1b7NCTZfa266w4G3qqdIv6ZVpuKsShLcZ0N5MTtjVcMlFh4ov+48E/eiowDgkVRsq QHtelPKutVswypicGp/17+Cr9FgSuERju++cA8RglypF5isHsEEL0COuiPnqcgtEBdnv VAYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=/ai+7SsL/h1KwbYitYUtAaE2JHJ2xYhMnUl9VlW5Wl4=; b=PSIvsVoGMV/fl+k0MTi4QYM2sIkZRAWLL7rcsxk/56D+D8QJeUq1bUyGRWXTzU3eLj OGslxSPR2/uy/4nbTneLIS/0VJYcW8saZ5ESldAwMeDJwXeWFlLgVYhQ7kiJa2xOOEED ljUnNLPIGqm2KSqG9jWqDElrdlyxA5D8vGqrNYY2+O1KhAgISbZFNkPTHbYeJKpDdR12 UAkNjUxEzWJBKnX98SQD0YWIv6o0d64r5SKjsn1kD1PtGJyWVUJmDkzU5DWDq2iKGNOa iRuZr89ATNTfYA+JYGmvu+4dzTLmuzkQjxP031n251JXHrFAN8v7wgrNTv/USSVTsFoH c9IA== X-Gm-Message-State: ACrzQf3+t+kQ53miEHhvfyEhWMlgVYIolXPDlySEASeE+CxSJcTCJ9Ve RSiOIxOfTQhN+XnaxVp9J/1Htg== X-Google-Smtp-Source: AMsMyM4O9nhkGk4g36ZJAGZfZMuqar3D6fO7Dhcld2L1JJ8BHSxHVSeiQOXk6iSG4KCkeq+7P+rppw== X-Received: by 2002:a2e:a385:0:b0:26b:e6b4:6d2d with SMTP id r5-20020a2ea385000000b0026be6b46d2dmr2800392lje.507.1663432600878; Sat, 17 Sep 2022 09:36:40 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id z28-20020a2eb53c000000b0025fe7f33bc4sm4212849ljm.49.2022.09.17.09.36.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Sep 2022 09:36:40 -0700 (PDT) Message-ID: <50c18f2e-53d2-21b3-b36e-7a2045b96c11@linaro.org> Date: Sat, 17 Sep 2022 17:36:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 5/6] arm64: dts: qcom: sc8180x: Introduce Primus Content-Language: en-US To: Vinod Koul , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220916121204.3880182-1-vkoul@kernel.org> <20220916121204.3880182-6-vkoul@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220916121204.3880182-6-vkoul@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 16/09/2022 13:12, Vinod Koul wrote: > From: Bjorn Andersson > > Introduce support for the SC8180X reference device, aka Primus, with > debug UART, regulators, UFS and USB support. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Vinod Koul > --- (...) > +&wifi { > + memory-region = <&wlan_mem>; > + > + vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>; > + vdd-1.8-xo-supply = <&vreg_l7a_1p8>; > + vdd-1.3-rfa-supply = <&vreg_l9a_1p3>; > + vdd-3.3-ch0-supply = <&vreg_l11c_3p3>; > + vdd-3.3-ch1-supply = <&vreg_l10c_3p3>; > + > + status = "okay"; > +}; > + > +&xo_board_clk { > + clock-frequency = <38400000>; > +}; > + > +/* PINCTRL */ > + > +&pmc8180c_gpios { > + bl_pwm_default_state: bl-pwm-default-state { > + en { Suffix -pins > + pins = "gpio8"; > + function = "normal"; > + }; > + > + pwm { Suffix -pins > + pins = "gpio10"; > + function = "func1"; > + }; > + }; > +}; > + > +&tlmm { > + gpio-reserved-ranges = <0 4>, <47 4>, <126 4>; > + > + aux_i2c_active_state: aux-i2c-active-state { > + pins = "gpio98", "gpio99"; > + function = "qup7"; > + > + bias-disable; > + drive-strength = <16>; > + }; > + > + edp_hpd_active: epd-hpd-active-state { > + pins = "gpio10"; > + function = "edp_hot"; > + }; > + > + hall_int_active_state: hall-int-active-state { > + pins = "gpio121"; > + function = "gpio"; > + > + input-enable; > + bias-disable; > + }; > + > + kb_int_active_state: kb-int-active-state { > + int-n { Suffix -pins > + pins = "gpio37"; > + function = "gpio"; > + > + bias-pull-up; > + intput-enable; > + }; > + > + kp-disable { Suffix -pins > + pins = "gpio135"; > + function = "gpio"; > + > + output-high; > + }; > + }; > + > + kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state { > + pins = "gpio4"; > + function = "gpio"; > + > + bias-disable; > + }; > + > + pcie2_default_state: pcie2-default-state { > + clkreq { Suffix -pins > + pins = "gpio176"; > + function = "pci_e2"; > + bias-pull-up; > + }; > + > + reset-n { Suffix -pins > + pins = "gpio175"; > + function = "gpio"; > + > + drive-strength = <2>; > + output-low; > + bias-pull-down; > + }; > + > + wake-n { Suffix -pins > + pins = "gpio177"; > + function = "gpio"; > + > + drive-strength = <2>; > + bias-pull-up; > + }; > + }; > + > + tp_int_active_state: tp-int-active-state { > + tp-int { Suffix -pins > + pins = "gpio24"; > + function = "gpio"; > + > + bias-disable; > + input-enable; > + }; > + > + tp-close-n { Suffix -pins > + pins = "gpio116"; > + function = "gpio"; > + > + bias-disable; > + input-enable; > + }; > + }; > + > + ts_active_state: ts-active-state { > + int-n { Suffix -pins > + pins = "gpio122"; > + function = "gpio"; > + > + input-enable; > + bias-disable; > + }; > + > + reset-n { Suffix -pins > + pins = "gpio54"; > + function = "gpio"; > + > + output-high; > + }; > + }; > + > + ts_i2c_active_state: ts-i2c-active-state { > + pins = "gpio114", "gpio115"; > + function = "qup1"; > + > + /* External pull up */ > + bias-disable; > + drive-strength = <2>; > + }; > + > + uart13_state: uart13-state { > + cts { Suffix -pins > + pins = "gpio43"; > + function = "qup13"; > + bias-pull-down; > + }; > + > + rts-tx { Suffix -pins > + pins = "gpio44", "gpio45"; > + function = "qup13"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + rx { Suffix -pins > + pins = "gpio46"; > + function = "qup13"; > + bias-pull-up; > + }; > + }; > +}; Best regards, Krzysztof