From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13F91C433F5 for ; Tue, 12 Oct 2021 06:10:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80C066108F for ; Tue, 12 Oct 2021 06:10:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 80C066108F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=endlessos.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 13E0D1664; Tue, 12 Oct 2021 08:09:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 13E0D1664 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634019013; bh=wNf0MfgPFcnrslmejgTiSnnuCjLc4mUB0YMd9PxWJ9A=; h=From:Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=MeS6zPkc2PsQYmF1JEfQ8Ze1CA4aN3YogIruRuvfB3A924L/CgCMpqCqlpODDjmTn KzSqgGrALhCjtl75NNjrCY920F7TNZmSHRphSYSSONFBfFLuvXGjgLC3sKevHT7RVN C4Vn/RVcMWJU73EHZ1899S/PobYvMt90K87xdkH4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D643F801F7; Tue, 12 Oct 2021 08:09:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 72183F80212; Tue, 12 Oct 2021 08:09:20 +0200 (CEST) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D03C6F800C0 for ; Tue, 12 Oct 2021 08:09:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D03C6F800C0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b="KASwleAL" Received: by mail-ot1-x32c.google.com with SMTP id p6-20020a9d7446000000b0054e6bb223f3so9831364otk.3 for ; Mon, 11 Oct 2021 23:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=ts6+EOXXWo1GdwyQqMEj2J65rtYhy+2qGH3k92oIfJk=; b=KASwleALBBDb21Kd4lL4GqNqXGv8ZbPX32ECH9JXvfHy7+Ils/6pl1wGcctFpUKQpS QsxdApmntbYuhI9JSb3KoD8Thks87u267XYG3Ebz0ySGB/H3SDKOx8QVzQQg6IWvZj6U j8A90nsIUe5UcQiTXZaeJa3MmnTuwvlLeqcDGU16buUHMHWXEEMyE0AYpn+EZG7//HRI /LmAqsxRZs/ppZ6A7IexUJOOpcXnHyrMUJogQj0Xz65SUOoV44ATb9qf4TLO+BL+Dx+t qaLMID9gWLF4Vgc1DoFrR+Ca2NJGd5cxFQB5Jw2/2rgI7CyVHH1PmDG6TrR6zkh91THK IVqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ts6+EOXXWo1GdwyQqMEj2J65rtYhy+2qGH3k92oIfJk=; b=7RM6zP5MPjbn3mA2s4tkgRxbNnHPPVocgb5QXxXA3jg4r2j43kKt7STUrTp+1R4Wpq y8bgDjGG9wSzMOpkx8ZMn8rqc96c5CqENk8c470BQoDyDCwh8datsNsgUN2aA9GFREfB sW12G7SU58ueCWwWpwLcBKJCr3IaxNMtBQf4Ty6INKKIDykEP8pVa77RkWlaCKgq9d2q 2yw8HviIK+phgdlOue7HOd6uwV8pzwn7U/4aY2153hICyDPUPyQwcM1Nd+4xo71SYVNQ tJF2urAi6sdi9CeeTfsKXSVOubODx1esyGIgbpD4vLhIfCMzfPCLmRcJ5ANbA1irVCQi J09Q== X-Gm-Message-State: AOAM531cxUWQ7XSkB74J6ZvaU/Xt0agHdlA0OCWNEWQ66OHFPmwwi3uE EelCSYHv9uNzhasqCLAR8JDUpE6OScV4s4NCJzHrNw== X-Google-Smtp-Source: ABdhPJx+h2pgpLCmkTeEPM57O+5djDeS975Wv6rKM2xO+UKk6y7OLiHyvX+a8dkBCzC4z3Pl+L1jaoDBZcmzebi4KsI= X-Received: by 2002:a9d:6483:: with SMTP id g3mr24203295otl.105.1634018948964; Mon, 11 Oct 2021 23:09:08 -0700 (PDT) MIME-Version: 1.0 From: Jian-Hong Pan Date: Tue, 12 Oct 2021 14:08:21 +0800 Message-ID: Subject: Add ALSA UCM support for Pinebook Pro's audio To: Jaroslav Kysela , Dan Johansen Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: alsa-devel@alsa-project.org, linux@endlessos.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, I prepared the pull request "ucm2: Add UCM support for rockchip_es8316 on Pinebook Pro" [1] to enable Pinebook Pro's audio generically. Also, the corresponding validator pull request "ucm-validator: Upload rockchip_es8316's dummy json and alsa-info" [2]. The original information comes from Manjaro ARM's pinebookpro-post-install's asound.state [3] and pinebookpro-audio's audio_jack_plugged_in.sh [4]. To make it available on most distros, I transfer the asound.state and the shell script into ALSA UCM conf. It will be appreciated if someone can review the pull requests and give some feedback. [1]: https://github.com/alsa-project/alsa-ucm-conf/pull/112 [2]: https://github.com/alsa-project/alsa-tests/pull/22 [3]: https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/-/blob/4b4206c57b21044bf9c00848bd1f8b6f710d19eb/asound.state [4]: https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-audio/-/blob/1f567db09495acc3beb5405c9ef85c3c07b86785/audio_jack_plugged_in.sh Jian-Hong Pan