Message ID | 20231206150602.176574-1-ayushdevel1325@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4165977vqy; Wed, 6 Dec 2023 07:06:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyVySsqqgSjiERfHKTUthkNsmr+TVqou5gHwa93BFGdWQSEtgRBBPLpFNRrmHKWZwQE8xL X-Received: by 2002:a05:6a00:99a:b0:6ce:2731:47bd with SMTP id u26-20020a056a00099a00b006ce273147bdmr1325066pfg.29.1701875193943; Wed, 06 Dec 2023 07:06:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701875193; cv=none; d=google.com; s=arc-20160816; b=tfPD4hUX11TrwX91nzbNZ4ms4Ypcw7AcgKdzaeXyrTKPQYYPlnKWJRpudvyxx7e+gP BBxIkN5zNkYIWwfj3pyqk2cPPOplSNseClkQ8IVW8ACRr6EFMMnT7itS2EJY73p7o4HH MaK9VLDoBPw+8oODN4qobScrHOxE0ndakA8IBI49W5CmvSbiy7OY/IwI27QFCyO59gJT fIKEAUGSTImDtOGFPbieBA6/nZ5b95x0K+FJQEAmZm/XHfQUGLwMuj1v47g+MOxyr2BX UnK7n9o/nN9GRP/tEGoInlZGT1OedNz0NjDolaCmjqdwMrRYK7q9IaPa4fwqJzvnZ9eC 02fA== 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=bw38UF76vgagNyzeuAW0hrU8Uw5hhjptrU/a5VxUCtk=; fh=co/de1SGAKZAvSvhfX0xdd1CBSxdr3nV/NugAYVDMAE=; b=PWEfqVIEAoB4o1t/3R/yse4usragT9p3+8+HeQNU7xPWohj+5ZFdGWWfhyFjIQ/rd7 mwCWe1QYge/1zAGW+nshc2c4AkVK+g9o8XwKYflwx/3WIuTmHa5O8fKCaRsVeKeDdtcU rI3ib0WsDbjHR/+Ko8t9EXp3M47IjRUtPixl6MoFwauEj/THtOc06MIdh5cGubi2EeYx h7sSbEdzYOW7j1lfnGVoRqs9ZVseMz+EmjwlZtky8omO+vZI2zJ+Atkr6WPqYaIDk2Qd 5w5hZ6/6DEfg2czP1noOh4tY2tDvYpB4qm0ziSvrLTaeZxJ23tpXb5K5lpJG8ncNJcIP 4nSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=I7f2DyY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x28-20020a056a00189c00b006cdaac97b57si78451pfh.213.2023.12.06.07.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:06:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=I7f2DyY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7432183348BE; Wed, 6 Dec 2023 07:06:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379097AbjLFPGK (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 10:06:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379084AbjLFPGF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 10:06:05 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1CC3B5 for <linux-kernel@vger.kernel.org>; Wed, 6 Dec 2023 07:06:10 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6ce6d926f76so737029b3a.1 for <linux-kernel@vger.kernel.org>; Wed, 06 Dec 2023 07:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701875170; x=1702479970; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bw38UF76vgagNyzeuAW0hrU8Uw5hhjptrU/a5VxUCtk=; b=I7f2DyY1tILulp7SFr3sEtK6PanrwJ2+hcDBGJHfw2tfBriHbm9h6g/iXpfXLkhcz1 Bx/77oT6oaiCxEwdECQrP9bTnZwGXfIolX4QegKVmlVgvRFLUzLW7pn0YgUgLxPHon8U xAktld57JDTHMGzY+EyxpCtV3cdMUi3lwawIdA+RlSHV3ZtASpxAQWcUCXZemmxuC71v mQEoyWTLFSGIXfvsQjfumSrtnH9jQggVDTIXB6sxU2ILMDC9GrnBIWDsGdxq34qYvpba dT+3WXQDQIDnAE1cE9EwJwlvRnUYy4UyKxcopIVA7W8qSfFY8DMOpx7KF39gmrNSgREg swxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701875170; x=1702479970; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bw38UF76vgagNyzeuAW0hrU8Uw5hhjptrU/a5VxUCtk=; b=lwS2EhTVd6gH2txEUv7B+yfMdZSuCAfSrm2HBhs31+KOaM13aHSeESj7+whYUExRcP 49Z5m0CsXeMrfw81w+y4t0Ctgb4KUD45QED5+0zMLxyY4oaEdDUjOgskFVxXSXAh0BkF Ap4XBPPenBnqB8PhRE8eDiHaO1eN2QCnXft8Weu9J4ZfuMNcXuvQc4EFplq0EMY1aEwI 8JRNI7vwIZi8mDxTagsIp8CQ7BuJUUpURQDeBdb9kvlVYKW7Y4gxR3nbZ7PLkWIsBjTF dWNecjwXIq/7lrAuJQtWa4YGHl7krZOTTFg28qQUxyLjS2Ku/1HjrCQAd8xrrXFV+HKK 9EVA== X-Gm-Message-State: AOJu0Yy2R3iHTiMYwtuka7/TviGhZsmLKxiXyIEroTVJDDhy5jeZqZsD QfYJ94oY5FSMXVB2Hha6OhpObfXjuiBvLg== X-Received: by 2002:a05:6a20:a296:b0:18f:97c:384f with SMTP id a22-20020a056a20a29600b0018f097c384fmr1189924pzl.41.1701875170275; Wed, 06 Dec 2023 07:06:10 -0800 (PST) Received: from toolbox.. ([2401:4900:1f3e:53bf:50c7:2988:e019:4b97]) by smtp.gmail.com with ESMTPSA id s5-20020a625e05000000b006ce7ed5ba41sm96885pfb.55.2023.12.06.07.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:06:09 -0800 (PST) From: Ayush Singh <ayushdevel1325@gmail.com> To: greybus-dev@lists.linaro.org Cc: Ayush Singh <ayushdevel1325@gmail.com>, johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, jkridner@beagleboard.org, nm@ti.com Subject: [PATCH 0/1] Make gb-beagleplay driver Greybus compliant Date: Wed, 6 Dec 2023 20:35:59 +0530 Message-ID: <20231206150602.176574-1-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 06 Dec 2023 07:06:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784545483315457180 X-GMAIL-MSGID: 1784545483315457180 |
Series |
Make gb-beagleplay driver Greybus compliant
|
|
Message
Ayush Singh
Dec. 6, 2023, 3:05 p.m. UTC
In beagleplay beagleconnect setup, the AP is not directly connected to greybus nodes. The SVC and APBridge tasks are moved to cc1352 coprocessor. This means that there is a need to send cport information between linux host and cc1352. In the initial version of the driver (and the reference implementation gbridge I was using), the greybus header pad bytes were being used. However, this was a violation of greybus spec. The following patchset creates a wrapper around greybus message to send the cport information without using the pad bytes. Ayush Singh (1): greybus: gb-beagleplay: Remove use of pad bytes drivers/greybus/gb-beagleplay.c | 44 +++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 13 deletions(-)