From patchwork Sun Jun 6 15:37:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 455067 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2074723jae; Sun, 6 Jun 2021 08:39:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0RccjHOGp0NsX1vuivwH8FxzuPnpPHulBAiiPaSipi1s15Gkvap0gu2RbM+7tR+724lIQ X-Received: by 2002:a17:906:2a8e:: with SMTP id l14mr13873055eje.549.1622993967693; Sun, 06 Jun 2021 08:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622993967; cv=none; d=google.com; s=arc-20160816; b=TKFNdHzRm7wzex4mWalGEviRZPKCyNTxH9deBtZuwizDvELCfpBtmQ84FIHvOD78D4 VYpBNUYm6LPwjEvNBDicWDqxCK+7NBKUPzvMCOhoRgUC8HKDOSK8R32mA3pTIC/sCjEl v24HgegIR16P+xqkGScEhGLTjxTJnifqWO52Pb6se5mi16mV7dRWGC2uEYH71GvQgGMw 0jkfmoiciwn7DPcGmvdRTD2c0EqeTusYDOI14rQg80bieM40O51g2QeXSvBS4a0wdPs2 U7C44D44ghkbaFhhMSFh/sXnslmn9lg7IvDj+zaKe9EgTdN5/kTdbaTJGFoenZGMDi+H lRgg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vnKyon0BcZHjnZrJ0xlKombfXzk4vzVJpJjJjwKlCw0=; b=ShsSKux8JrwWr508XKra4dqOOyjEEyrH1zGTlpFhZCG0JobyNyffCeJPWzIqDkOfT2 XzTM2I83MmTc5BS1eg+CueevBDSRvR/kJzyGOQ9eoeRyqmKhwaxkgbHAXKZJ86fWSfbp ecZCpDi6N+oz619Kot0u97CjdB3EtsQX1dja7brAjHZfAwsTz5w+kN0+tg1rh4VSPFI9 jwegXT08u0zp7OWDv8dIxdYMtShFv7UV4BrTUIaznqhjtUTnVG7jI1Rkty1pqaRm3wTt 53NANPlvuC4Q660rfONumBFYfnMJggkuBtjkldmmekQ0Y1MbuFSYBJ6SK3WcmM3jEDrN 05Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4qqQCV8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si10961498eju.564.2021.06.06.08.39.27; Sun, 06 Jun 2021 08:39:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4qqQCV8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230213AbhFFPk7 (ORCPT + 17 others); Sun, 6 Jun 2021 11:40:59 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:39813 "EHLO mail-pj1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbhFFPk6 (ORCPT ); Sun, 6 Jun 2021 11:40:58 -0400 Received: by mail-pj1-f42.google.com with SMTP id o17-20020a17090a9f91b029015cef5b3c50so10335303pjp.4 for ; Sun, 06 Jun 2021 08:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vnKyon0BcZHjnZrJ0xlKombfXzk4vzVJpJjJjwKlCw0=; b=S4qqQCV8l/WZwmDOSOCiHzmajb9QpI9byGlaa2sFI8tFcOgWXx4wCV/cFnHZLAvjM+ CkjACl0WA6g37z/+5yOQSGKT8YtTZjeJTMOUnw1XHmet+sybTABZHJdDNtexHjKDiwYW E7AJXXBI6AIm1F3q4g+KK1ZRm/lbyjsmVAWjti7mKHSxBu+mZNnZgsQ0O+9Fjkts2/FH EgG2enNNy+t5T2RRb5KlPp92AJlcKhuHoVvGp4EbwJGSUz/m2wafANkW08kwXrcxO9Xx 8VAtqcKt0BOSU+jHBTDiI/nb2Kab5Z6v4IwrhJC/7mhY6S3nWazQyXaJqauZygIMurst iTWg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=vnKyon0BcZHjnZrJ0xlKombfXzk4vzVJpJjJjwKlCw0=; b=lvzC4W3hVN2Udsk8ADuE8sByekkuFmijShtS5rkgxxOIox5Waa/AIOpW4ULp4GXN+G UWK4tAf2D+fcnccDGcBpPHZL/NJiteEz9ZlPjKT+j+Rs3oVr7Pzd1GlIIXaen9A1hGvu xTaNRKCyxNQV9Ys/50sTiMYS+yaRBPBWDLtIXcd8LdB5rmMq0ixXbj/JSBST37bRXZJv v9kqw4PRhiWQhfnyfWT2GyqcUvJTh7riWhg1S3E7E8NnRs/tjPKiU7XfXww7NbFGSu2T 4hukuf1wQeHWV5jySf3RT/d2ZN7naGg1SOwqsIIF3Lenq5EhsurrX1HcudSAfE6tqX2V DJgQ== X-Gm-Message-State: AOAM533GHl6nuQRBS+FlgESnLEAqiPJvpcUi2gPc0xRHASDAQS2WIgg6 nulD+x6AptkABEhl//K0o1k1 X-Received: by 2002:a17:902:aa42:b029:ee:f55a:b2c1 with SMTP id c2-20020a170902aa42b02900eef55ab2c1mr13915434plr.15.1622993871882; Sun, 06 Jun 2021 08:37:51 -0700 (PDT) Received: from localhost.localdomain ([120.138.12.59]) by smtp.gmail.com with ESMTPSA id g29sm6497919pgm.11.2021.06.06.08.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Jun 2021 08:37:51 -0700 (PDT) From: Manivannan Sadhasivam To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, jarvis.w.jiang@gmail.com, loic.poulain@linaro.org, Manivannan Sadhasivam Subject: [PATCH 1/3] bus: mhi: pci_generic: T99W175: update channel name from AT to DUN Date: Sun, 6 Jun 2021 21:07:39 +0530 Message-Id: <20210606153741.20725-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210606153741.20725-1-manivannan.sadhasivam@linaro.org> References: <20210606153741.20725-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Jarvis Jiang According to MHI v1.1 specification, change the channel name of T99W175 from "AT" to "DUN" (Dial-up networking) for both channel 32 and 33, so that the channels can be bound to the Qcom WWAN control driver, and device node such as /dev/wwan0p3DUN will be generated, which is very useful for debugging modem Fixes: aac426562f56 ("bus: mhi: pci_generic: Introduce Foxconn T99W175 support") Signed-off-by: Jarvis Jiang Reviewed-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/20210429014226.21017-1-jarvis.w.jiang@gmail.com [mani: changed the dev node to /dev/wwan0p3DUN] Signed-off-by: Manivannan Sadhasivam --- drivers/bus/mhi/pci_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c index 7c810f02a2ef..8c7f6576e421 100644 --- a/drivers/bus/mhi/pci_generic.c +++ b/drivers/bus/mhi/pci_generic.c @@ -311,8 +311,8 @@ static const struct mhi_channel_config mhi_foxconn_sdx55_channels[] = { MHI_CHANNEL_CONFIG_DL(5, "DIAG", 32, 1), MHI_CHANNEL_CONFIG_UL(12, "MBIM", 32, 0), MHI_CHANNEL_CONFIG_DL(13, "MBIM", 32, 0), - MHI_CHANNEL_CONFIG_UL(32, "AT", 32, 0), - MHI_CHANNEL_CONFIG_DL(33, "AT", 32, 0), + MHI_CHANNEL_CONFIG_UL(32, "DUN", 32, 0), + MHI_CHANNEL_CONFIG_DL(33, "DUN", 32, 0), MHI_CHANNEL_CONFIG_HW_UL(100, "IP_HW0_MBIM", 128, 2), MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3), };