Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76162C636CC for ; Mon, 13 Feb 2023 13:33:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230300AbjBMNdR (ORCPT ); Mon, 13 Feb 2023 08:33:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbjBMNdE (ORCPT ); Mon, 13 Feb 2023 08:33:04 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06B691ABC4 for ; Mon, 13 Feb 2023 05:33:01 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id jg8so31899142ejc.6 for ; Mon, 13 Feb 2023 05:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; 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=70OvqASv0mjZllhMqhkKWtUGVSAnAQUMLpze65KxTCo=; b=Ufl0lz+8F8Gv68rGLtMmMpLGiOD4XsDVpokfoh54YtWrD1I3E5ID3zwxHISNMtvnSG 7f4w7Q/14y/OoJWeCcQVAqO2sG7qHSLroGKk0QB9fCiciT1+Ik7IJfuug5j5HRK7139c 3L+vrW4qKEA7NO6x1gI5kIDAMYL2khBaDfnwiZGxqnRQ+6dn7fqmZ+eGUJYPZWPiYUtm EaGn0nzdsrnOu5pXxw0XJUwYmCPS6ZW1FzFNoryGCtwvhpNS4hb2YYQ7kqXy1vl9Ab+I n+Gz/oKbWEvZP8b0LDlzhqh6BSP4rV/i7x1F8gmNdq9ZhNsr2+btyvZRx0ygZNIc+qXi R+ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=70OvqASv0mjZllhMqhkKWtUGVSAnAQUMLpze65KxTCo=; b=ZJCCFlOusIq5pWVbUgDfM+21tTymME0WFRBdBtIdx07IGlr0yN1LqiRsNN1jlKzxNk op1WE335FzuNqahBFoP4kf41kt7XbAhIVDWvvH4RjiqDmWs7gH8NGqbHWleQVDxIk29G MKd9S3cvkRLf24xpDmtpm7M3D6hl0d6qvSVws7oIqKKBPnUWYM2R98YG0vZZ4dJdIFKw 7eJ7BPLl3R5JpV/o9NL4+lS3gLMZhCYoRlzGFLZdaoHamAfa2YXHVz57x+zAGNUTQtAE r3bAdI7Ecw1X6xKtTmqrbNVpDv5dL7vvDftDYFE9d12QLj9U4vFTmqsQUwYM8bu2C3ww sebg== X-Gm-Message-State: AO0yUKX2caS9toMBWZPUSBvRIRC2Szc/CZf5x5/szv1T694sF+PlA3m5 LRxoLo3Ki+2w6ieQ8+KhbJMiww== X-Google-Smtp-Source: AK7set+nssou59xHVmaH/Q4nYYZy5U3YjvGk2efyx7dTUsVP2Q+dP5FCZEMqrN2EgxHoC3ZiaboTcQ== X-Received: by 2002:a17:906:2a0b:b0:887:d0e6:fa24 with SMTP id j11-20020a1709062a0b00b00887d0e6fa24mr23836713eje.76.1676295179311; Mon, 13 Feb 2023 05:32:59 -0800 (PST) Received: from [172.16.220.87] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id h24-20020a170906829800b008aa0305dbe8sm6661180ejx.80.2023.02.13.05.32.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 05:32:59 -0800 (PST) From: Luca Weiss Date: Mon, 13 Feb 2023 14:26:50 +0100 Subject: [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: enable remaining i2c busses MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230213-fp4-more-i2c-v1-2-5be09dbb5ce6@fairphone.com> References: <20230213-fp4-more-i2c-v1-0-5be09dbb5ce6@fairphone.com> In-Reply-To: <20230213-fp4-more-i2c-v1-0-5be09dbb5ce6@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable all i2c busses where something is connected on this phone. Add comments as placeholders for which components are still missing. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index 86114dd2c0c4..d0f08b42592f 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -359,10 +359,31 @@ &cdsp { status = "okay"; }; +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + /* ST21NFCD NFC @ 8 */ + /* VL53L3 ToF @ 29 */ + /* AW88264A amplifier @ 34 */ + /* AW88264A amplifier @ 35 */ +}; + +&i2c8 { + clock-frequency = <400000>; + status = "okay"; + + /* HX83112A touchscreen @ 48 */ +}; + &i2c10 { clock-frequency = <400000>; status = "okay"; + /* PM8008 PMIC @ 8 and 9 */ + /* PX8618 @ 26 */ + /* SMB1395 PMIC @ 34 */ + haptics@5a { compatible = "awinic,aw8695"; reg = <0x5a>; @@ -495,6 +516,10 @@ adc-chan@644 { }; }; +&qupv3_id_0 { + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; }; -- 2.39.1