Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1936945lqb; Mon, 27 May 2024 02:26:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXu0nVFonRVs+DNjD7zZ+HAc1q3VVs56KVv10mSKetuOWJ/Cjjl0RUFpueNurhzIQ8hHckQ1RA4rJh7grv08rwaZSqwWcJ3WRx7H/OWDA== X-Google-Smtp-Source: AGHT+IEu67u6oO9lhiKIR13U51M9lQ29VvilqtEYgVVYejzQz6YZdHHZeptutcNjg+jBZQgMERQw X-Received: by 2002:a05:6a00:808c:b0:6ee:1508:edc8 with SMTP id d2e1a72fcca58-6f8f392c7ebmr9585500b3a.23.1716802002579; Mon, 27 May 2024 02:26:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716802002; cv=pass; d=google.com; s=arc-20160816; b=w4twJZPBDaYUyBX4dWAfvThPTLkS+OIQ1wjYlwZQpoEmNbcdREKzZCVobKhfezIL69 vDqvJznAE0WU/SWpRP1HYVI+u6l/8u5lVYgb+AUIETF/M/tn3r/nHkFGIv/b4u4GPvKE 5qPDUptteOntlj/ckiDPitIHArkYEeTjR0nQGYXiggqbMnsTEjVInDULm3rLSuC+4XQm lAQYJQ93wt1fRX9aOM/TJopgYgcruMRFeW5Xla8iQCqffjLy1p3pWX2PJ/XB1KzBd/dG 5M68M0oxH2urdc7NXJBbGfUN5z07F3VBfwQIRK/Y9G93lXz6XXZvGZ9zmHuZRCSqsGPL Adsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wKVcWHGtXv4+Y/GGLknnmWszynoHdWdRaEwxbwxRfgQ=; fh=6l4TpxfjKl64zmImSF7jJERGvLIMJ38v2GfJqUxz8pY=; b=CqImFLWPqByT5fQGYW0DXL9FGtdogOUd3ss6hCrfwCp8nnGpiY3vjM36vyJhfUc3Lu pSSciHWTWLoOesRhlNzJwJn5QMuzci3mdY3+oQf0FSNNjJt2TitD8cX1+0VbIMlWJ2V0 zhjJct/uf2oXzIv8jG+rFECgxj+l08JJdxhltDulfs8ZXMtIlRdIG05R9CZhKC4M8h6m o2rAUKj2iwSxC28QEaLAJuGRPc3HKdazGLUH6nUX/j8sm1JPA0vlDlV1rffbrqAUabkP /xOddHB/MHkfzB1ai2SZ+q7ymy0uQEZqGGJiiRKakulfF3liJv0lAZJR9lhgY0p4abli WkMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dasqq9O/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190318-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc045e90si6039380b3a.46.2024.05.27.02.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190318-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dasqq9O/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190318-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9F0BCB2114B for ; Mon, 27 May 2024 09:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FFDD13A41E; Mon, 27 May 2024 09:25:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dasqq9O/" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 8C73113A3F6 for ; Mon, 27 May 2024 09:25:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716801948; cv=none; b=GNrnQZ+8cGB0qg0lsO1YkqPCXZw1JqC51h8NryDEaoO1kCkRHE08AWJDWM6UdxMzr9QqhDMy3gIvdbdZ5eE/MMzvH5ddf+LS40vLBZQzOl7LMZTVqtZY2U6mjh6YxpfcQE5d9Lvvdm9c/C+h9Fcytu3xYnN3ImzjUjsw5gt4tq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716801948; c=relaxed/simple; bh=cQko5yHzoPs2yV/CH4+PZ1Xt8ozLjrQwA0DjyeGLoGM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y4p8p8bezZc6tNH93c86AY/7OcfRPQsCQtOTehmaxtp/YKy7B5+RVILWU+9e33on1X24YGHLg3UZBkoHvsMcCK3eLcEeZN6ACE4PT3xpZHJT8hmT+MIonxIkZ+xKc6z8VCib+Ftvk+D/Zh7IrpYQsl0cwvySWZG9vpb9jYwJ+1g= 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=dasqq9O/; arc=none smtp.client-ip=209.85.167.41 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 Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5295d509178so2948384e87.1 for ; Mon, 27 May 2024 02:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716801945; x=1717406745; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wKVcWHGtXv4+Y/GGLknnmWszynoHdWdRaEwxbwxRfgQ=; b=dasqq9O/OS3PsrbM69mu5IcP44/75IuT7JH0uPDiaobNuIGuqAir0MImtxvv5NvD+5 /ApxmRfeIF2FAJp77PnUMmg/3+Wn2mEcs4TJE69gev3IlYZznbFYCCwyB3IYDikgySUp HioI0W3Ep8iXPy3Hgf6139nalcD9P4qKpUOjQGAMJ2Wuqhm4u+W/EYQ9vtTbPNfLxPDi K9TaQNpbqnRMSaFONLu0JeMK44ym6ux+fE5Del9lAEC0vFwQ9N560Mj7o1tsTQfVLi+i sUg6bBHntj04ta/HdtxPYfwfRQLOWCNCBio9RUMf+ZT6JamwgO37ZYnLqoR6k5o/rXll Ll9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716801945; x=1717406745; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wKVcWHGtXv4+Y/GGLknnmWszynoHdWdRaEwxbwxRfgQ=; b=I8PqW7u0bug2032vRbG3ZStm8m6MzW9D0J7R+P2XzLgNLXo4ACZCCCN2X72c+Hgtbq 2oLFalZCalZbzGElu42DlcqXOvK15QX6KPX32vobpo4rd/MD4ulZ0KhLXBdi3zOBypRM TNwl6vm80j9v3st2Ybqajs4X9Gicl6yjGyJobo1Ds/Io28mWKEEF6f9JbNf3NoVsMDtT 5AlaVxjqof0S42wA00rKZ+5Mq0pXZnajOrci4iJHNDm2GqE1PvjlSSia2wXsxM3DaxTF GugbNnL63xyUIC5jx1QtD5wMXlDAt2MWYoIih0QeLvNfXy6lyeHQZLdxeYmjyNTqhL1b a3CQ== X-Forwarded-Encrypted: i=1; AJvYcCWrISnmd3tPmzPs2O3DbPyGfpTyGt5uAu5kstuJUF688seoVJosNMzypjeL6MV+7cMp3Eqva34rPRexnJ0ex7uPsViOv9rUSinY4ZdI X-Gm-Message-State: AOJu0YyMd0IvGGlGesm2WjmiaKl4P9I6GELw3qOW5+7nG1n+w5tQ3vl+ bkRI0C3PsEnT2Q3UJKuOFbYO9VPNHsrY1tFZoddtV2U2nYmt9F7Nq9vHvPJicEo= X-Received: by 2002:a05:6512:328e:b0:521:742a:baf4 with SMTP id 2adb3069b0e04-52964ea96eemr7616266e87.9.1716801944756; Mon, 27 May 2024 02:25:44 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5296e887a6csm498529e87.24.2024.05.27.02.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:25:44 -0700 (PDT) Date: Mon, 27 May 2024 12:25:42 +0300 From: Dmitry Baryshkov To: Abel Vesa Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] arm64: dts: qcom: x1e80100-crd: Add pmic-glink node with all 3 connectors Message-ID: References: <20240527-x1e80100-dts-pmic-glink-v1-0-7ea5c8eb4d2b@linaro.org> <20240527-x1e80100-dts-pmic-glink-v1-2-7ea5c8eb4d2b@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240527-x1e80100-dts-pmic-glink-v1-2-7ea5c8eb4d2b@linaro.org> On Mon, May 27, 2024 at 11:07:28AM +0300, Abel Vesa wrote: > Add the pmic-glink node and describe all 3 USB Type-C connectors. Do this > for USB only, for now. The DP port will come at a later stage since it > uses a retimer. > > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 143 ++++++++++++++++++++++++++++++ > 1 file changed, 143 insertions(+) Please rebase on top of https://lore.kernel.org/linux-arm-msm/20240429-usb-link-dtsi-v1-12-87c341b55cdf@linaro.org/, sorry about it. > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts > index c5c2895b37c7..2fcc994cbb89 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts > +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts > @@ -49,6 +49,101 @@ chosen { > stdout-path = "serial0:115200n8"; > }; > > + pmic-glink { > + compatible = "qcom,x1e80100-pmic-glink", > + "qcom,sm8550-pmic-glink", > + "qcom,pmic-glink"; > + #address-cells = <1>; > + #size-cells = <0>; > + orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, > + <&tlmm 123 GPIO_ACTIVE_HIGH>, > + <&tlmm 125 GPIO_ACTIVE_HIGH>; > + > + connector@0 { > + compatible = "usb-c-connector"; > + reg = <0>; > + power-role = "dual"; > + data-role = "dual"; Does this match the information reported by UCSI? > + -- With best wishes Dmitry