Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp817582pxb; Fri, 22 Apr 2022 11:49:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx++Q+q4YjgQpAvS9k6IKE4Nfk7fGba/qwTTQonUs8py8QR6OHux3h5QrcT/exFkQHTY2ky X-Received: by 2002:a65:6b8e:0:b0:39d:6761:300f with SMTP id d14-20020a656b8e000000b0039d6761300fmr5181494pgw.42.1650653352510; Fri, 22 Apr 2022 11:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650653352; cv=none; d=google.com; s=arc-20160816; b=wh2f2uPkPv/k9PxRarU4s/IGsSUNXSTB4wqYroFbEVBYMqA6H2FYiKfq0ZkkyIkyNv KuxoGnD3CIY2ow7lqyjR2p2mNyhbqCwCwc9tyr6S38WLfVJ81TD+QmKQbBVB/fEgwyhW x1sIdGgONHeXok8keT4B/7xA/jfDiBP3szGBdBht9YsOwbL+Uv4CC85KDTI0nwlVu08U iSO7MYkaaXmvbD5Dt/yMADgPfrtJXt5l0h5Ui9iQWbGLISgkvcl+F7z/wZQMujcEhJPB Q3alCNf4T+RrJqMVOm2gEDe5tiHg+2cvxqsk2YKYe5cUGnuY+7/aktJYfKgrNb6fnbOQ m2BA== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=Cmd0E8Et4Aqh5aFcilCHXMmJJLWu1Jtl7bjaRVoAghc=; b=ZhXWwCrNzOO5O8utogtN6j74eCozxZqUHfXDVIsj0stY4ipgQcEnnJdVZpOR67y2Dp /NxG4fQX/1lZDMj9WTnILDKc8J5Hp1TrkVau14MIrvY1kF6uGgjstcMfZbgH4TO4kKxu b5GtcdQQ56xIQgP97orsMOasKpyFPte7KyFYdPawPTFtWqqb7ptTCNvKC9vV3n9SqE8D JzTwmQ3l49Il9KVN8vqQSxdcj+17OVJkZZlfdS89LKm2EaeNnkfbLDdACAhXtzAPInZE a7xrWGh8aoG7rcgMw3kVmOv7kbslLsPiIEhWMQqRrDnqj2iYRckf13S2erBOsdtaM0bk miUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wlpnfsZ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y2-20020a170902b48200b00158dd229950si8731656plr.573.2022.04.22.11.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:49:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wlpnfsZ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 02DAD38AB; Fri, 22 Apr 2022 11:15:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385707AbiDUHZu (ORCPT + 99 others); Thu, 21 Apr 2022 03:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344524AbiDUHZr (ORCPT ); Thu, 21 Apr 2022 03:25:47 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A94411835D for ; Thu, 21 Apr 2022 00:22:58 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id m14-20020a17090a34ce00b001d5fe250e23so1055478pjf.3 for ; Thu, 21 Apr 2022 00:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cmd0E8Et4Aqh5aFcilCHXMmJJLWu1Jtl7bjaRVoAghc=; b=wlpnfsZ16kVfFPfp0k7Xj0f/aywbiZeLM4giSo7yBwG9EWkqD7nzRgzQ8sF933Mir5 5J5YxRb1Sn613WSHJZqpEO1cao98as3MMx1p/h1VIRoV1NPKbuXITZTdwCBtB4w0Hvhv NzGU7bgDiaG0QTcoVX2PdwFTW0ISrwv8eCeKnOknh5CzqMN8fNsJnKqrH7Qbi/ATlAn9 mc+ajMM1PLJX0m84nWKrxEhe11zMs3WDUqOwac9nZZyhtqOAZp/phrX55gcTelgupd9V L6Luf/Qt9k4lTI/FcV5s090CQk9HwX5H+l7eFF2QhizHRLp7sv23a5GpyZMNONzkqP1w mkJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cmd0E8Et4Aqh5aFcilCHXMmJJLWu1Jtl7bjaRVoAghc=; b=hCV+xx1gKEqO9nk2PILh785i7afI6egtJz0tyzhVU0YguSzr4qYXJa7SuJzdfUd4Au s0PTXAJLsLQaW89zuxvb9TrB3JNh+slYt1Ah0BZyxPrV6eV4tm7+FqUpAyj0EImF/je8 gAaW1oBEcjBI6ac93x6uUOfzpv/IRiOzA6ObCa+4SWROdLjywX4IquN8PoYGPwx7MQKR ds91OwFup+eiFx3O3W96jHTlDu7G7PpQyqH+yZKwRg0GowJV4dXrW0Lyb4F6yJPHpzpH SgLrog/JlCjHEH8XV4otBUTp87U0V8k6asD4v//EgJw/aCy+/i3F1i79E1PWNoB9bWPz 3csw== X-Gm-Message-State: AOAM533NH495O+qp4nm2q/bdlXq6GBJi/s3gtkp78ejXxwHWlcwG1SMY avTb5fP0vKhQ6X+HA1L9jPXQcyS9JXGSDL4wPnfELivfrgQ= X-Received: by 2002:a17:902:e881:b0:158:fd34:7b28 with SMTP id w1-20020a170902e88100b00158fd347b28mr18501645plg.95.1650525778165; Thu, 21 Apr 2022 00:22:58 -0700 (PDT) MIME-Version: 1.0 References: <20220420102811.3157-1-slark_xiao@163.com> <55f0b74e.25a7.1804aeeedb4.Coremail.slark_xiao@163.com> In-Reply-To: <55f0b74e.25a7.1804aeeedb4.Coremail.slark_xiao@163.com> From: Loic Poulain Date: Thu, 21 Apr 2022 09:22:22 +0200 Message-ID: Subject: Re: Re: [PATCH] bus: mhi: host: Add support for Cinterion MV32-WA/MV32-WB To: Slark Xiao Cc: mani@kernel.org, quic_hemantk@quicinc.com, gregkh@linuxfoundation.org, bbhatt@codeaurora.org, christophe.jaillet@wanadoo.fr, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 On Thu, 21 Apr 2022 at 09:04, Slark Xiao wrote: > > > > At 2022-04-20 20:00:23, "Loic Poulain" wrote: > >Hi Slark, > > > >On Wed, 20 Apr 2022 at 12:28, Slark Xiao wrote: > >> > >> MV32-WA is designed based on Qualcomm SDX62, and > >> MV32-WB is designed based on QUalcomm SDX65. Both > >> products' enumeration would align with previous > >> product MV31-W. > >> Add some new items for mv32 to separate it from > >> mv31-w, in case we need to do any changes in > >> future. > > > >On the contrary, do not overly clone the structures, and re-use the > >mv31 ones if they apply. You can rename them to mv3x if you really > >want to. > > > >Regards, > >Loic > > > Hi Loic, > Thanks for your suggestion. > Actually, for different chip(like previous SDX24 and SDX55), they may > have difference behavior. For example, the item of 'sideband_wake' > of SDX24 is true but the rest is false. It's hard to say SDX65 would > align with SDX55 until now. I agree, but as long as the structure's fields are the same there is no point in duplicating them. > Maybe I can re-use the same item '.config' for all MV3X products and separate > them from device info(mhi_pci_dev_info). > Do you agree this? Yes. Loic