From patchwork Fri Oct 6 04:10:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 149101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp77335vqo; Thu, 5 Oct 2023 21:12:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyKoL1tFP2RtvmK/JGzzrT0pbFaLI4OPuJe1lqBuNwbQdepTgcJTO4m3ep1WcJf+RfNEZA X-Received: by 2002:aca:280b:0:b0:3ae:1cd9:8e0 with SMTP id 11-20020aca280b000000b003ae1cd908e0mr6665179oix.39.1696565559288; Thu, 05 Oct 2023 21:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696565559; cv=none; d=google.com; s=arc-20160816; b=0xD05e5qRRZ6uk8eCoPq1N+9E+BlqcM1U8adSNboEHPHJCsHJkvsuwd5JvjnzZp3Ip Crxqsz0I4KoFky/EPHCwO9/5x0/ozQlnfuTRpt87+qmdz3yAz+ENY22hrAcBCLBnXU8a JxD26w6muZTVvaFppXkv1ARgKE/FNRimhsVlN4iR19/vOKzgGDTBAfLWEd7LcaT5dc3t kuQpzO3noc/0rlvOrtq2+rs8muoP/p3IHoQ2VxZ+1SrD9xs1JECRb/cYjQBokJCwt6Bl 7wJUkJqUyttmP53DsY5sulQyEiikF02KKfCUc7cs0WNamSK75RJM5qHuQ/2J6mGpgD81 Ubcw== 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=6ElaHiBH2gpr//Jw4k1jpeuPEUC0EHD6jwce46X0hpw=; fh=s9z7nQI8bejycky2Sj3FV9x0KoR9nNTVf/pJEfm3xpg=; b=wUSI3cdgnA4s6uxnfcAp6mjjwZ8hY5LkiANEm9dGFxnNG9qdKsJDJe1yMSlKysw99d 4JNAJoV+jZGWiz07UriOJjz++k9L1AaqJs+3EAAmwrBeUqQb+P4RfoST9LY7WxxkUMDm WMA6D4T2eoMVCTlsRT7dDrJ0RjzKjtQba5W3UA/LwWZYxEsasfX3vX4JMqZtbe6fFP43 LbkVc8qyeWTZHvWJsLUD5BwPrhlDnCGGz2KLb+OhTrL/N9BVL7qc0ngkuA3A/yeRBQOi 98/qQJt7VYZ+9D0HF9+GTvn3hQPZM3pgyQvwjKdd12ujfi9TwUnaK0l3pMGespVc4xp8 MT6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xuitsgfg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y7-20020a636407000000b0056c2f508898si2947170pgb.725.2023.10.05.21.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xuitsgfg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 16003806AFD7; Thu, 5 Oct 2023 21:12:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbjJFEMQ (ORCPT + 18 others); Fri, 6 Oct 2023 00:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjJFEMN (ORCPT ); Fri, 6 Oct 2023 00:12:13 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 060F3DB; Thu, 5 Oct 2023 21:12:12 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-68bed2c786eso1470048b3a.0; Thu, 05 Oct 2023 21:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696565531; x=1697170331; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6ElaHiBH2gpr//Jw4k1jpeuPEUC0EHD6jwce46X0hpw=; b=Xuitsgfg0BJu+hRQFXk0Dzr8TSNtEEN60ttuuPoLN5xfsdmoR13npq1zGQjK9CX4FH 93fhG4/En8DVtcOhSQN5fLUZm6qPwkCYgZ/FSBdOWe0OCWKFUAmZUEIZ2oEhwKU04yEp Gf67NUngFMjJXocmEqpB18+LwrIf6dm3CrXnnDCHJJ1SagzBpmM7N4haAV/6qV6/fFlQ cLK06kx3BhBUIStnucZttY56kbybfgwGOXK6MiTW4wpCvmgdlSFAjvpWbYSe7VfcC0ZF 9un21q+gfCmD9vjZ1vcuRzwVdJQ+aRh6nW0vLC1+o7Q4oGCk2fUSDzEWL85U3KUm0JhW Bu8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696565531; x=1697170331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6ElaHiBH2gpr//Jw4k1jpeuPEUC0EHD6jwce46X0hpw=; b=hyhVhwxPW5D1Fihfpsq/JPmsm8t9EZBcTHOC93Srr97KMAXilBxvHDXb0kMMAbCuQA uF79KxdSYw9sdtbisCWJHDau4bE23Pg9cmwDbZYVcbeI3nYuZPV9xnJ0UodBOxe9Iq2k 5aleG+sFVVecYYwRU44fjdGFT1oJnuxYpzaaSXmPtGwWSDkLUtPnNeITzdcLUvu64qut fx6uBckpnqdRFL0owSOtps+UOl94O0lzC60P//l5mO2SZFV4pKeffxUjpbzEAVH1apXG h5RLtRw8Wj1tD0NDVCtWpIRkWgyIbF8wo+tpSftj7cugoVNYpgaow5NeGfJzmrJSxt2m ClyA== X-Gm-Message-State: AOJu0YxDjmzNu7cdsFwYIHzcrQTZVZ6R7apzaBxEpADH787EiP+2roXG ynFKFglPhH3dHPfVQ+MmJDY= X-Received: by 2002:a05:6a20:8e29:b0:15d:684d:f514 with SMTP id y41-20020a056a208e2900b0015d684df514mr8294977pzj.6.1696565531371; Thu, 05 Oct 2023 21:12:11 -0700 (PDT) Received: from toolbox.iitism.net ([103.15.228.92]) by smtp.gmail.com with ESMTPSA id t17-20020aa79391000000b00694fee1011asm401131pfe.208.2023.10.05.21.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:12:10 -0700 (PDT) From: Ayush Singh To: greybus-dev@lists.linaro.org Cc: Ayush Singh , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, vaishnav@beagleboard.org, jkridner@beagleboard.org, nm@ti.com, krzysztof.kozlowski+dt@linaro.org, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v8 1/3] dt-bindings: net: Add ti,cc1352p7 Date: Fri, 6 Oct 2023 09:40:31 +0530 Message-ID: <20231006041035.652841-2-ayushdevel1325@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231006041035.652841-1-ayushdevel1325@gmail.com> References: <20231006041035.652841-1-ayushdevel1325@gmail.com> MIME-Version: 1.0 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:12:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778977927884827352 X-GMAIL-MSGID: 1778977927884827352 Add DT bindings for Texas Instruments Simplelink CC1352P7 wireless MCU BeaglePlay has CC1352P7 co-processor connected to the main AM62 (running Linux) over UART. In the BeagleConnect Technology, CC1352 is responsible for handling 6LoWPAN communication with beagleconnect freedom nodes as well as their discovery. Signed-off-by: Ayush Singh Reviewed-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon --- .../devicetree/bindings/net/ti,cc1352p7.yaml | 51 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,cc1352p7.yaml diff --git a/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml new file mode 100644 index 000000000000..742763e04543 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ti,cc1352p7.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Simplelink CC1352P7 wireless MCU + +description: + The cc1352p7 mcu can be connected via SPI or UART. + +maintainers: + - Ayush Singh + +properties: + compatible: + const: ti,cc1352p7 + + clocks: + items: + - description: main system (mcu and peripherals) clock + - description: low-frequency system clock + + clock-names: + items: + - const: sclk_hf + - const: sclk_lf + + reset-gpios: + maxItems: 1 + + vdds-supply: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + serial { + mcu { + compatible = "ti,cc1352p7"; + clocks = <&sclk_hf 0>, <&sclk_lf 25>; + clock-names = "sclk_hf", "sclk_lf"; + reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>; + vdds-supply = <&vdds>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 37b9626ee654..5467669d7963 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8969,6 +8969,12 @@ F: drivers/staging/greybus/sdio.c F: drivers/staging/greybus/spi.c F: drivers/staging/greybus/spilib.c +GREYBUS BEAGLEPLAY DRIVERS +M: Ayush Singh +L: greybus-dev@lists.linaro.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/net/ti,cc1352p7.yaml + GREYBUS SUBSYSTEM M: Johan Hovold M: Alex Elder