Message ID | 20230315154311.37299-1-nikita@trvn.ru |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2406749wrd; Wed, 15 Mar 2023 08:54:50 -0700 (PDT) X-Google-Smtp-Source: AK7set90BflRIAOud/cdopesZSzM7l94U6AB6sQs9ZhYGVpkj2qdwUbLnO+0dr5L87hpcHjc43mD X-Received: by 2002:a17:90b:3892:b0:23d:4ffc:43e with SMTP id mu18-20020a17090b389200b0023d4ffc043emr161267pjb.38.1678895690490; Wed, 15 Mar 2023 08:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678895690; cv=none; d=google.com; s=arc-20160816; b=ZQatTFeWaxq7hOaPJLe36t8x0mQ1xQqAzKErQaxKoEb7LplwGIGMY4niuAg0v5rb0b vMqGNgAjTy+DzZ3WXN9RwOWu7xEH2ysz85GcJQqNY32JUslimkCkkTE/cxnwXpjLNg/B rayn0F9RyI1nK9r7S3EWsP+PUqh4wtEgKsiLmuEzX1x53SVFwR9a72K3pptpF2QzHK4Q Ka2mfQ8ckUWnWBI0VwIOAs1Btifx3DgzVs1BT5EsIvapyiUlHR1OI8vUPjHj3b4Tq/Gp HKGcz0+6p8s1Pe5ZCeste9ehFlmHiTrnajke5ox3kvqtCt3Y3mV6qmwFsc9Sg2SfwWWF /hCQ== 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=LxKL7+nY3zO/ntZT68e9c6F5vXGC/kqUpESWSXysDb0=; b=cawUeWSUCls4g76kIaweoSc0TzpuYXjqpnrrc6PB8lIoAPPE7f4/+VRQWFR8JogfEu Of1nz7+RyTbFlURIocRVb1XkeWJwpNR+jvWibekL0JZebB5ZaapDkJE/OCExYyLaKc8P J0ETI42gwwpxRX5k0eJd1UK2cdtDCncB6UIACuWLcpYphAEMBKX17WsfOCuj3yEBmho9 adoq0BcG4AwatSsztKht5YRUPYBCjZ+iVfrW9RCnvxUMc1i/0QmgPPzme7tLPQftQuJP kqccZCybP24VQarYWzZARJZKlovo9bld5zPaNrR2NwmaYv5rxhUyQiHGF/LTLpFjKPMW /WPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=K0pBd7CX; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot10-20020a17090b3b4a00b0022c5a147e9fsi2123315pjb.115.2023.03.15.08.54.35; Wed, 15 Mar 2023 08:54:50 -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=K0pBd7CX; 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 S232443AbjCOPnr (ORCPT <rfc822;ruipengqi7@gmail.com> + 99 others); Wed, 15 Mar 2023 11:43:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbjCOPnp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Mar 2023 11:43:45 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AB802B2A5; Wed, 15 Mar 2023 08:43:21 -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 EE00C40543; Wed, 15 Mar 2023 20:43:17 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1678894998; bh=ZxS879aZhSQ6a+xwBAROACZuUjBCVwsFnNtzQgz/CYU=; h=From:To:Cc:Subject:Date:From; b=K0pBd7CX35plc7V81peBqaoJVYNztbZ9Z0j4ad08aShpMVuIJSh4Zdgoe9pNLjjCC 8D9c9kFZZtO84DJe5ustcZGLfEo40PHDvRREEenyn/wUz9OgLa8wRJqc1E/sWkekeO AyrQ89p5qI9nZ90aYvwKtnK4TdrDKVvk9uEsVuh2svlcSc1NqjABcQhzEQqRczL4F9 TP6v9aBBIObwe1M6GGTsvTgwCPn7l1pOhlZAnkKliOy9t1T01Ib6O9l1LKLKHU5zbc SpahO8GZo7hfLrv33Gj7mO9SDVb2sQR8AB/MvOSmoIqx10XBx/h4tlgkvYszaACVXg Fw3J9L96Uk0ow== From: Nikita Travkin <nikita@trvn.ru> To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin <nikita@trvn.ru> Subject: [PATCH v3 0/4] Add Acer Aspire 1 Date: Wed, 15 Mar 2023 20:43:07 +0500 Message-Id: <20230315154311.37299-1-nikita@trvn.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760449727595484247?= X-GMAIL-MSGID: =?utf-8?q?1760449727595484247?= |
Series | Add Acer Aspire 1 | |
Message
Nikita Travkin
March 15, 2023, 3:43 p.m. UTC
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) 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