Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp288906ybt; Tue, 23 Jun 2020 22:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCO0gjRdZHvlNoTrmblcZytObl6tOTmBhp3dMhzHzeQm/o6UXSynnOSmJRP4fj5C4iH6Vu X-Received: by 2002:a17:906:f2c4:: with SMTP id gz4mr8856302ejb.484.1592976638307; Tue, 23 Jun 2020 22:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592976638; cv=none; d=google.com; s=arc-20160816; b=HOl8PUOG47F38+uPDOH5u6jr+uO/0Zer6PTNsdj2894XXwsngdfA3S4QGBr/hgQh+b K9j4L07JPLIi7KkDtigdnv4Myyd0on8JU4u3nOtGfJv5fKx4W/UBMnjFY+5rFEkxrnDz zp9hDfbRvnMwQ/Krcj4AB16Y49aIxuGkfM9qR7VNpHSpnlBZLbvma2eSNp96wUNk3Xjl IlFOnWP443xNR+V+aBWR7PPNGmIDalrsIPYQW3H+wAsFifAamiuNZYCXJWr6hGOMbc32 u5LZG28fu/T3wPyQtH6kSXO8f9JkmSdZ/31op7GhWxO7lL7wXE3ZGMrXCry/8/omX0Vb 3LBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=h2+l72o9shROQsQff7DRk36M9VCXmkIKwFoQO7FPCHw=; b=wDi95z0ZB20j1t9OoTFJxSGnPG4zEm1kRVp0lRuyNcIc9/s2/B6F0WxubAtrAXJndN MWEd1SQDjgl+Rje8aOdxS3Bg93Enbx3XZr2vGJMCB3+so9IL0gDs6R0jqHSy9MAtv3FU /dcc3JWXDqIKcpUI2rKpxODHMEi8sgjYK/XKGYE44SuSNi+vo3PYjPBKs6oMiBoU1lOT grGJBkMVP5C4LxTi/LHcRvdJ9ScO8kRPhrQkhK+thNnyY47X1N9AuDuabccNGmJIMUmK rh9TEr1gjC5cqNgCRIhB5fHSRJ79NMbL359daDe/Yp7EWKDNyTRSjKRZFOgVcRItFmf4 LTPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si824008eju.654.2020.06.23.22.30.14; Tue, 23 Jun 2020 22:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388902AbgFXF37 (ORCPT + 99 others); Wed, 24 Jun 2020 01:29:59 -0400 Received: from mga17.intel.com ([192.55.52.151]:59032 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727957AbgFXF36 (ORCPT ); Wed, 24 Jun 2020 01:29:58 -0400 IronPort-SDR: c9Y8SbSsts0A+8R6Ae+KiLU1Su6hbFY2PHe4+V201YZ8+yZ2JzuuVguq/yRq6FP34f/qPsqc73 FJWjgISzhTNw== X-IronPort-AV: E=McAfee;i="6000,8403,9661"; a="124597037" X-IronPort-AV: E=Sophos;i="5.75,274,1589266800"; d="scan'208";a="124597037" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2020 22:29:58 -0700 IronPort-SDR: 14rUsAqnY/CsCOHKN/2Q+3sVDWQksR/qZ5io6U8OjRUBlKWILaXzuZVtw8LVDrUI8SDZm6AjoG NwOju7NG6ALg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,274,1589266800"; d="scan'208";a="452513215" Received: from bard-ubuntu.sh.intel.com ([10.239.13.33]) by orsmga005.jf.intel.com with ESMTP; 23 Jun 2020 22:29:54 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, rander.wang@linux.intel.com, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, slawomir.blauciak@intel.com, mengdong.lin@intel.com, bard.liao@intel.com Subject: [PATCH 0/9] soundwire: intel: revisit SHIM programming Date: Wed, 24 Jun 2020 01:35:37 +0800 Message-Id: <20200623173546.21870-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series does some cleanup, revisits SHIM programming sequences, and merges Soundwire interrupt handlers/threads. Bard Liao (2): soundwire: intel/cadence: merge Soundwire interrupt handlers/threads Soundwire: intel_init: save Slave(s) _ADR info in sdw_intel_ctx Pierre-Louis Bossart (6): soundwire: intel: reuse code for wait loops to set/clear bits soundwire: intel: revisit SHIM programming sequences. soundwire: intel: introduce a helper to arm link synchronization soundwire: intel: introduce helper for link synchronization soundwire: intel_init: add implementation of sdw_intel_enable_irq() soundwire: intel_init: use EXPORT_SYMBOL_NS Rander Wang (1): soundwire: intel: add wake interrupt support drivers/soundwire/cadence_master.c | 18 +- drivers/soundwire/cadence_master.h | 4 + drivers/soundwire/intel.c | 389 ++++++++++++++++++++++------ drivers/soundwire/intel.h | 9 + drivers/soundwire/intel_init.c | 101 +++++++- include/linux/soundwire/sdw_intel.h | 2 + 6 files changed, 425 insertions(+), 98 deletions(-) -- 2.17.1