Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2279589rwl; Thu, 6 Apr 2023 08:08:16 -0700 (PDT) X-Google-Smtp-Source: AKy350bvo7p+lOtAjlGlBZL9mZLQBY0VhJZ2XWePYL9/PeNeLnaDMgnjuMj0Hy8AN4jL3TZptSyX X-Received: by 2002:a17:90b:4c81:b0:23f:44da:208d with SMTP id my1-20020a17090b4c8100b0023f44da208dmr11573349pjb.47.1680793696460; Thu, 06 Apr 2023 08:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680793696; cv=none; d=google.com; s=arc-20160816; b=YH6UollrF8Th7w8BIOYa0EmmWrzNMXdvxuFxoIX3PxIU6nAXW7UAqNs5qjVUq0cPGs oyVEu1zCpb30BBEQuW0otXI6eTlpshmjg9mSQz1wwSgAg/JqYI363Qe5v8He6XmKdF25 frYUl7wDYrVMLujDsW400eF+bHK7D4wiLqSPm7jXoAeYXnibWIUBZXXkLHsYaiHvR/S+ EVotIY+KYjFZB29i9zAROyi8nf9bdJnnqqxDgOioGsA++vMCWujiiJs9hM36Bv6LRtfQ x5sewmM/crZH3gTsaUC+SuQRgvGSf3SnGMFWoxc4CukjUi+PIZPT3A8iPFzzYN92LHDf Ln8w== 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=ZSjZnEpiIzF4cVFRoDls9LkiwjdbjmuO8FeS2wxJ3Ks=; b=TVffbIcuacY0uDHw+6uIAeGC62C5Ns3zDQVqMe6+536b1O3GL07DCBBEjbRzodb01E Bn+CFhyKNzsgZUnePYAMTpFj0HYPuHACYbGTtywv5JfqSs8HiT9005Z6NYUX6VlDE4kL VNzZyZp3LzCas3uICwXwwtObr1J1JYei5zow9f7H6bnFHNmIyrItVnNlTx6Bflpr8Xzw 7jK1vGDlhy+57IXoREvlIeVuaK4wNSd2S636T6ZghDAHJw85jbhn1dk9ctMc/GQSevEH oaJiAAWRzRcmc8wJ3Ww9YUApj5iov2D53fCzvT5eTcLBXh3jesBfkuN6YqN8pj4WXNDV 0yhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=4oN7ikRk; 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 29-20020a630c5d000000b0050ac7d1b32asi1417640pgm.603.2023.04.06.08.08.04; Thu, 06 Apr 2023 08:08:16 -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=4oN7ikRk; 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 S239634AbjDFPH1 (ORCPT + 99 others); Thu, 6 Apr 2023 11:07:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239614AbjDFPHU (ORCPT ); Thu, 6 Apr 2023 11:07:20 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA6D8A5FD; Thu, 6 Apr 2023 08:06:57 -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 A1464403BA; Thu, 6 Apr 2023 20:06:53 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1680793614; bh=kNSzackFP9sVV72mw7JFHHvEqaWcDjWJibxovJeXYdI=; h=From:To:Cc:Subject:Date:From; b=4oN7ikRkexVGKdOdkng5/aD5KLqtB2LqlTgMC33M3L/gkCg7+37Z20/BQ9kBVQVFL weLvLAe+aKj7cKsZzrxRNDPo+DUZtRGOKRoxgj+FDEYBPiRt+HQ/7xrpl1N4vkW02X IIJ29NDc3dtywjyseploTyB+psjhEbYX/Y5hgP7YCSwnFLKyHR2BqaEGekOulzb+75 te7S8c3kAsRP+jK9TBFX/ixhWkVLPA0SbwqhcPGMBw+GjXVLERKqUCeZC4O0H7JCey mYQforMqD70okivI/92nqESwRQMZr2t66qvC9s2rSfAzEs0YNs0fLAE5R3NY0TKb78 6fkK0StgeKd+Q== 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, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin Subject: [PATCH v4 0/4] Add Acer Aspire 1 Date: Thu, 6 Apr 2023 20:06:29 +0500 Message-Id: <20230406150633.83351-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. 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 | 859 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7180-idp.dts | 4 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 12 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 6 +- 6 files changed, 874 insertions(+), 12 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts -- 2.39.2