From nobody Wed Dec 17 01:11:21 2025 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC2C124A08 for ; Fri, 19 Jul 2024 09:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721382340; cv=none; b=pZAz6y5e9D8ET4/6asp9QEcvu0fy+wQcc3KB3V53/fmdQ3fNMVMj9ZkuWRci0kV0+My8GVmG/g2cm0sk97Fu9hRB8/DfQAjXxk4qfLBjUziJV41XwlZSytwStDlsGUyrl2ytvwpu1ATo+aXnRR4TB6cSFTyEkqf+otxzOfTihoU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721382340; c=relaxed/simple; bh=ShGVMtgc0hDJDLEQjlIXd5oij4dB7J9Ckvvpo/zXXW0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MetZhzkbB9COVywQsdrQvNAlGb9AX++5VqPHGZw22ZZ9E/Uysd3RRQnYNYINbsbwEG07q+Uyy/Y6+xFQ6WwnAD0DNMnmPzdESWlksCdAepF9IPKQGErPGEURP9pPGoHDXGP5erIF9U40srd921tZaPj2IUQTUZ0x/ZntnPWo7VY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org; spf=fail smtp.mailfrom=beagleboard.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b=LH7qPLeJ; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b="LH7qPLeJ" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1fc4b03fca0so1547545ad.3 for ; Fri, 19 Jul 2024 02:45:38 -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=vger.kernel.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=LH7qPLeJ5oDjNXdzUNCD6HY2pWYfMfQIwFCkawOgYztd8FgiOlJGhQN2hVhARRCJFR 2Duo+8oyw9NxxC/nLwIAkodsU+lyy3SY10652JDtvmFfkgZf/GwXU7a9B150iHLCKp9u 936QCxutx8BTszNyShZvic65rVws85BhqfXxBqqwCC1ElAgZOqb5AYno4NH7nK5oy1G4 sch3R1WyQx8CByyJFIkx6JR3qRNRTMw2mNpmfTYbDEjQCuYPrBGbqbp/haNo242iGXa8 iv6Tho/aaHX8qXoBDG0K7MRXnn8XgUSkUYPxCS1jNBV/82r0Eu8OCww8KWHGXzqc473O DxIw== 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=Tj+3be5geuVYRSsEwkTQqKUKQJyqYEZ+Gh2JoMdRo30TXof8CnSfiFhipsKbVJM5PP YvUFIIdttqvAE5nR+hcbY8a4KJ7bataTbjXi5FXZsDBEHM002OpTOMf5qG8WSQ9/t/tR J9q5+z9+mbLenYw6492tBXY3LxljCFkIAzaYiuuNkEy50ojZXhKpRCecLK0NiTlQn5TY cpsBd3NLFxlMQXfCgrkigks0qE84mRbdC7NT8QxGnyGDVyUF1uSG3DwzPnZzuwnyslLL W09QmbZBiRRLggE2/20UiYq/Sv2YxNr/UA5c+rGsny9m7jYyzHN5COq9jsEqVN/edslR kgKA== X-Forwarded-Encrypted: i=1; AJvYcCWYBLQfU18ET9bmuzGga265+axFPMsvk3fP0i2RSc+9NaHCR3Ddpu9K1iKWXbhQUemFcjRGDtVbwIVz8P4=@vger.kernel.org X-Gm-Message-State: AOJu0YxPjiZzTFNOlK0ir7Wt7BCu7PlchpNd3Npi0UG8ary5Nrpkm7gg rsxGg1kAd2KIuRJ5LElw6K6ryFDN4Jtd4koVkBrzq8ebnZJdwe0fQoOLPk7lmA== 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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/Docum= entation/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 =20 + boot-gpios: + maxItems: 1 + vdds-supply: true =20 required: @@ -46,6 +49,7 @@ examples: clocks =3D <&sclk_hf 0>, <&sclk_lf 25>; clock-names =3D "sclk_hf", "sclk_lf"; reset-gpios =3D <&pio 35 GPIO_ACTIVE_LOW>; + boot-gpios =3D <&pio 36 GPIO_ACTIVE_LOW>; vdds-supply =3D <&vdds>; }; }; --=20 2.45.2