From patchwork Mon Nov 21 21:30:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 24024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1845860wrr; Mon, 21 Nov 2022 13:33:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf7o2K4McMb/mN2ESXjxcKgeldDM/g3hSdAyCtZQItD5mKCDgaDo3IYaSGqZcBdbSlVrqTmo X-Received: by 2002:a17:906:d211:b0:79d:f5f2:6f55 with SMTP id w17-20020a170906d21100b0079df5f26f55mr594825ejz.531.1669066424368; Mon, 21 Nov 2022 13:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669066424; cv=none; d=google.com; s=arc-20160816; b=tFF4/FveEMVeuqqk/tR+BUBI87MAYPDlZSiGLo3ku/5bU+ekUl+IDqwtltpBUavniM bZFetsuWSF+9WRci7iRnHnnXPhCQTLu1gK+FNUWZ5ksjZBXRArANcOf3ta6vkvZdJPwA y78pp/Z343l3ySy6HzaR8J/9kdyTbW/xj5u2NShJmnhbA9OUIjDrOseV9hV4nhJVZor8 FYe8skJnaHGOWZ6KO3j+hbbe5r5FecFDVoopLvgtmBqoSy7ol9ltxKNqvChXL8fxrzh7 P3/k5yQr/MyVS/T312F3q3iMkAmcleaB3SMCHUR70SjwhYDCco60JWYyQrsfWHRdrKAn KwvQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=63OLJGSDP4CpUxyvbjQRO8rMLve5XCb+DN26TfMJHpc=; b=tmfX2mloVc9ln4Xgsh3RRvXh+yrzk03qDvb6vlN7rsyECKfq2VqvNzeYJsNUrxwDkt SDCIbMdELu4RTC9YjKhRSkinYKsF1O7RlI4luptbDlEBPNaKFdfK8rGPqnwC7QxW2z1x VsXXvmp6jn5Ke58qQgnb81R3Dl2AJTo9AGaUAUP7Q2EYCkLCMG+A6JfOz+oRcHL8oGTz 19riUBF2Dx5UQuVVBlwuKtX25i4d4RI7u79Y+KmEuQbUvRkEXfkUacTgj87h7A23sWI8 Mg9Bj3+Q8mTZJfCIqzsvuRrH4ez0nylag0AItJFaAuHVTqClQiDScPmBkRa63kY+J5ec oH6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=oC0eEKei; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020aa7c594000000b00461c7ad026csi9706018edq.61.2022.11.21.13.33.20; Mon, 21 Nov 2022 13:33:44 -0800 (PST) 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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=oC0eEKei; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbiKUVbh (ORCPT + 99 others); Mon, 21 Nov 2022 16:31:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbiKUVbf (ORCPT ); Mon, 21 Nov 2022 16:31:35 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E296868B; Mon, 21 Nov 2022 13:31:34 -0800 (PST) Received: from g550jk.arnhem.chello.nl (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id E313BD040D; Mon, 21 Nov 2022 21:31:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1669066263; bh=2kQEDLnxydBtnrXW4wyJ8ZCEZ/tqkyS1WnCU+hJ/Fkw=; h=From:To:Cc:Subject:Date; b=oC0eEKeizh+Ot4fLWu6mdYf8u1+UJAk3P56bo9FHIopY8EYM/SOAdEoELzU6+s+VC wWdzLnl2cdAT02ftRdpkIA8brXzDj0ArO7hkalzPRLpqjI9Cfe8bjEZuimq2RVoHmg Lc/YNY5Nb/t1d+jIs4Ir32e9Yy68GtP5Jsa51tfk= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: qcom: msm8974-castor: Fix touchscreen init Date: Mon, 21 Nov 2022 22:30:19 +0100 Message-Id: <20221121213019.324558-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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?1750142995336719718?= X-GMAIL-MSGID: =?utf-8?q?1750142995336719718?= On some devices a higher delay is needed, otherwise touchscreen probe fails. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- Two simple patches that have been sitting around in msm8974-mainline tree for a while. .../arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts index 36044130a739..2725bd343f3a 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts @@ -122,7 +122,7 @@ synaptics@2c { pinctrl-names = "default"; pinctrl-0 = <&ts_int_pin>; - syna,startup-delay-ms = <10>; + syna,startup-delay-ms = <100>; rmi-f01@1 { reg = <0x1>; From patchwork Mon Nov 21 21:30:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 24023 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1845404wrr; Mon, 21 Nov 2022 13:32:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sxBV8GLEkV7iGBNMuj9HhaBqvsoIWVrwjvsCNvp/NpDnsXR+070WKV8g8/SGRNL5+8EaU X-Received: by 2002:a17:906:d8ad:b0:7ae:9187:eb70 with SMTP id qc13-20020a170906d8ad00b007ae9187eb70mr16062715ejb.533.1669066365868; Mon, 21 Nov 2022 13:32:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669066365; cv=none; d=google.com; s=arc-20160816; b=FBmiqpWlnQqHnaTybtQfudPNFTX5Fltkf4TJCur+pn0+PJQyu7BPZBjecnGBLsFjnR 5TDX4HAbOMXkY22w+VR4BEwcNiDSHM6HEN92yZyRHzhbeZzanlOaAvuHz5JiJt0QWXTe dcjaxhNgditdCBSTdv/jTfHKXjQS9BUdHBuvjo72T6t8H4pYwe3b/afVbyxtSXmZRFkO lBcPIZVrwT1xi022kTTyw1HL8vvXTB4hvQZ1o+ShNtw0tc6lOj83P+G/gSXCW65uSh2A UlTUOiCCB4YhOU4TsK91y5eGvxgMcakl9zVD9uUU619EQUeGUVJVKMt/i4yrqzJEH3fl Lvpg== 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 :dkim-signature; bh=bJiD95xd8GchBJavOgIveYlE+Iaf39lb/LEqKhqdWTQ=; b=eKzVhgMTiPf9NJZryyPvJC5F2nw7vJb4AWkKoxoyXdtK10o9MHWtWvrIV1cgEYneAD yd+g1ngjaRXhZjGGJOSGoRAI97daZt0gBCW/oxb/2TnmjQG++30I8fO4OdGi/uEvUFW0 vovmN6T8AdDh9WZUpxyko49sl4nB/bJvXvuc4zj6wlKXxfanqf+to+v88P3424cOAQbr mH5H2cmd1UbVIptTMwsv5ZRVmexEbDhpJySMv3U/jKMnjOu7Ek86FE3fVuyr92eBxMPY uFiuuufhzran4yMaEt+uX72sq8YgatmuAhtRoyXChmbVAN8VJGS340k1mFPlO9MeFcYi k5mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=vDgisO3z; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a056402170e00b0045d5b83114esi9549781edu.112.2022.11.21.13.32.21; Mon, 21 Nov 2022 13:32:45 -0800 (PST) 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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=vDgisO3z; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230481AbiKUVbG (ORCPT + 99 others); Mon, 21 Nov 2022 16:31:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbiKUVbF (ORCPT ); Mon, 21 Nov 2022 16:31:05 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0094A6868B; Mon, 21 Nov 2022 13:31:04 -0800 (PST) Received: from g550jk.arnhem.chello.nl (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 600FFD04E7; Mon, 21 Nov 2022 21:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1669066263; bh=jg5oyu8gY/50Q9Yv1hRE4YDXD+cCDTKGLga91rXuzeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vDgisO3zkDVBVUKSv8Axc4Szh27NT+RY4zJm5Rh5u3hSXbd7gRXRWVr5T3yURGDX0 MCvg5BqL+RSzJ6QW0POa3PIpYstUbQjuOl1b5I+yDJs+2qAn8gBsJC2AENgm05Or1u dHjQgMw1oNpbe13q7lMMCVtFyxBqIXLeTNUlbWds= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Julian Weigt , Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: qcom: msm8974-castor: Enable charging over USB Date: Mon, 21 Nov 2022 22:30:20 +0100 Message-Id: <20221121213019.324558-2-luca@z3ntu.xyz> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221121213019.324558-1-luca@z3ntu.xyz> References: <20221121213019.324558-1-luca@z3ntu.xyz> MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1750142933654373952?= X-GMAIL-MSGID: =?utf-8?q?1750142933654373952?= From: Julian Weigt Set usb-charge-current-limit to higher value so that the device can be charged over USB. Signed-off-by: Julian Weigt Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts index 2725bd343f3a..0f2154a57a59 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts @@ -575,6 +575,7 @@ &smbb { qcom,fast-charge-safe-current = <1500000>; qcom,fast-charge-current-limit = <1500000>; qcom,dc-current-limit = <1800000>; + usb-charge-current-limit = <1800000>; qcom,fast-charge-safe-voltage = <4400000>; qcom,fast-charge-high-threshold-voltage = <4350000>; qcom,fast-charge-low-threshold-voltage = <3400000>;