From patchwork Sat Sep 5 17:39:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Marek X-Patchwork-Id: 11759537 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80AFD92C for ; Sun, 6 Sep 2020 14:57:04 +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 1741820714 for ; Sun, 6 Sep 2020 14:57:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="DNn5eUic"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=marek-ca.20150623.gappssmtp.com header.i=@marek-ca.20150623.gappssmtp.com header.b="srHQREj2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1741820714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=marek.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@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 02B06174C; Sun, 6 Sep 2020 16:56:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 02B06174C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1599404219; bh=Djz7zedIEqrat6LZ7Spm0YM1wUVnvhD9650PuqnoIiI=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=DNn5eUicRq/z1UJmlKvq19fN5JILVAikKROVgKFIeYv7Wv2H/dWtlJY0YHGH+Gkef tROhEOUcTTQb25BzYjmrViGlofFG+bXebOdKCqfylo2qoc+hMgBT+KML5335IxDWvJ S8jP7aIukKRBEu7fR2OLVw5SwWjJersLxs5rIizc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 64EDEF801F2; Sun, 6 Sep 2020 16:56:14 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id BC4BDF8021D; Sat, 5 Sep 2020 19:40:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,SPF_NONE autolearn=disabled version=3.4.0 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) (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 973E7F800F0 for ; Sat, 5 Sep 2020 19:40:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 973E7F800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=marek-ca.20150623.gappssmtp.com header.i=@marek-ca.20150623.gappssmtp.com header.b="srHQREj2" Received: by mail-qk1-x742.google.com with SMTP id u3so9398859qkd.9 for ; Sat, 05 Sep 2020 10:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oQro0KvCecashCGNg/PcVjIspfzorn2YBuMdQvvHTl8=; b=srHQREj2hm0W+uI7LdTFJ9F0DKd0AlV6pwGNbUXc3rUIVL9GDEUrBmquCnRQyChgwF 3MRZZ3A/sFDT28zANbCD5IT2BxHZKj0ZQjq7Xyy/mW+Zw/PITa0mTGo0oP8Xe0G/t5Qk Ne+RK35wEDCSnndnUkKNJM+zFe/FO7ucF6x/C5OgzSlolGLvvi4Gg4Bec3eO6jnG/Hn1 ZzL2Xxmmm/0ghLM4wRRYA1pD1Xu+GkfX27BtMSNhMbu7zPamJYehmYXIYfFuXcVOyC9w Jim1mFqNRzrHwdbb5V4KYdm7gTEeF8SeQE86PCJupPPjIGmssG+2rg6Oliwa9O1cnEEm pwpw== 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=oQro0KvCecashCGNg/PcVjIspfzorn2YBuMdQvvHTl8=; b=jpyWbfjcaVXwq24Viz4dSt66U/Z0rqKXkIZ+cUCgwLwDMilQhYX6PDMBUfdCFgBSUU RQv8+9vJhZfZ+5xV1cnr4824Jy2St6wyuiOWJ/9Is8gQ+3rFEGMmDFUJD1oSIYhz1L4s moYRPQe2JP8VN3z6fSj8TB4YM/pRW96MjAVqvVpl45goG8V9fuGRXXTZAsH59Eqz+bgE JZqO2ThLjsdYfc+7PqXDk+kUEFoCuELJGsZVlNEidEiZSHmfdkax2QnrMJiHpvcJy9IO 8r1XV3HMKsIXP7uYUABOwle6fWwxMU5Yc4/23UDGPmH6AhIfeTO19/luJtuIcqtqxT5V t5zw== X-Gm-Message-State: AOAM530v8AFr3KphZSyfUH7/yT+asxi/LAsNLnIDuO6urH8aizLCvmhR jUGNuIliGNft8JmAKPqiuxAJ+A== X-Google-Smtp-Source: ABdhPJz+AoKdk7U3xzEnEhwLVI+mA45wdHjbSYoaWKhRvxjshzsYjE8/yNT4RO4odN3yDb0/RtiSwQ== X-Received: by 2002:a05:620a:1381:: with SMTP id k1mr13315111qki.140.1599327604804; Sat, 05 Sep 2020 10:40:04 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id k22sm4612076qkk.13.2020.09.05.10.40.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2020 10:40:04 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/4] soundwire: qcom: add support for mmio soundwire master Date: Sat, 5 Sep 2020 13:39:01 -0400 Message-Id: <20200905173905.16541-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 06 Sep 2020 16:56:12 +0200 Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:SOUNDWIRE SUBSYSTEM" , open list , Rob Herring , Bjorn Andersson , Vinod Koul , Andy Gross , Pierre-Louis Bossart , Sanyog Kale , Bard Liao 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" This adds initial support for soundwire device on sm8250. Tested with the "wsa" sdw device, which is simpler than the others. v2 addresses some feedback, but I kept this series as simple as possible. In particular, I didn't implement CMD_NACKED from FIFO_STATUS, because the downstream driver doesn't define this bit, so I can't implement it. Soundwire works without it and It shouldn't be difficult to implement later. Jonathan Marek (4): soundwire: qcom: fix abh/ahb typo soundwire: qcom: avoid dependency on CONFIG_SLIMBUS soundwire: qcom: add support for mmio soundwire master devices soundwire: qcom: add v1.5.1 compatible .../bindings/soundwire/qcom,sdw.txt | 1 + drivers/soundwire/Kconfig | 2 +- drivers/soundwire/qcom.c | 38 +++++++++++++++++-- 3 files changed, 36 insertions(+), 5 deletions(-) Reviewed-by: Srinivas Kandagatla Tested-by: Srinivas Kandagatla