Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3145756pxm; Mon, 28 Feb 2022 13:03:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxki19b/qVB2duaa75IKXoX+/YiWABwQ6iIAVaVMVJpH0dSvDIBv8YDElEV0RaqXauGT3XG X-Received: by 2002:a17:903:1004:b0:151:6b8b:db1c with SMTP id a4-20020a170903100400b001516b8bdb1cmr6411663plb.124.1646082199669; Mon, 28 Feb 2022 13:03:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646082199; cv=none; d=google.com; s=arc-20160816; b=MyQbj8DtSDVXdCxcDzSoYFGxkexKefq5qz7yIH8V6bFfgTBSp3FJ4QB3YGquOYtZqY vvCAjyvqvteQqLvCrMq0mZ5KR0RQ68ggn4QP75obxbAJbpWemwnbnZazPa8MTSHjDA6A xgL0gm3+ef/A5zIm60BM6bcGzw5r8eXhNe4ApDNhzII5P3koejs9S2SvtdwpReaYMsMn lqYTAXbJW0NxqmSZnn/a0Z4N722OdIL1p94Lu+2mULpTHlaeqcEs+HnsHBA076Lt6bM6 y4Ezmwn9AUsHnYwxtdpFCt4J7JOcWXbG+FhpcNmSJcWVclydJePb+chASsoH4tcA+iKK 01Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=OjxaRtww+0xjPVA2HOQsw52HxUVAinM3d0O8FoXeDko=; b=gUm9xEVk9PR+zau14sN61RQpgRQq+BksRVuj1z1os3ZwyeevdI5MWK0Ea2uLRYQGrS bTyKxSDYkbZCd1bzptE0sODzBfa8q+qDMz7zouwRoLADoXnwxE7TFrv9BoPmLfTbjjIO QTA+j8MxYwdP0XtkzLSyFSyKLoiabjGBGbq6MbqCtu6kc1tznNF2TOmNvwf2Cz+wB1+X Xk0jk1/GVLOTqfWlPZt8i+h4B3MPA0fm3QPYlEl8HMzsHnzT6oEkLSKvzK6GRZ7iM9bi TEZ9Leg1hYOsUzXQ8U6WY8kPOunBD1lenaCEDf84J/2HaRbp+72n5ERZyGSb3CdSJxfr NxYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BAB4ti96; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a056a00130d00b004f0ed8dc901si11025424pfu.88.2022.02.28.13.02.59; Mon, 28 Feb 2022 13:03:19 -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=@chromium.org header.s=google header.b=BAB4ti96; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbiB1VDM (ORCPT + 99 others); Mon, 28 Feb 2022 16:03:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbiB1VDK (ORCPT ); Mon, 28 Feb 2022 16:03:10 -0500 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F153CFFD for ; Mon, 28 Feb 2022 13:02:31 -0800 (PST) Received: by mail-oi1-x236.google.com with SMTP id j2so14389522oie.7 for ; Mon, 28 Feb 2022 13:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=OjxaRtww+0xjPVA2HOQsw52HxUVAinM3d0O8FoXeDko=; b=BAB4ti96IwrLL45RTnLkyVlTAFqJ8Gh6Ntg3w0Rk2WSWnBfnOec8AKO/J2rWYeriVS JQbU7JrNNsR9Q3ge5zfmlnX0P7WIOzNbU3ugL6IYLL++VqB3WQeegRpCYo68Lips/lfp 82gfdqDxH3c2c6zf4vn0pA0w0qTvVqMGOQMAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=OjxaRtww+0xjPVA2HOQsw52HxUVAinM3d0O8FoXeDko=; b=zk1hsxcmF3h9HtCUNOlwvB7el+3Exh6+GjWH+J5LnXqpGMUHnJugUr6GxfzCCd92Rh w1icCnW4JURdzsiTkI/UmWgvDim40e/OXWIZ1MBtRbyde0WMOBx8/KVH2LErCo6JiaV5 om9RaXJiYW6wdxZ8bdeYtRealB9hQMR9JZfYKTWGQe0j7z8WCForivSS4zkXx+YVFTir 35lDw/ihEw7NlrmDk/IGef/RVMEe/s32UWLr7pdlSFfPhVO5a9EvKLPZgZ7WLVKCq6Rn FA2gbsslkyQBh92tg1WWl+9gPchPLQPayQiYKMlVpbfbGY5mCjtDP/IM7jxryZrJWS+F aZ7w== X-Gm-Message-State: AOAM530PlIMgnTPv0BeHskadhZjW/T0hW34jJRJhX9u1JoJLRtSN5O1e AecUeol+DmxVAWqM1DB8YslygpmUcmTKQ/PLihKpyw== X-Received: by 2002:a05:6808:1a28:b0:2d7:3c61:e0d6 with SMTP id bk40-20020a0568081a2800b002d73c61e0d6mr12241619oib.32.1646082150802; Mon, 28 Feb 2022 13:02:30 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 28 Feb 2022 13:02:30 -0800 MIME-Version: 1.0 In-Reply-To: <1646030377-12092-2-git-send-email-quic_srivasam@quicinc.com> References: <1646030377-12092-1-git-send-email-quic_srivasam@quicinc.com> <1646030377-12092-2-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Mon, 28 Feb 2022 13:02:30 -0800 Message-ID: Subject: Re: [PATCH v5 1/2] soundwire: qcom: Add compatible name for v1.6.0 To: Srinivasa Rao Mandadapu , agross@kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, bjorn.andersson@linaro.org, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, perex@perex.cz, pierre-louis.bossart@linux.intel.com, quic_plai@quicinc.com, robh+dt@kernel.org, rohitkr@codeaurora.org, sanyog.r.kale@intel.com, srinivas.kandagatla@linaro.org, tiwai@suse.com, yung-chuan.liao@linux.intel.com Cc: Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Quoting Srinivasa Rao Mandadapu (2022-02-27 22:39:36) > Update compatible string and master data information in soundwire driver > to support v1.6.0 in lpass sc7280 based platform. > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > --- > drivers/soundwire/qcom.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c > index 9eb31ba..fb183bd 100644 > --- a/drivers/soundwire/qcom.c > +++ b/drivers/soundwire/qcom.c > @@ -175,6 +175,11 @@ static struct qcom_swrm_data swrm_v1_5_data = { > .default_cols = 16, > }; > > +static struct qcom_swrm_data swrm_v1_6_data = { Why not const? > + .default_rows = 50, > + .default_cols = 16, This is the same as swrm_v1_5_data so just use that struct again? > +}; > + > #define to_qcom_sdw(b) container_of(b, struct qcom_swrm_ctrl, bus) > > static int qcom_swrm_ahb_reg_read(struct qcom_swrm_ctrl *ctrl, int reg, > @@ -1343,6 +1348,7 @@ static int qcom_swrm_remove(struct platform_device *pdev) > static const struct of_device_id qcom_swrm_of_match[] = { > { .compatible = "qcom,soundwire-v1.3.0", .data = &swrm_v1_3_data }, > { .compatible = "qcom,soundwire-v1.5.1", .data = &swrm_v1_5_data }, These other structs for v1.5 and v1.3 could also be const. > + { .compatible = "qcom,soundwire-v1.6.0", .data = &swrm_v1_6_data }, > {/* sentinel */},