Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp994720rwl; Fri, 7 Apr 2023 08:22:42 -0700 (PDT) X-Google-Smtp-Source: AKy350YeXVeXdJDEw0Mg0Ngyk/wOCTq32ITUdjUb83rScMed4n9+hagTGYhCyoy04HGRNV0PAIoX X-Received: by 2002:a05:6a20:9304:b0:d9:199a:c719 with SMTP id r4-20020a056a20930400b000d9199ac719mr3118790pzh.37.1680880962233; Fri, 07 Apr 2023 08:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680880962; cv=none; d=google.com; s=arc-20160816; b=jprgRa1Xlv+gMcxuF7okcFaJKGj/I+i7BC2Uo3UTj5UvynPJayWDoGZ/I7736a7v94 Zs1lFbRMJZBF49kiv0j18zN5xn2GzO24Wd/eJ3g8T3F9VaSFde5LONuLBEct1mYoKRd/ Q4uFHnJ37xwcgsG25slCONzGqwL5ALo/BdtbtK21PDwcEr69h8lqygQuZ33XutVo+oAm 5qEcl+WsbPzQaD2z4qc/TZK6w9INQMkYENcvrueDCc7GZxKsmFfAPajKCS/+6dy2hirv tDPExv9sOzjohXdkQs8KlMlZuBva1iz8RHIlri8U+2/tm9ax8FvwnMvoRYDR8t5fo//T PZ3g== 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=/0uh4/OmZvVOBD48jiCdavISNWmdV+lbcYYGorsGM8s=; b=ipHgmv7H1IKzstEQFl/CkcAmKgeoObBRq88jXi6jib5rba2fV9wloxqtStqC7Mhesp gp8BzwIlWtavi0X71F6ylhQRtusXfQYu0b4T4z5ZKaqs0Oz4o0c1CQ0g3uNM6oqvkaJ3 +WyPT88oor2YQG5s6YBiXUvgmYOArI6wnGPZ3mmvUDaUJZbGXMc7tO2IUF6BTmHNi2i4 cZ6qluyHNgB5BrB84VIG6eeYetbL9g6ydqR9yGKAfI0n8tP6wA8+TvyCxJxhbpUCc9dO 4Vs34leaB4+ZqdsrDu/3gRIbf4FT44wvUXOh0i9AM8NL7ZjkqEyfBdCOEGcp171rmuTQ gp0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=GIyylw7U; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u63-20020a638542000000b0051398c72685si3678808pgd.662.2023.04.07.08.22.17; Fri, 07 Apr 2023 08:22:42 -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=@trvn.ru header.s=mail header.b=GIyylw7U; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbjDGPPF (ORCPT + 99 others); Fri, 7 Apr 2023 11:15:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231445AbjDGPOp (ORCPT ); Fri, 7 Apr 2023 11:14:45 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7BBF4C3C; Fri, 7 Apr 2023 08:14:40 -0700 (PDT) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id 95CAC40142; Fri, 7 Apr 2023 20:14:37 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1680880478; bh=pRR81jr9N1+Ri/oh0oUv0RKjpsOeFlOGNPLXoan9pic=; h=From:To:Cc:Subject:Date:From; b=GIyylw7UBd7T0T/vOh+HL6PBQUW2B8vLfRK22bZ1Dp1Lb4gfa/KTQHMurcbFVDr71 0rQ4kgxZmkRW1TN9XYT+IiQG/wqbzg5VBUoW/N/oUsM5Omu1RgUQDO5gWfGvJAfzJa yt5c0G8KOUAIcTWxKI06DRp3myiyxpkH8aUeZ88jQYbXDNV2cFrzQZxHU6+x7lz7LI g7KADURK+/t5j33NpCC1LQtNQ9XfOHNe8BO6h9GlCnNZDD5oOTMaAg1uxIRafGASnh xw9CRiUeodA8eizdSklyQI+7XXwWr0yyyMPGvOYC3p1hwISPBZAcwWjwdsRC8XNixC TFHJNBCBcPXFg== From: Nikita Travkin To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, quic_srivasam@quicinc.com, judyhsiao@chromium.org, mka@chromium.org, dianders@chromium.org, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin Subject: [PATCH v5 0/4] Add Acer Aspire 1 Date: Fri, 7 Apr 2023 20:14:19 +0500 Message-Id: <20230407151423.59993-1-nikita@trvn.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 This series introduces Acer Aspire 1 - A WoA laptop with sc7180. The dts adds mostly complite support for the hardware and the device, with minor patches on top, can be used as a normal laptop daily. Notable features absent from this patch: - Sound While the dedicated sound components are defined, since the ADSP must be used, sound requires additions of that remoteproc as well some extra "glue" to connect the i2s outputs to it. I was able to hack together some sound based on sm8250 stuff but it needs more work. - Embedded Controller The laptop has a dedicated EC that controls, notably, battery/charger and notifies the device about the USB-C DisplayPort HPD events. As per this patch, there is no battery status indication and external display support. Also, due to the EC defaults, the fn key is disabled. I have an experimental driver that implements all of that, which needs more work and will be submitted at a later date. - PSCI OSI Mode Firmware on this laptop does not support the PC mode, as is usual for Qualcomm. This change would require adding OSI related power-domains to the SoC dtsi and is omitted in expectation that this can be handled when (if?) CrOS team handles their tf-a, like they did with sc7280. Changed in v3: - Disable lpass clocks by default (Konrad) - Drop status=disabled for mdp in the common soc dtsi (Konrad) Changed in v4: - Resend with picked up tags, no other change. Changed in v5: - Minor style issues fixed. (Konrad) Nikita Travkin (4): arm64: dts: qcom: sc7180: Don't enable lpass clocks by default arm64: dts: qcom: sc7180: Drop redundant disable in mdp dt-bindings: arm: qcom: Add Acer Aspire 1 arm64: dts: qcom: Add Acer Aspire 1 .../devicetree/bindings/arm/qcom.yaml | 4 +- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sc7180-acer-aspire1.dts | 854 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7180-idp.dts | 4 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 6 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 6 +- 6 files changed, 866 insertions(+), 9 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts -- 2.39.2