Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1558762rdb; Sat, 3 Feb 2024 11:12:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuVWHDHyRNwMdmeQase4NRTMtSKqjfD6x8BPa0qtNs/DT4NSuIRQJTstDVpz5H7x9CP8TY X-Received: by 2002:a05:6358:8a5:b0:176:91bb:9600 with SMTP id m37-20020a05635808a500b0017691bb9600mr14009684rwj.3.1706987577688; Sat, 03 Feb 2024 11:12:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706987577; cv=pass; d=google.com; s=arc-20160816; b=A+vFIITwV0+NKLUuw5O0E7IKPngA1rV91SwqrxHN/65aspJS+B/Qfl++Fc7/+2QT6O k+z3QY7km1iuuuHy/7XBBVtJDCHJxzXs+D9SN1d7GT2BjHl5K8EVTznrbT8nXGOQGQ+Q PoFopABG5ueySYylp3EiSf9tbnyYPciTFk4XkVSfSKch5cQqctLjX7mwxZlM46mjfowf 5RoLWZFMMbp7FA1bA6MGUOPqy59zZRUcX29rNpAg8tSZaOXn8kezzSdqdYCb0Xej9bp+ 6fvX8qqn7AffySyACl4fAimPe4BF3iQOQk2EOJDpSYd8Pusf5WPrWmZtTKBUn+gdJoxE LXQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=D1MXZI9L74r1ABpx4pzdB40ULzWPeZ87x2jaWvvAELo=; fh=bvYxOv6Fx6VL8YZ/TcCaOz9knrrEfLIUKX6ayv5ROj0=; b=sn5reAC4vgsif7DCi7PoguJcpTGsdLZ+4qnq89SkYefjs4cWXf2fCj+lHoFjcAPNWj A5N+HF7dNclBAaUioQD2RLToj3V+xR8t4W9vjIYgfqcf9RZY4uDJaL6WJ2X8QnN1xnWK y0ZjBr9mwib1UsBtTuUi1OhXq8AQ9m7SNlHDqNVxRZnGZKdxqAfnkKMRNDsmTKNxpypp vRttdnzcSDXZ0rE6a1t2KuJYDNRQBgEPAd/SEFd34Y8StCKrUGLjuTzDDvUt2+MG98gI Gx21oWhAeqSV1Zib98vue6mVCtfej1Ri8diLTUAa7UEecClsNZdMglOlJAxf7gfeDVU4 gwyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=ESCF8mdi; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-51257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org X-Forwarded-Encrypted: i=1; AJvYcCURQiMayPAQ7iQezAU+gpdhfjqeWnKjSVS9Fa9arB7MtFPOqkyktaRrPi6ZF0q+uCKPVYN4uqeATma4PWu7IB6rGtXmpiki1H6Us8Gi7g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o22-20020a17090aac1600b00295aa8431a4si1885408pjq.24.2024.02.03.11.12.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 11:12:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=ESCF8mdi; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-51257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D4340282011 for ; Sat, 3 Feb 2024 19:12:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A9245FF10; Sat, 3 Feb 2024 19:12:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="ESCF8mdi" Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E5055F862 for ; Sat, 3 Feb 2024 19:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706987550; cv=none; b=biPCdKEkuC5+TtLGot8lWIdobcmuBhtaQioK8aujFhiYVp8E1F72JJD+wGJUXqiQs2qReIFXJXFnbhZS9BniwGlRIGEYab8h1Za3UGt2oQNl1EYR3tSnsJOtmy9JB89ZWTorilnXo1zMTIh9KpGkRDezbFI+5Bvs/c8cWISCXeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706987550; c=relaxed/simple; bh=u1QLkA77qJUV2s+haADuAyOF0wOezvuTZRjcx5x6hLg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l0fSaATLP2VJyD57Z1lP7SmBH+76t0/EpMaSlbDj/mKtwdmmQU2jIHokBXbJpuFYPt2DkvdM57D7ZQLPcMjN7BS7Css35C88WhWqwxGML1D1ZceC5yLVqmK/ctWovUHI6OIMLQrLeNhZUfRAK5PCIHHmQUA2tB5qzBHWbWP7V2U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=ESCF8mdi; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1706987545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=D1MXZI9L74r1ABpx4pzdB40ULzWPeZ87x2jaWvvAELo=; b=ESCF8mdiLBfK3pKZmMQBhWkcZgZnntajRFUJyB+aEmrPgzwd5JQyY1XUePSvljVefCa6uR eoRaVolnRbRc1IgauUP0Usl4KLcodmvNQyJhbbwfCiCYIGysQgvJMVJAsiPVHx/yuzNPFR +sAkJv2/IchL+n37XRxl5PeyyVAOoGhXJNd71UdQMzZdgpqNj/vZQ6IXxdpfm/I5hy4XJl 6sdahhDl9iiJBJ8mUgrLbBNNK9j/B6H36vl7jjZgt9dELga61G394fnTdjuyJQSWwvuA/H N2vo/ZxgC3ySA3Umhu/kVR1SD7BL1r0z5Hqunti3MY7zLqwUjeKAg6Yu3UBSUw== From: Anton Bambura To: 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 Subject: [PATCH v2 0/6] Device-tree improvements for Lenovo Flex/Yoga 5G laptop Date: Sat, 3 Feb 2024 21:11:54 +0200 Message-ID: <20240203191200.99185-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT This improves device-tree of Lenovo Flex/Yoga 5G laptop with these changes: - fix GPU firmware path (make it use device-specific firmware directory); - set names for i2c hid nodes (so it is clear which node corresponds to which device); - add touchscreen support; - fix touchpad issue when it gets stuck on right or middle click; - allow UFS regulators load/mode setting; - move some pinctrl properties to appropriate nodes. --- Changes in v2: - fix the description for touchpad i2c patch; - move touchscreen reset gpio pinctrl to appropriate node; - add a patch splitting and moving some other pinctrl stuff, so it is in correct nodes as well; - change touchscreen interrupt from edge falling to active low, because edge falling is apparently against i2c hid specification, and ACPI uses active low as well. --- Anton Bambura (6): arm64: dts: qcom: sc8180x-lenovo-flex-5g: fix GPU firmware path arm64: dts: qcom: sc8180x-lenovo-flex-5g: set names for i2c hid nodes arm64: dts: qcom: sc8180x-lenovo-flex-5g: move pinctrl to appropriate nodes arm64: dts: qcom: sc8180x-lenovo-flex-5g: enable touchscreen arm64: dts: qcom: sc8180x-lenovo-flex-5g: set touchpad i2c frequency to 1 MHz arm64: dts: qcom: sc8180x-lenovo-flex-5g: Allow UFS regulators load/mode setting .../boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 85 +++++++++++++++---- 1 file changed, 68 insertions(+), 17 deletions(-) -- 2.42.0