From patchwork Sat Nov 25 02:33:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 747286 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jDTiDS8f" Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4FA1990; Fri, 24 Nov 2023 18:33:53 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6cbda959062so2230682b3a.1; Fri, 24 Nov 2023 18:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700879632; x=1701484432; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9LgmvUfGWjKIm8iadY/2xVP7C/NerwMgdLCiio0IxTI=; b=jDTiDS8fF3hwQ3HbIMKbbDmLV6bSCqgPGU0fn7zIeigf6hSVqOyqpx/YSCFCdeJZBY mCJqaOq/BiXnUwsLjkF4xta3ngmIvpCKorZ55j+wcHrSuiCNTb6QgEe2mIY7B68f+O32 gcHO3JHyEMjKHH3krq8HW+BSdMSWKwcQT4feKprALrQbHfJ4z65pYlTPrGdk9TFU4x63 ixg0vupaGh7WoHXojnVNDBh+CA6CbKrWlzRW9AcYLLK5TrRLLweYT2Yrmgm0fq87dsjw hgyoftZuGAoKhfq3VmKMFKbsPMeoY0SjIL/+pWL+YIyX6L7vpo6dI+xvpJA6wDgoETwA LP5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700879632; x=1701484432; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9LgmvUfGWjKIm8iadY/2xVP7C/NerwMgdLCiio0IxTI=; b=dYldUYUfIWYuvZdY/CDqc9ekRT67SAXa5TcVGyFUdorIYznuA1tltDqd4bkhi5Y+7I HZfvcAUSaCG5Xwqvn09olUVwKTemihF/rduwE/8w7iWciWRDCTced5tWR0NaV2mUSRL7 aeCg+tA1jBQlFWXTv2JNG/bIw2gOF23bKQUQfheOn5wZz1jFpPyBVoJGev8W6b7a9HB8 rcP9Ox77V+p/FqOGKCv0z/seNNpWCmFd5xRs+vqTwCuoCPpDCrE70x7sc2P0Stpv5VYQ pOmFtyrMs0U58zZUYsmJRd6aYdCrdfpA2jE01QT/EjeglYSnQbi3uoF3B3tndOgEER3Z mJYg== X-Gm-Message-State: AOJu0YxJAoD1W/P1O7iHmNZ8c9wlz/el3OBUZuJP/sUzsZEZ6fmz6zDo 0bRwHNWt+g6XF74mQoXEJuw= X-Google-Smtp-Source: AGHT+IEgGUD9Pd+bQ7DVbSRyD0Wo/4cVRb+7VXsfnnsZ9qYBBIfyoTWwr/RuGqJ4RNGJEE8fdevU2Q== X-Received: by 2002:a05:6a20:daa8:b0:18b:914a:a81 with SMTP id iy40-20020a056a20daa800b0018b914a0a81mr6189316pzb.52.1700879632467; Fri, 24 Nov 2023 18:33:52 -0800 (PST) Received: from localhost.localdomain ([192.166.114.90]) by smtp.gmail.com with ESMTPSA id mz22-20020a17090b379600b002839a4f65c5sm3611353pjb.30.2023.11.24.18.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 18:33:52 -0800 (PST) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 1/3] arm64: dts: qcom: sm8250-xiaomi-elish: Fix typos Date: Sat, 25 Nov 2023 10:33:41 +0800 Message-ID: <20231125023343.10939-1-lujianhua000@gmail.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There are two typos in this dtsi, so fix it. classis -> chassis. 80700000 -> 80600000 Signed-off-by: Jianhua Lu --- No changes in v2. arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index 85e5cf3dc91e..3d4ea428e4cb 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -23,7 +23,7 @@ /delete-node/ &xbl_aop_mem; / { - classis-type = "tablet"; + chassis-type = "tablet"; /* required for bootloader to select correct board */ qcom,msm-id = ; /* SM8250 v2.1 */ @@ -114,7 +114,7 @@ vreg_s6c_0p88: smpc6-regulator { }; reserved-memory { - xbl_aop_mem: xbl-aop@80700000 { + xbl_aop_mem: xbl-aop@80600000 { reg = <0x0 0x80600000 0x0 0x260000>; no-map; }; From patchwork Sat Nov 25 02:33:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 747285 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EAYKzt7w" Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38D1E19AE; Fri, 24 Nov 2023 18:34:05 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6b709048d8eso2219468b3a.2; Fri, 24 Nov 2023 18:34:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700879644; x=1701484444; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cwDxPrBV1gye210dmGOK3P4MxuKjaUxc9oeTylrdKVk=; b=EAYKzt7wa84nfObW8UuTipq3DpXKs8tuLvZDkbA6GBeToyOwNpjqXHKQON/P2lMiw9 muPNCPj7ZBj+u2lDdzJoQwRvlXdyP+jaslkPsJWIZAULh38Jgt6hi4b+y8ZIoUlcTa/7 GR9QfR0Fl6r/UJcKKzuq4RGAMTlI0t5iAQ/YrkJlxJEEHF7WLo9Me5uWkiIrS4cxbXC0 DYzf0oWWEQIQST43R7PL4mxxF203gU2UIT5cJiJPFpJ6Mg4O9Rj6oJYiOER0rKlLKJ2o ICStOfFy9VqIGFeeoWkbfGi72n4woAJ9yWBPlCVZLOZU8dh8uzlX6p3UAiRzNL60pHQJ 0prg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700879644; x=1701484444; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cwDxPrBV1gye210dmGOK3P4MxuKjaUxc9oeTylrdKVk=; b=XJQbYMDVKsRPm1b0hk1/7ogs5M8T8ahGS8AF+UzchAYWQqn6jQUd9H1ZX4cy49UY1e BGwuCwNNgu78aIuC2uYQ6zkb+FEHAIEfvCr8cVLpVmnXDDr3RBGIBx+eeqeSuRC9zPWy upjJgnXpjxQCqqcU2XJUZHYMWXkjVS9wjm1enOjw2cFQSfEygW3z0quiGmnBywN+Q+8V tb6Gm4jPcGGDlNqEfd9OoADCNDw+VMMmM5+ZTKGxPzZbQxGCL0aI0FALvwL0atusT8tF 2Z8b0oZVOsOJh3MsjSaCSP837/tEtReJpeaydvEdGdqqOisJnAD8mAevD3mYKeXcMI1B rQ1g== X-Gm-Message-State: AOJu0Yws8zpzpwWHEdQCW+KQJPWbNVKv9Qt/jyYZ56yxouqKWNL87KV8 RJz0rEMgQaG+hpW/innAlDY= X-Google-Smtp-Source: AGHT+IGn+LcE04+sPvS0bUrNhEsTVIrXUWbqE3J0aelwrU/x6umTcfKFPBvWITjK+TMsFaXQp+nbJQ== X-Received: by 2002:a05:6a20:94c3:b0:18b:8b4:2de6 with SMTP id ht3-20020a056a2094c300b0018b08b42de6mr6582236pzb.37.1700879644585; Fri, 24 Nov 2023 18:34:04 -0800 (PST) Received: from localhost.localdomain ([192.166.114.90]) by smtp.gmail.com with ESMTPSA id mz22-20020a17090b379600b002839a4f65c5sm3611353pjb.30.2023.11.24.18.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 18:34:04 -0800 (PST) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 3/3] arm64: dts: qcom: sm8250-xiaomi-elish: Enable usb_1 otg Date: Sat, 25 Nov 2023 10:33:43 +0800 Message-ID: <20231125023343.10939-3-lujianhua000@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231125023343.10939-1-lujianhua000@gmail.com> References: <20231125023343.10939-1-lujianhua000@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Change dr_mode to otg and set usb_role_swith property to enable usb otg. Signed-off-by: Jianhua Lu --- Changes in v2: 1. a new patch that I missed to generate. arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index ba2119da1979..6abca574398d 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -696,11 +696,12 @@ &usb_1 { }; &usb_1_dwc3 { - dr_mode = "peripheral"; + dr_mode = "otg"; maximum-speed = "high-speed"; /* Remove USB3 phy */ phys = <&usb_1_hsphy>; phy-names = "usb2-phy"; + usb-role-switch; }; &usb_1_hsphy {