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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8ADBC433DF for ; Mon, 3 Aug 2020 04:03:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 9C54C2075B for ; Mon, 3 Aug 2020 04:03:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="d7IDfY55"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XG70c2Dz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C54C2075B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=NwNSUeVc9Ycn/or/c9PNOL/0cASuDBhTTMLEY62ZsY0=; b=d7IDfY55GL7mzVAGphuHxHIa4j GfeNF78Hg47K2ecFd1SllgJas+J/nRP2NwxjMToIrNwN4+SWbYeEFEoppoDQgMiI1Bt5sbsT+GgfR GnjYtU+7SjPs67HUDkKaBuw0oMwIBEPGUs8bhafl5VXgQryp1CxL/BonHzvTTlUM5UWdJHbgCXDMV nuQUnX5pJFRFIg1W57f/RfyTYfct86bTRWbXS3kQICHX//kQlFg/evdSUWNwfSy618HL25BsU+qtZ b6bIMFgs7JpC8JeCWEwpI5e+iIklqg1vHdtPFjaIhFO5XB48gbO3sECXtH6MG1nMHizb/pm+h0CFo FEAdIgCQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2RfO-0005hX-QZ; Mon, 03 Aug 2020 04:01:38 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2RfL-0005gM-Mf for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 04:01:36 +0000 Received: by mail-pg1-x544.google.com with SMTP id j19so19159060pgm.11 for ; Sun, 02 Aug 2020 21:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yUG9PDflOauUKzeZLQPLk7LHLARUNdO3mRXIHJ6GORg=; b=XG70c2DzrXSTp1PgC2bTrPGff/xoNe8pEiCz7UiDz9MjZ7Y/JT47wKDfmfgEUueSkL qwMeZhxghrcqQIHtk34wJDKqi8XNeEX3B+7D7x6fwzEE/WEqk/1lVJK6/K+rGCNbzqhI 6XIpXpR2j5TlclO8OuWLugFNhNGwqg45eVJ50= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yUG9PDflOauUKzeZLQPLk7LHLARUNdO3mRXIHJ6GORg=; b=jeoCspSMZhF9WSL4O/aIWE3xg9WCeL2ytlqzELW7ChzDXzYQb53Bf1n474uqyBEqb1 Br0t63nBVL6AnFdqAOcqpTNOEgqeWOsPj26A7kGpY9zqOqsRZcK44FfhV8lEjBVKkhAi ZPhNUlmE5SW6p7t2vBvSa4HyxSTnd0s6Z41jLW5PWuB+s7bSiW1K6fZUCGR+o9tqdxdy sfob3fIfVShFzi79BfA/B5JQbJGMuTWDLzluXfvA2+K4iH9moCkBmZZsosXjKx5LZJUo YJgLt7Ljp15cEFkuR/pWYRii0GFfTc8JyT1gdxMbp3bQnjo3Tgg/vHhaSLnVyYRitvKQ +yMA== X-Gm-Message-State: AOAM5303TdlFXb0/801h+UU0HYoNDl0OA+WeQhyvwPi+JoDdl+yNd5Uq 3zH5+rmVHtuY5HcWHuTrI3plbw== X-Google-Smtp-Source: ABdhPJxP+lh6ND1hcM+YIlREZCHSyt0Q+gl1D1E1/uP+/wpTAUIj2z3wimskpD5Puv5muq8X44ygHw== X-Received: by 2002:a63:1116:: with SMTP id g22mr5535601pgl.257.1596427291773; Sun, 02 Aug 2020 21:01:31 -0700 (PDT) Received: from localhost ([2401:fa00:1:10:de4a:3eff:fe7d:d39c]) by smtp.gmail.com with ESMTPSA id r6sm10440146pjd.1.2020.08.02.21.01.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Aug 2020 21:01:30 -0700 (PDT) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] Add documentation and machine driver for SC7180 sound card Date: Mon, 3 Aug 2020 12:01:20 +0800 Message-Id: <20200803040122.2063634-1-cychiang@chromium.org> X-Mailer: git-send-email 2.28.0.163.g6104cc2f0b6-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_000135_774124_230C7B63 X-CRM114-Status: GOOD ( 15.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Taniya Das , devicetree@vger.kernel.org, tzungbi@chromium.org, Banajit Goswami , Stephan Gerhold , linux-arm-msm@vger.kernel.org, Patrick Lai , Takashi Iwai , Liam Girdwood , Rob Herring , Bjorn Andersson , alsa-devel@alsa-project.org, Andy Gross , Rohit kumar , Mark Brown , dianders@chromium.org, Srini Kandagatla , dgreid@chromium.org, Jaroslav Kysela , linux-arm-kernel@lists.infradead.org, Cheng-Yi Chiang Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Note: - The machine driver patch depends on LPASS patch series so it is not ready to be merged now. ASoC: qcom: Add support for SC7180 lpass variant https://patchwork.kernel.org/cover/11678133/ - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. Changes from v1 to v2: - Ducumentation: Addressed all suggestions from Doug. - Machine driver: - Fix comment style for license. - Sort includes. - Remove sc7180_snd_hw_params. - Remove sc7180_dai_init and use aux device instead for headset jack registration. - Statically define format for Primary MI2S. - Atomic is not a concern because there is mutex in card to make sure startup and shutdown happen sequentially. - Fix missing return -EINVAL in startup. - Use static sound card. - Use devm_kzalloc to avoid kfree. Changes from v2 to v3: - Ducumentation: Addressed suggestions from Srini. - Machine driver: - Reuse qcom_snd_parse_of to parse properties. - Remove playback-only and capture-only. - Misc fixes to address comments. Changes from v3 to v4: - Ducumentation: Addressed suggestions from Rob. - Remove definition of dai. - Use 'sound-dai: true' for sound-dai schema. - Add reg property to pass 'make dt_binding_check' check although reg is not used in the driver. - Machine driver: - Add Reviewed-by: Tzung-Bi Shih Ajit Pandey (1): ASoC: qcom: sc7180: Add machine driver for sound card registration Cheng-Yi Chiang (1): ASoC: qcom: dt-bindings: Add sc7180 machine bindings .../bindings/sound/qcom,sc7180.yaml | 113 ++++++++ sound/soc/qcom/Kconfig | 12 + sound/soc/qcom/Makefile | 2 + sound/soc/qcom/sc7180.c | 244 ++++++++++++++++++ 4 files changed, 371 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml create mode 100644 sound/soc/qcom/sc7180.c -- 2.28.0.163.g6104cc2f0b6-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel