From patchwork Mon Nov 14 10:29:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Keepax X-Patchwork-Id: 1602 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2073351wru; Mon, 14 Nov 2022 02:38:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6JSNGNrZ7NbPWy29GJ7bAAEXB+acJc9DTb9R/2CsDPz0CLJl/dn4ZvYgbRI0j9eWplP+3y X-Received: by 2002:a17:902:e052:b0:172:f5b1:e73b with SMTP id x18-20020a170902e05200b00172f5b1e73bmr13177292plx.58.1668422315133; Mon, 14 Nov 2022 02:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668422315; cv=none; d=google.com; s=arc-20160816; b=SXLItaq2P7ioft3GV9MWkX45Ms3Oq0LYfUWZXxAxyRXeFFEikQ6xAyU8OaGFr6SmBQ qFjhvKC33v8IG+Te246YS6I1uPrdMwB0qHLGm/Z4MwOu4k/GE+ASwWGW+HW2r/GSPwkD GzSDqBrUzHuO2a3BshZILImQ5Nz32O7sETfmj6SsbNLqt1YYZUFeu941qXW9TKFgsNnZ ttlDcq4zoahGr69zzV5W9ZTEkpUlpCSZwOlWha/QM57hKfnKXOUIeUTc91Dsr+nLJov5 kYnHseXfu1IZ6Sy6aJcQyPOu/fSVLgdQdrdi9tLKWbCtlZ1mS/husM3SosaRPN/yCeWX A6dg== 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=3I80snV9eYtMbvZMlGgRAxWKxKCE83UuDVvJkzJhaxE=; b=yLD1ciCbXnEqMJppcd8CF7hI64wZYPnyKjjhR2NpzKqBeaj6DMxyPA0H/OFfV1wH9n 33kAzY4/skzljOVuXR18BnBTolrk4zZZ/u8MH9+8c02bVPJvDHu6hDifozaPqp98g5pU CRXSk19emiypCss3UuhrYVUi11Ay8FhD4h5WHX06ZR9S4YdxN9DkBmB/MNlbFaCOlQVM l096T4Z+cR6aaDGTc3ViKwRT5fxLd1KKPXMoyyGoiD2M+oqu2ZA6w2JZtYbGPDFvKxf1 /ZKTWNPFGC44pNJFrUnlcl1uM33Ua1VQ0dhxOushjbdAHcR26NhEtvlkXMj9wWdEwxpK k4cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=d24ZgR+y; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 73-20020a63064c000000b0047475ead51csi8472278pgg.698.2022.11.14.02.38.21; Mon, 14 Nov 2022 02:38:35 -0800 (PST) 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=@cirrus.com header.s=PODMain02222019 header.b=d24ZgR+y; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236330AbiKNKaW (ORCPT + 99 others); Mon, 14 Nov 2022 05:30:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235859AbiKNKaP (ORCPT ); Mon, 14 Nov 2022 05:30:15 -0500 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 029ECF023 for ; Mon, 14 Nov 2022 02:30:12 -0800 (PST) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AE8Wcic019990; Mon, 14 Nov 2022 04:29:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=3I80snV9eYtMbvZMlGgRAxWKxKCE83UuDVvJkzJhaxE=; b=d24ZgR+yWNTnMKR8O2v+Ngyk4mv0JkX47RDx6PMZLEQ0jUdyXSURP0UpgIpi+hCxpbr+ q5B/9mtep2zbwZMxu8/pHabaAYP4AUEts3Ev+OGm/ftrt1Nde9ARlzcqD9vmKHNrucgw jQNHakrj0HbRTFYRCVV8fYi1IgSz+6fAsWYItG9fDTkK+IiLl6VVKMrmBxVl7KhymsdT rhgtWoVY7dEoi5kJd9kcKz/SazQa+DzXALYPOAsFegCVb9N3qjCBRfUf65y18u5bbtwd yXPuyC0d/Nn5+gCjr1RK6DQmB6P0ACrDYak2j0lHr+vL8u8v74n+4MW+aT8I5x+GDGhG wA== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3kt8sst0cm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Nov 2022 04:29:57 -0600 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.15; Mon, 14 Nov 2022 04:29:56 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.15 via Frontend Transport; Mon, 14 Nov 2022 04:29:56 -0600 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 367712AA; Mon, 14 Nov 2022 10:29:56 +0000 (UTC) From: Charles Keepax To: CC: , , , , , Subject: [PATCH 0/4] Minor SoundWire clean ups Date: Mon, 14 Nov 2022 10:29:52 +0000 Message-ID: <20221114102956.914468-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Proofpoint-GUID: sJX6n-hrkfIZbSWi5Uv3eDcnEBeFjmQt X-Proofpoint-ORIG-GUID: sJX6n-hrkfIZbSWi5Uv3eDcnEBeFjmQt X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749467597388248035?= X-GMAIL-MSGID: =?utf-8?q?1749467597388248035?= Just some minor tidy ups and preparation for starting to upstream some Cirrus SoundWire devices. The first three patches are pretty trivial, the last patch which moves the remaining core over to using the no_pm functions could probably use some careful review. Thanks, Charles Charles Keepax (3): soundwire: Provide build stubs for common functions soundwire: debugfs: Switch to sdw_read_no_pm soundwire: stream: Move remaining register accesses over to no_pm Simon Trimmer (1): soundwire: bus: export sdw_nwrite_no_pm and sdw_nread_no_pm functions drivers/soundwire/bus.c | 10 ++-- drivers/soundwire/debugfs.c | 11 +++- drivers/soundwire/stream.c | 30 +++++------ include/linux/soundwire/sdw.h | 94 +++++++++++++++++++++++++++++++---- 4 files changed, 114 insertions(+), 31 deletions(-)