From patchwork Tue Mar 21 22:12:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 73091 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2036657wrt; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) X-Google-Smtp-Source: AK7set/9JwVJTVkfBDdvG4p13+FOsWgSchsQFQLOO/sP27qeKVVoxqqXJ8RvpsE7/gB0fkf9iVLw X-Received: by 2002:a17:902:e405:b0:19f:1c64:c9ca with SMTP id m5-20020a170902e40500b0019f1c64c9camr519996ple.49.1679436889030; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679436889; cv=none; d=google.com; s=arc-20160816; b=yMbwcD7HhlD7Z0WHncymQTyn8pZQ0IcIOADojnVKnJBaJXZF+atko2rEPIG5Ln5wOU 0AfRyjB3Bd4o2ivlpvoL1jAl7fjxdLTIb9WUv8McOyEcqCAkoODESw1YEfx1WRK9NIHt B1UrAEL6yewkntjNlmyeVeGf51P807V9SRdOUCMoL+YvElMIR0gqcqTtqCY0i1QSqLYL lzdYLtWQd1rk+s6fhAzWzWfsuo7t+AmrMAE2UhIWY9909RqiMaqUsiSnG147eh2K60aN YVQ/6tmItRAEV6xKwl82IOOTKeHQlLr6bOrTt6pZQG+JS1Kup7ICAHenVuoRLkVwN7B6 HEzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=CD0Rj43zIuyOz/u+59iPRmb1g0TW8saoJ8yXAosVoSQ0ZHFVSRaZt2s49KgpXUU/Er mmEPBRaVXsgtfJZFzPJ+4CccI/AJLLJowfq3dGrsLEUhuzoB43wmWFxVe4JyhpVjeF+r eMlpWbnKPHoFg0Zqcxjp4LZk666g1TKVGB+jsjWuWiGNjDuvkXuQe45eqEX8FnE/Me8Q EN3qjzpuaZqLhCy/7LZCdSYl5n0TftEj8m5E2pg/giHEEZALgKzcLan5EyiZPPAX69bC i3Z8xFPfXKndt51T0z4kZWAaWoWpN7Uf+u//KjaYJcih9UOuF+545+ogvML9feawQyL6 mTIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hLPidQvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf6-20020a656d06000000b0050be692a718si14586274pgb.530.2023.03.21.15.14.34; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hLPidQvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjCUWMx (ORCPT + 99 others); Tue, 21 Mar 2023 18:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbjCUWMu (ORCPT ); Tue, 21 Mar 2023 18:12:50 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94BCD570AB for ; Tue, 21 Mar 2023 15:12:48 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id s8so20715761lfr.8 for ; Tue, 21 Mar 2023 15:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679436767; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=hLPidQvGUMB5Bz3P75QcMGu89KyHxGgata9Yb0577gCwAgqVZaOj9u6vWxMs6ay8Yz Bs8ShjszRic24iBvTcdihJA0ihybRFyZQIvf44G38klno8DOTDuD18lom2rOLum+fUyQ f/VR8xzcG4cdlMLSXxEJeyqjXJuswiIv8we1LFGE4AzB3Nh7nRQmSqkow4DKT1aupg2l uOyLYc4ev9TyFa1aLFnR5YUD0CO2WVwRGT+8ARLF8D6UxpkzYsRwKPVtbFjnQlFSfQAQ cJ6vDQT0lW5PlnKT2RcFxA4cLBmLueFd34L28A/x2K+nGPSkYPBnk+8Oo14FaJThYVHP CXqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679436767; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=fXIXVXq7I1OHAMuujVNgEsrvdOjzgwgfqPO7+AssMu+/cdoWImW6pCT/DKCnlx4CN0 SiUy8gVqJQxTwYXBsog8aUtgDYM60pyOl43ZDhmRwyPGzf2C3LcGTLmCZLvAlBrY/YW8 mhznRac+rqUF7EqLQxAx2Non875le8DIo9ukKtN/pZjQpFswAN17NEiVKYYmPcMXKgx/ zps2L20fYMz8E8tLf3odsFLO6TRtiOkNkNUkK/HVqpueS4I6A0D0QKRgsZiOHH210rAr SOfoOqkjqySkpaJ1CitnLf0SvUiazP9+2TD0DhA7zI8Vxss98Nv1agmhAsVDvGm1bFWH 3Iag== X-Gm-Message-State: AAQBX9cMHvNOfEwwOli5bUAf1uL67nItchMiUwr7o2pnYA3sFML7vVG9 Ty4kEyAs5t/9id6iK66sMqlgIA== X-Received: by 2002:ac2:4116:0:b0:4e9:6097:add5 with SMTP id b22-20020ac24116000000b004e96097add5mr1363441lfi.66.1679436766836; Tue, 21 Mar 2023 15:12:46 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id o15-20020a056512050f00b004e9c983a007sm1220344lfb.289.2023.03.21.15.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 15:12:46 -0700 (PDT) From: Konrad Dybcio Date: Tue, 21 Mar 2023 23:12:28 +0100 Subject: [PATCH 1/4] dt-bindings: usb: gpio-sbu-mux: Add OnSemi NB7VPQ904M mux MIME-Version: 1.0 Message-Id: <20230321-topic-sagami_dp-v1-1-340c8bce4276@linaro.org> References: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> In-Reply-To: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross Cc: Marijn Suijten , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679436764; l=1173; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hofgD3Pg2Wl7Hj4Cs3d2T2t9S7MypKBJJexKG0UTF+4=; b=FVYoL7k1VXDlpelZPfqkyTov5Jj9u4GO0zOfomLqGzPF/uKldcr7iBGllsbkkxNRgpSUK0ceumzo oUlkCHjkB4nxKbFPnVXNCPo3IIkpw6mxUGewhAwXAVu6P6CDhu+8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761017215173529847?= X-GMAIL-MSGID: =?utf-8?q?1761017215173529847?= The OnSemi NB7VPQ904M Type-C DP altmode redriver provides SBU signals that can be used in with the gpio-sbu-mux driver. Document it. Note that the -mux suffix is there to indicate that the gpio-sbu-mux driver interacts with the mux part of this otherwise quite sophisticated chip, leaving the "onnn,nb7vpq904m" compatible free for when a proper driver taking care of all of the chip's capabilities is introduced. Ref: https://www.onsemi.com/products/signal-conditioning-control/redrivers/nb7vpq904m Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml index bf4b1d016e1f..a7206009b691 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -20,6 +20,7 @@ properties: items: - enum: - onnn,fsusb43l10x + - onnn,nb7vpq904m-mux - pericom,pi3usb102 - const: gpio-sbu-mux From patchwork Tue Mar 21 22:12:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 73094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2037577wrt; Tue, 21 Mar 2023 15:17:13 -0700 (PDT) X-Google-Smtp-Source: AK7set8jCoVNGOAP2mMNxR+KUAcyiIsFDUIa8ZzEZitft7WaqKYuS3JtVEZ2bSP3RWvXFio6Hm8S X-Received: by 2002:a50:ee87:0:b0:4f9:db7b:b6b4 with SMTP id f7-20020a50ee87000000b004f9db7bb6b4mr4017269edr.40.1679437033479; Tue, 21 Mar 2023 15:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679437033; cv=none; d=google.com; s=arc-20160816; b=c31/t5XP5ueaPDs3pE/EMh4V/T7Phzklu9YaJvCPujOb9MTCSBxSMXK0tWwrUQiJAD ROOf2KWFIMwBLXbtbnnm6sFhkZdzshsCeC35GSiYh2/zQWy3DEhVoYaDel9KutRYGakN 6YhO25JpbD3QAOijNFCX1AOYWeVJv+/ASx65e2CM2KtlJAjTJm/QfG8cXB/S7MpZswwa J8obpvGiXmi0/0DxfzROcY+FKJTNuSJZ4gnBPNjWghOj60lcvDQEkEOo1qTdXPwMVMqu jquOHcgbCFSoBjwVCkMKKACTflytJgwIpgQvN9t+zN0Yh6pfSG1fPSygpXwjx5lpHaAp ib7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=EQE/ZY7onSQ8rUTB/nkJV/hU8qnvId3wEP5blVPG6jI=; b=fOPrzIhnQkoB6TkReTQHKK48wUlbecXP7S6iX6wj6eyk6jcDl3zI8xdaSBFoWuF+bW lptx56xztOWt8/yVoHzmKGw8B91hiKIZBpNMz/NlWM6/k0U0LID3tijvkdMR6jNmlB7R ymoUNf7q7RdCKmRP0D/mL8oLZSdgByY38gixW8iVfZLjTilHi0deg2kuUUkxIMPw6QdW 4wgK6msY1U/ScTTSIVR39a1C0j8y6oBgIMud2np4pOgU3QAD53v8QcGzSDrftb8vQxsa RG+s28lErIohvmsWT52YV6k7Tby753uUdQmcoiLA58PmGHVRC2GpYoq9Uj0ub2x2B+2X PTNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gx8XwMWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020aa7c1d6000000b004ab4f62171asi13413601edp.279.2023.03.21.15.16.49; Tue, 21 Mar 2023 15:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gx8XwMWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbjCUWM6 (ORCPT + 99 others); Tue, 21 Mar 2023 18:12:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbjCUWMu (ORCPT ); Tue, 21 Mar 2023 18:12:50 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2FDF570B9 for ; Tue, 21 Mar 2023 15:12:49 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id s8so20715808lfr.8 for ; Tue, 21 Mar 2023 15:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679436768; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EQE/ZY7onSQ8rUTB/nkJV/hU8qnvId3wEP5blVPG6jI=; b=Gx8XwMWGypKw4hXhmcWKXP05V9Z81AvNK92dreh4f6kuoaZYZsf3gXsNP7chNNloOE Of9TfZUb2HqVwGLyLQuu+HyQ6Uabif260/tlKCNnTljP6goKw6NkSihgiusnn+4X1mdE VY8wvpmkwFvitaH6ZECfgZdmLH9lqaz0resI8WGmc/ArjKvQBk1ohP1BIF9gZtFXeki0 +j8tMxkxD1MaFABGfy3C8JKGEl9dEsKAQOpUlIdm0Cku6z/BcqoyaM/HHkzjkuSeySod bjUd/zBh8ojiXD/UtQkmiXUR/UEhKdMtkV0qDVgllaNWL9SomvxP4h0QjAIQ/azoGHb/ QOfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679436768; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EQE/ZY7onSQ8rUTB/nkJV/hU8qnvId3wEP5blVPG6jI=; b=Kxmfu2994FnSgIWcqrdnA0Q1Mcac6W0H++W/mrDYzpiW5lz27rUTg5ZeK/QL/des1A EJTu5byzPybbkSYHghiJuZY1r7M62Fi5groN4N51nysuC46+tsMuw2rqFPoE12XqQBzz +2i3C/Rw3cq1GF4ZJaAx5onIl+ipic5DfOxL+7GkaDwE7I8DZmoUy99GMwY2q2uY0QWh C0BeRf44i7B+Jz0zM07D7Yb27mA6Jzm0B5Md6UUzb5HbjQbWPrS59bHTpNz97fqhwbFJ noEevN5a8nFRZXa8PAdZKAGmluIWetxMrzNZdqZkk+iDRFUNBaGMA+FfvzghRHoa7OiU oeLg== X-Gm-Message-State: AO0yUKUswK3KYV8d1MYcJ+xuQol6lHaf+6tcJTpY6oIS5/VCUw3DW+BL 9G1CVMW1M0k8x0qInFQwk7BJNuN+GxiwcUOfL2M= X-Received: by 2002:ac2:5939:0:b0:4e8:50e8:b96d with SMTP id v25-20020ac25939000000b004e850e8b96dmr1291425lfi.39.1679436768006; Tue, 21 Mar 2023 15:12:48 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id o15-20020a056512050f00b004e9c983a007sm1220344lfb.289.2023.03.21.15.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 15:12:47 -0700 (PDT) From: Konrad Dybcio Date: Tue, 21 Mar 2023 23:12:29 +0100 Subject: [PATCH 2/4] arm64: dts: qcom: sm8350-sagami: Add PMIC GLINK MIME-Version: 1.0 Message-Id: <20230321-topic-sagami_dp-v1-2-340c8bce4276@linaro.org> References: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> In-Reply-To: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross Cc: Marijn Suijten , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679436764; l=2062; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lp3eRpNyaDm0TqsNi7lANZ1nKsWClV3YhZv72FTFjqk=; b=mfS0ghbAWxBp3havLWO2c/RvDRQxgl5dSZJzaTsqb948DP73mtMZPJxnzrjPpDUMIrvQIwQq56i9 eELx4a/uBGzjbIjCjZKCeo8B158EA4fj0dqjVIOk7sW7CAQqvax5 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761017366671695854?= X-GMAIL-MSGID: =?utf-8?q?1761017366671695854?= Sagami devices, like other 8350s, uses PMIC GLINK for various functionality around battery, charging, TCPM etc. Enable it. Worth noting: My USB mouse is unimpressed when connected to the device via a non-powered USB-C dock. Microsoft HD-500 dock refuses to estalish a PD handshake. Signed-off-by: Konrad Dybcio Reviewed-by: Neil Armstrong --- .../boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi | 60 +++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi index 89382ad73133..21462b6de686 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi @@ -89,6 +89,42 @@ key-vol-down { }; }; + pmic-glink { + compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink"; + + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pmic_glink_dwc3_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs>; + }; + }; + + port@1 { + reg = <1>; + + pmic_glink_dwc3_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; + }; + }; + }; + }; + }; + + reserved-memory { cont_splash_mem: memory@e1000000 { reg = <0 0xe1000000 0 0x2300000>; @@ -904,7 +940,29 @@ &usb_1 { }; &usb_1_dwc3 { - dr_mode = "peripheral"; + dr_mode = "otg"; + usb-role-switch; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_dwc3_hs: endpoint { + remote-endpoint = <&pmic_glink_dwc3_hs_in>; + }; + }; + + port@1 { + reg = <1>; + + usb_1_dwc3_ss: endpoint { + remote-endpoint = <&pmic_glink_dwc3_ss_in>; + }; + }; + }; }; &usb_1_hsphy { From patchwork Tue Mar 21 22:12:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 73093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2036878wrt; Tue, 21 Mar 2023 15:15:23 -0700 (PDT) X-Google-Smtp-Source: AK7set/xOCYSUAUAYCinlA737n2wzsyg1K+C53FoMEBGcf4Ql+rc9n/uwrqaK5C3t9C2i5RgwT8f X-Received: by 2002:a17:906:5a8f:b0:931:41af:8ecb with SMTP id l15-20020a1709065a8f00b0093141af8ecbmr4387519ejq.49.1679436923268; Tue, 21 Mar 2023 15:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679436923; cv=none; d=google.com; s=arc-20160816; b=sbcQ6oMOlOaGWtFxrJ4Ogj5mArBEH6jPud1LAFfuOy1sJWEUqkVJI/mYH8ot5Kuw/o ImelgG2G98yj5CoRAnlcAxGv48WUbspSzthejvollIy5jAUioK1npME2pCJGi+Ti0q/x F+cGGI9so3dWtjMcztim97ACgx4UcFylENyrEV1NqBbhA5nH4TbHynKvkj+5koTCtCik OUKAlaPXLte//AAViarBWqPJ0T+3kN8FQ1D6pel95ch2erbgKbNj5naCBd09MzFhyBLH WQoxgWPWmyk4rknrGS4hCyasHkDicts9uBQZQzdydPtDVdYWwl4E4s5aFGYSTi5hWLHm +DKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=vgZbupn0k37+a4wCBuLR6J1C7AEfEIAI+ys1wz8gGnE=; b=G3CLlhY8Qc+xVkEf7f2e/ViNxCS62N6oMu+6HQ+C11DYS0dkjnTRuAwmpcQtqP5pLX ftkhPcHcrGV9iq8992/z864obnBtd6F4Qif023uie3MPu7y5qaMGLBecBpPhzDWvEocb hjO9A9rTUc7UUR4GSquHCixDDyqFeSNfMBJAEHbK4NkfH9qKIwl7FyHL3Sr32/tepu4E myyw6ixHHg3rgPz9uAZ1QNkGjI147zwPpEghiibmyAAgddqrxQazetHH/+Hj/DanIqfI 0VP6o2DupwrahnBJRYfx4pGeyDRFzmsiRxaqnNch2KUQFbyvQELzRQ53GWhjDoZNgOSJ JprA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z/CYlLlh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa5-20020a170906eda500b00930a3df8e79si14463979ejb.558.2023.03.21.15.14.59; Tue, 21 Mar 2023 15:15:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z/CYlLlh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230209AbjCUWNB (ORCPT + 99 others); Tue, 21 Mar 2023 18:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbjCUWMw (ORCPT ); Tue, 21 Mar 2023 18:12:52 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4BC256796 for ; Tue, 21 Mar 2023 15:12:50 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id q16so10147159lfe.10 for ; Tue, 21 Mar 2023 15:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679436769; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vgZbupn0k37+a4wCBuLR6J1C7AEfEIAI+ys1wz8gGnE=; b=Z/CYlLlhpcaLLmW9gO2Tj2zwHGQsTDfqQG/LiFQ5M/jTiI97kzwwakeIV2Nt4yrRcy lVy5dAd3M4N3HgRa44E6mydVkZpB8AiPeFHdqUG1cD4u9c/hM/1C842YJisdaMM3uEeC kwotOz25RSfIz9kdx3ccetBK8G56AZ+/jarDhgxQZv3W1G8ptAGVEgsd8s9YWp2xKCTg RmLhSZPvtQTYJXJ0nM4qEP7DyuaJ+sEcOMV76RbW3wmmIHzQ5iny2x9mddOvFBvIBw13 7KZdTw43jq9SCzho0mTbn0RKY/mdZXVfTNsOpeL1gWnMR6lnypNEywuIusySYI/l/mF4 /AKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679436769; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vgZbupn0k37+a4wCBuLR6J1C7AEfEIAI+ys1wz8gGnE=; b=7z7C9CYdYtLsSyHkgYwZRO93cwSa/P7dP8g4UEInPPxXZIsjYss4lyXfxsak6w10Ip Yu8HHZY/zb6pQoTKs2F12Fijr/vrDkm2CsRAcHLJil/9keZr3BpCVyb4qQS1iTkgHPYr SXGJBrVRu2do+FirZThnVoLIN8qAsCIhpSbeEObGKaptRRJtCtwLptjEQPUZZ5DkGMBw +DOle5qGihi8pWyv3o97K64P5X5/IRxYi3yu3wcJmhgLs9sGQg8iuV3wd2xm682TNsY0 uSfOlyCconNo8OdpFb1Qpu8YkmNH6Q8FvLGhCj1qWtpQTdgYKy76bI/Vf9+uLrTTbHqc ju8w== X-Gm-Message-State: AO0yUKXkkITugDi9koXy8SZu6rm8iDnYfWg85cCLzR2irJa/RFuXvdht ylRkJLVnphJPovyeL51HoFhKLObqO7K+N5YqjOw= X-Received: by 2002:ac2:5510:0:b0:4d5:a0d2:f542 with SMTP id j16-20020ac25510000000b004d5a0d2f542mr1366826lfk.18.1679436769199; Tue, 21 Mar 2023 15:12:49 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id o15-20020a056512050f00b004e9c983a007sm1220344lfb.289.2023.03.21.15.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 15:12:48 -0700 (PDT) From: Konrad Dybcio Date: Tue, 21 Mar 2023 23:12:30 +0100 Subject: [PATCH 3/4] arm64: dts: qcom: sm8350-sagami: Hook up USB-C Display Port MIME-Version: 1.0 Message-Id: <20230321-topic-sagami_dp-v1-3-340c8bce4276@linaro.org> References: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> In-Reply-To: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross Cc: Marijn Suijten , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679436764; l=2565; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JKAzoWwTB0GRos4VagsWq8iTqG3cdlc3p5d9QT8cpTA=; b=KSPF1FGKDbORSghLobT6NXwThP7VyXehthaet7Wg7ls5lLx37QiSElsR+s4SIsYj4Um4ulj310fW +/tN1RoECe+OksWa7HgrcVsI/r4jgHp2d4KK1xuMwtlBgUhI9sFn X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761017250854608487?= X-GMAIL-MSGID: =?utf-8?q?1761017250854608487?= Sagami devices feature Display Port on their USB-C port. Add the necessary nodes to support it. Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi index 21462b6de686..b2baa81baf5e 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi @@ -120,6 +120,23 @@ pmic_glink_dwc3_ss_in: endpoint { remote-endpoint = <&usb_1_dwc3_ss>; }; }; + + port@2 { + reg = <2>; + + #address-cells = <1>; + #size-cells = <0>; + + pmic_glink_dp_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&mdss_dp_altmode>; + }; + + pmic_glink_sbu_mux_out: endpoint@1 { + reg = <1>; + remote-endpoint = <&sbu_mux_in>; + }; + }; }; }; }; @@ -140,6 +157,26 @@ ramoops@ffc00000 { }; }; + sbu-mux { + /* TODO: switch to a proper driver when one gets upstreamed */ + compatible = "onnn,nb7vpq904m-mux", "gpio-sbu-mux"; + + enable-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; + select-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; + svid = /bits/ 16 <0xff01>; + + mode-switch; + orientation-switch; + + pinctrl-0 = <&sbu_sw_oe &sbu_sw_sel>; + + port { + sbu_mux_in: endpoint { + remote-endpoint = <&pmic_glink_sbu_mux_out>; + }; + }; + }; + vph_pwr: vph-pwr-regulator { compatible = "regulator-fixed"; regulator-name = "vph_pwr"; @@ -595,6 +632,25 @@ &ipa { status = "okay"; }; +&mdss { + status = "okay"; +}; + +&mdss_dp { + data-lanes = <0 1 2 3>; + status = "okay"; + + ports { + port@1 { + reg = <1>; + + mdss_dp_altmode: endpoint { + remote-endpoint = <&pmic_glink_dp_in>; + }; + }; + }; +}; + &mpss { status = "okay"; firmware-name = "qcom/sm8350/Sony/sagami/modem.mbn"; @@ -916,6 +972,22 @@ ts_int_default: ts-int-default-state { input-enable; }; + sbu_sw_oe: sbu-sw-oe-state { + pins = "gpio54"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + output-low; + }; + + sbu_sw_sel: sbu-sw-sel-state { + pins = "gpio55"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + output-low; + }; + sdc2_card_det_active: sd-card-det-active-state { pins = "gpio92"; function = "gpio"; From patchwork Tue Mar 21 22:12:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 73095 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2041199wrt; Tue, 21 Mar 2023 15:27:59 -0700 (PDT) X-Google-Smtp-Source: AK7set/sdv/ggt+8KyY7WKD0MgTCqQos+uTmtVf8Wn5J7zmmQZHatIkVYavQP+pjCLbkhzeLSxwR X-Received: by 2002:a17:902:d2cf:b0:19e:7880:1c2 with SMTP id n15-20020a170902d2cf00b0019e788001c2mr792655plc.47.1679437679151; Tue, 21 Mar 2023 15:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679437679; cv=none; d=google.com; s=arc-20160816; b=nTkdAcyJMdbQTfHeSFCq0hJdJIhX6Gc4lW67pDEtZ4LWZZavBWLRS1ZpVSURh8dlQE V7p2GQSTk+n/dFzcz4t7H/CkwasCFh4ze/weEfqro5v+po+moHT6229AWp52Vda9p3BF NF2qqls9W+RGWp/i8rIBKUhvvu4x0qzHtbOXNUIkqOVddte0bNAKUzuQ5cAaTMVWY35X VsLBjrHgscc6EyywTJ3Yzj11InC7NvYfbRIn3PE3YFhVh0izZozNLyWHN9BxIgDXV32F e9uW/adv+am5jFRaHHcHSJixhdPuoGvgrXeSn+9wNeowH6PlE1Ab9yquWP8Fc8w8f0dJ FOYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=13Zv1FUEwXx4yLngj7RFNjjKZHhiuq0qCRERwhQpaHM=; b=sPTlTH22TugpUHaWHhl2vxz/1NTxEU5Mn91jaXdw4oAo1RiR2BCKeSS8n4urUosiSU cHizKVAqbqMlq9GiXxw1ftZC7QZUd+C6trYnUOJNKBa0/5LZL5i9AeoTYryNpMxeadZK NsWJZuJ/oO2Y+Sq9NUoECLlJiNwjq6zZOoKpQfolzFxnii+qffO4I7s8l40FHxCTviHT oTKolIrJU700OukWLsj2sL6+d9t5xUiw1ZJqC4lodyXjw49pLTx+VDs3UBfb4i0Mni0f Kx+etDvTkbuBea2BP7H9k9dqTjA8lDxHCFzcPo3rx8Jkb932763DlMDhk+j6D/3S6zC4 n3rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TVuYpJX2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b0050c164c8e99si12507668pgp.436.2023.03.21.15.27.44; Tue, 21 Mar 2023 15:27:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TVuYpJX2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjCUWNE (ORCPT + 99 others); Tue, 21 Mar 2023 18:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjCUWMz (ORCPT ); Tue, 21 Mar 2023 18:12:55 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 328F3570B8 for ; Tue, 21 Mar 2023 15:12:52 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id q16so10147232lfe.10 for ; Tue, 21 Mar 2023 15:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679436770; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=13Zv1FUEwXx4yLngj7RFNjjKZHhiuq0qCRERwhQpaHM=; b=TVuYpJX2h2hgxrXCaQvHejEwvzDdasb9KPUcqB5a+pdXGkqtqaByqa3QRdPSRyYrC1 yvH/dpUOZk3mt0XFCIEicnwR9snV7o3ElME2ErKL93QqZmBywIfyZxeshol3k3RBVKBa ZWGXn3pmJm+5XGoKFvH/JnrHBIHKQoN4vaYYKGniIDJxq2okgkoxLH4uYicHOgx331mV SOmApg7Vymy+iR8Q4EKrvV0+FcCwzFTUEUPPVwWr5ioCNbZubO3ffdDqXpV2UkHKpOGR kiB+Nh8qD7r0NXNGoW5cxb2mvihMkXHDMMsUu7F9br4Tj6TjfwZ/ycBXuJ3SSfJeGqA4 qIuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679436770; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=13Zv1FUEwXx4yLngj7RFNjjKZHhiuq0qCRERwhQpaHM=; b=3hz6CkrVsaAaYQTo2CQCO46qbHw31I3nDrTQ+l5Ee7+h/Bay1lqgZLTiHSwD17jR9g J7aS0KbyU+VHMj1FtRLCqaH/J3UzJsUvfBcbWuKGlHBpR6u3GflSvOn63CFLSiJhmPZA Jd4XJlBNQqkPHCLYKXN2U8XpwBsU7SLLVjsCXJPKz2ZyKuuS95fxTukCUbQYPVbf0gHo a+b33AtB2KeNJubyiqzVo8fz3SNhZuVNO8Ck+j1gOGYnNseCUczPiJxbuweSgZYZUo62 oZEq2cAUXLQwDCsqj+9x4J0IFnyZsz9xl6fGCp+Mhu5LUODX0lgp34gqSv6d4rlUkEy2 BQjA== X-Gm-Message-State: AO0yUKVHIeTfOZT9mtlHbqsW7c50QR+p+aCbuCHPU/I+4lAyvL94+cTf c9bd2dDtwtxyl9qRWL+riZF4ew== X-Received: by 2002:a05:6512:11e1:b0:4e9:6033:20d3 with SMTP id p1-20020a05651211e100b004e9603320d3mr1313142lfs.24.1679436770366; Tue, 21 Mar 2023 15:12:50 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id o15-20020a056512050f00b004e9c983a007sm1220344lfb.289.2023.03.21.15.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 15:12:50 -0700 (PDT) From: Konrad Dybcio Date: Tue, 21 Mar 2023 23:12:31 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: sm8350-nagara: Unify status property placement MIME-Version: 1.0 Message-Id: <20230321-topic-sagami_dp-v1-4-340c8bce4276@linaro.org> References: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> In-Reply-To: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross Cc: Marijn Suijten , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679436764; l=3059; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=PVuMTdifNqJ5Z9yoopYhHdxk90HwveOlTjYOQjYaiCQ=; b=a/DZcv2drxELLeAnMNRTKju2/lidHG2b/fLv1uCpGms/QwtibA0s5OuDX897ZdRKlqSiUSqgwWF3 etA5Tt2uDugI33oTmOXhkdCWx2vAtUeB8BBlDdvG6ULSUfDSBXxH X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761018044015850505?= X-GMAIL-MSGID: =?utf-8?q?1761018044015850505?= As we're heading towards getting the status property last everywhere, take care of it for SM8350 SONY Sagami. Signed-off-by: Konrad Dybcio Reviewed-by: Neil Armstrong --- .../boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi | 30 ++++++++++------------ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi index b2baa81baf5e..95b1ba4ce470 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi @@ -189,8 +189,8 @@ vph_pwr: vph-pwr-regulator { }; &adsp { - status = "okay"; firmware-name = "qcom/sm8350/Sony/sagami/adsp.mbn"; + status = "okay"; }; &apps_rsc { @@ -542,27 +542,27 @@ pmr735a_l7: ldo7 { }; &cdsp { - status = "okay"; firmware-name = "qcom/sm8350/Sony/sagami/cdsp.mbn"; + status = "okay"; }; &i2c1 { - status = "okay"; clock-frequency = <1000000>; + status = "okay"; /* Some subset of SONY IMX663 camera sensor @ 38 */ }; &i2c4 { - status = "okay"; clock-frequency = <400000>; + status = "okay"; /* Samsung Touchscreen (needs I2C GPI DMA) @ 48 */ }; &i2c11 { - status = "okay"; clock-frequency = <1000000>; + status = "okay"; cs35l41_l: speaker-amp@40 { compatible = "cirrus,cs35l41"; @@ -596,31 +596,31 @@ cs35l41_r: speaker-amp@41 { }; &i2c12 { - status = "okay"; /* Clock frequency was not specified downstream, let's park it to 100 KHz */ clock-frequency = <100000>; + status = "okay"; /* AMS TCS3490 RGB+IR color sensor @ 72 */ }; &i2c13 { - status = "okay"; /* Clock frequency was not specified downstream, let's park it to 100 KHz */ clock-frequency = <100000>; + status = "okay"; /* Qualcomm PM8008i/PM8008j (?) @ 8, 9, c, d */ }; &i2c15 { - status = "okay"; clock-frequency = <400000>; + status = "okay"; /* NXP SN1X0 NFC @ 28 */ }; &i2c17 { - status = "okay"; clock-frequency = <1000000>; + status = "okay"; /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */ }; @@ -652,8 +652,8 @@ mdss_dp_altmode: endpoint { }; &mpss { - status = "okay"; firmware-name = "qcom/sm8350/Sony/sagami/modem.mbn"; + status = "okay"; }; &pm8350_gpios { @@ -719,8 +719,8 @@ &pon_pwrkey { }; &pon_resin { - status = "okay"; linux,code = ; + status = "okay"; }; &qupv3_id_0 { @@ -748,8 +748,8 @@ &sdhc_2 { }; &slpi { - status = "okay"; firmware-name = "qcom/sm8350/Sony/sagami/slpi.mbn"; + status = "okay"; }; &spi14 { @@ -1038,16 +1038,14 @@ usb_1_dwc3_ss: endpoint { }; &usb_1_hsphy { - status = "okay"; - vdda-pll-supply = <&pm8350_l5>; vdda18-supply = <&pm8350c_l1>; vdda33-supply = <&pm8350_l2>; + status = "okay"; }; &usb_1_qmpphy { - status = "okay"; - vdda-phy-supply = <&pm8350_l6>; vdda-pll-supply = <&pm8350_l1>; + status = "okay"; };