From patchwork Fri Jul 19 09:45:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13737099 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 806E5C3DA59 for ; Fri, 19 Jul 2024 09:46:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=G+46O4rQZG+afw+seJ1aSaqWCwYwoT6C2GKWC2dXu30=; b=XAaU3IjLrpEUZT7MoI8NILr/v2 Wl5jwNzTUl/6om0sjLDacVMDBaw3id8eYrAQaj89mVQj/ZpGvKfwGu6xyK36i5BnfJSCJWR0R7tUN nQpRosIkvQ1SSr+XLJmXM3DpBtTMsJfbh0w7XMbVxzo2NvpG/1QWiB/AMmxvlCM2++t20BFdkpJSx Un0qmA2UGiA4/c1r9b4RB5GNwHmiNAjhjpHEeBHmYJ7WMMih2WMkc00Y/8yKmJ91UZm/doXe1Ae6t rgrCbABULgHv6n1Dm5jf6jzd95iJXYedeUCfT2EhJXaLEs16tgkoWz1wvNkeRlihhqYvB22CsMmoO DZF+VUyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUkBt-00000002I6l-0aEQ; Fri, 19 Jul 2024 09:46:17 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUkBJ-00000002Hvf-3O7J for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 09:45:43 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1fc5a93ce94so1841935ad.1 for ; Fri, 19 Jul 2024 02:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1721382338; x=1721987138; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=G+46O4rQZG+afw+seJ1aSaqWCwYwoT6C2GKWC2dXu30=; b=0gx8L73mprAUH/u8XJpaR7ah0VONjnOTCD2Jyslfo026U3W0xad3wDMBdJZhf53kae XRfsKqV/1Lr8bKUXtxFg81+ohtl0Y8S2DYMvYfj4VMBnY3lDaNYjVbMpDRoI5liKCkyi 96jViEtEs2YnHxmHnXYlMC7SQSoCTRFBrEdjLF0ph3bfe5qYyT/2h37uVB3OaEAFSM+8 df6v/xwACM9El5dcrpkLSZMHjleJSBlUPn8uSu4TxbQqZF2r+QZlX8LtqNzn/iaERv/5 yKZKXlW2ZLBVF9ozCv8J8tE+aBimX1jccfQYRdn2oj3H4Z2VcmUyJBtY2pV1k31WKDdr tqCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721382338; x=1721987138; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G+46O4rQZG+afw+seJ1aSaqWCwYwoT6C2GKWC2dXu30=; b=V3UyYD0dp/MDsK+7Jtp32+DmBC6eHdrhhGtbc8JbEh1h8HAn982y+n+2Pve8834sl9 EZ1XnF53UnXi1y5e90CDIUnWlgSzr5gOPZnxxvFAPa47X3hbLt/+B2M/JxYzp9WM645/ Lsazn0WPXYm96YB/2ZBFwk5dOdm+z1tJpnoOF5frzXMhsQlmDVz9kNKfObClAF6J4oE2 1hA/JTjFwPap1P5c5MNa5lYNJHYRtDF0txyu4d6jX4lKzXuoywPOTRW6ToI8giB4atsD jH+a8reHQ2F2ExTQez2e1jCK2YlklOp6ntgBsIWthEHRvGtiQox2t10mTWyJMjVxjPka XzDA== X-Forwarded-Encrypted: i=1; AJvYcCUilPWzi/+6BUJ+vTbJTHahnUzFWoHP1O7gcLrKcYej4i0HMwnjJy2ay72Snb8Bil9dYoJIbVuOpYsNgZSVX/9g@lists.infradead.org X-Gm-Message-State: AOJu0YxZkhT9w67qEJJBc92DnW1a7K6VCj9y5IF20uVfGhZ28+HHW2b2 SA7Avth2cfiLyTUga15RRQXVY/fqyVOQTEX5UKvCo1Inx9Gv2gqi48uvSg0eWg== X-Google-Smtp-Source: AGHT+IGTvpfyGkQSzcGiWO9xJsSuPVeVkrZ5bQM0dG5A4we5XMAn0a2gFht26kLa5ZsN/Jp0o9awzQ== X-Received: by 2002:a17:902:b195:b0:1fc:5b41:bb1b with SMTP id d9443c01a7336-1fd5ec8ab33mr13929205ad.4.1721382338043; Fri, 19 Jul 2024 02:45:38 -0700 (PDT) Received: from [127.0.0.1] ([2401:4900:8899:6437:d031:b9ec:7ff1:6aa1]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f28f67esm819025ad.96.2024.07.19.02.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jul 2024 02:45:37 -0700 (PDT) From: Ayush Singh Date: Fri, 19 Jul 2024 15:15:10 +0530 Subject: [PATCH 1/3] dt-bindings: net: ti,cc1352p7: Add boot-gpio MIME-Version: 1.0 Message-Id: <20240719-beagleplay_fw_upgrade-v1-1-8664d4513252@beagleboard.org> References: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> In-Reply-To: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> To: jkridner@beagleboard.org, robertcnelson@beagleboard.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Johan Hovold , Alex Elder , Greg Kroah-Hartman Cc: greybus-dev@lists.linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ayush Singh X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1167; i=ayush@beagleboard.org; h=from:subject:message-id; bh=ShGVMtgc0hDJDLEQjlIXd5oij4dB7J9Ckvvpo/zXXW0=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBmmjW1FCj3t80L4AIBRXHK9xB7rRLJ+43vNde2f nHTW8A6u9uJAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZpo1tQAKCRAFzvXHieVa dOQKD/97OqRvHiNgAtedUcGy81V44GNPmt+MwamaNqBs/ESpSxZaZCBUmXU4Ikq6jWKM50k3gPs noxPI8ZwpgwqTW7CHvQu+FwuugPwOVub4cAskF4MXDPP76puggUF0gL9/aXCPvEK+sXyuNbeLJL 6hmdiavzI1oqVENYVkxIBsbLxA96T9Dtsj39CMz8spOurWjl0IGziLRfXd8k1Dj9JfqCTwJHiNM x0FPeS+QYjzsoTVgrdowKLtqqevOvpCrMF3Shj1OvmMcC3qtA1/2UgIC1LZ+SDqh5JtkWZfvAE+ 0IeEPi+N4r5fIzon+OKlQOiHBrzTMp42V0T0+5IkV1DSPOL0oNS6tTqdWFsDs+iJYvi2y9wHidT W1jl8/kw9OkiiGlZBlUgCXw23HfXhaNzkzozWAAFEvJagEQbeYSSxyoKNnJfmGLIV3MKcMXnaRd RJAfOS3aJ1liKybxkDjWyGIQWXxpfDTxwgOLWS6rCzmJmY+5FHyGeRaM5wHlaeNSeDisOjD9Vyj Z+jwPRSmqHGM165PaH8qRilV0E1hv+fqYbIw+82m/ETIwS4kovzktB6Sr/6r46tj9WmNwSSqZP3 DGuLmkFSVdV26vPHrjce3pwcXqWtayCdAT4pbydSURatbZzt84eX6Fr5koTF0g8ZNLqGBH4RES9 Ot0J23ppRG8qbcw== X-Developer-Key: i=ayush@beagleboard.org; a=openpgp; fpr=DFCC131EF24F2D656FA504D605CEF5C789E55A74 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_024541_884099_86C50BAB X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org boot-gpio (along with reset-gpio) is used to enable bootloader backdoor for flashing new firmware. The pin and pin level to enabel bootloader backdoor is configed using the following CCFG variables in cc1352p7: - SET_CCFG_BL_CONFIG_BL_PIN_NO - SET_CCFG_BL_CONFIG_BL_LEVEL Signed-off-by: Ayush Singh --- Documentation/devicetree/bindings/net/ti,cc1352p7.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml index 3dde10de4630..a3511bb59b05 100644 --- a/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml +++ b/Documentation/devicetree/bindings/net/ti,cc1352p7.yaml @@ -29,6 +29,9 @@ properties: reset-gpios: maxItems: 1 + boot-gpios: + maxItems: 1 + vdds-supply: true required: @@ -46,6 +49,7 @@ examples: clocks = <&sclk_hf 0>, <&sclk_lf 25>; clock-names = "sclk_hf", "sclk_lf"; reset-gpios = <&pio 35 GPIO_ACTIVE_LOW>; + boot-gpios = <&pio 36 GPIO_ACTIVE_LOW>; vdds-supply = <&vdds>; }; };