From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 99DDC5338D for ; Mon, 22 Jul 2024 10:45:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721645152; cv=none; b=qTJkx/v6T/F96ZfRJco9qgNevKQ1EHrzI8Le+JIGEIHaMA2vm1abEbSLf15baPksPDMMbvZJPjLhzfsZTj9TmflCP1DRA60/MNrxa099Nwy9DW1dNRVydLO0HVScQjAyAudrlyljcGchGJPqeMGrVb5iJUMaOMckcWhGfmYStpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721645152; c=relaxed/simple; bh=aF3j0TrmnVp1p2npQybDiv9LcE984vxGW4haXJ10hMY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=o00zcSaqNoQhO4UsnlVnSdVmsIkxD9uLgWeX/RtbvG5NOc3r/OCi2+ChMjNEi/gd8MzKlUZt54G2GIvSsZ5iNTZUBRNlYfAXTrmRrcxpR+cN2S46L5Q7+3V6HGTjzx/a/tP/F8+a3rjynAFNK+xZLgAHoryP8580w/38lPIDUm8= 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=0IhFle3D; arc=none smtp.client-ip=209.85.215.176 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="0IhFle3D" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7a20ab5997eso89290a12.2 for ; Mon, 22 Jul 2024 03:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1721645151; x=1722249951; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Yk4UQACOPEhu0mUYszop0tJksRuFg9b/i8uYeB9F4sQ=; b=0IhFle3DAfFitRliix32nUj3H1My774JMDpbk/6S/WygCcTXtVli0pym5Ga5vqhqR4 TxlX6jvvclN4WpajwpMXC+vbbHTsll8QhwSpo7v9UeHZxzOfBukQkNvU/e09GnjVvmfS O/Gc6jRnr+6S+i1VeRUE/t/2ai0n2tqDu3wropDjmB5B9CKchEY8hrYq7hqPs8Bn10Gn fDcD63WBdQsRP4IqOtj1jtc7LJqrcI1No+zxXyXA6swN9670fJCsQNhVCarwyyxDtXgj 1Pe9W82Qh+XehAtNRirohnt5T/mgEyHeO6g2da3bGZePVgeNqnNwVQzouYmCATaQZYJI I5Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721645151; x=1722249951; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yk4UQACOPEhu0mUYszop0tJksRuFg9b/i8uYeB9F4sQ=; b=m2eVEuG+pv4UK5RmjOXTcuZ1KPm28XiQYckUdrrVvs8GQLQFy4fyoZpUnPnjw4IisB 9ECFBV/KILQABNVcrasfbRbhP8HJBzi3fFeW4WecqjAF3DsL/7GC+bq4ni6Mx3mupaXu wGrjwAR5ZTIxeMSLgZ9XZOOPN9pVCHDmcp9dc+C2ER2erZaNTxlllSK6bucNkRgYIWH4 H6ZssAp4g4j87Vj48fsnZe+dlSpsdhyB5X8Bv/WN867sCH4IIkkYOZaGwxhgrBt3sGnp ZaHxSJG0U88OC7ouscdrNSPDBkI9oGmTJSRS7YVX3zp+dnMGMIiBV+K/VSOagLhfR2eU swnQ== X-Forwarded-Encrypted: i=1; AJvYcCXeM81clSPrmWNHtfAoe0iBTy8ZrXJEzn4uHqCJ+veF2TX95OgjzeFiSF83MuhmtaSQUXNFmj8b24/+f50QdkjtQNX/ZhEh X-Gm-Message-State: AOJu0YyhoCoIqCmw4yfbt5Knt7f5dQNJGvJjxPLIjJOCPq1Y+nMwKSEC SsonhsXd1Jp3K3u6xSd3cm9MoJnVOcfy2cw96xMC4CJC5XsMV0n6BH1+B+vjHA== X-Google-Smtp-Source: AGHT+IGbTDbBwca1C4VrH0/hA3S6xV1DimazE2cwql0k7QUaUo+m4vZviNr4xZ00h+PE/OuBz/gSuA== X-Received: by 2002:a05:6a00:391b:b0:704:173c:5111 with SMTP id d2e1a72fcca58-70d08635b76mr5376790b3a.3.1721645150824; Mon, 22 Jul 2024 03:45:50 -0700 (PDT) Received: from [172.22.58.167] ([117.250.76.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70cff5a149csm5078144b3a.169.2024.07.22.03.45.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jul 2024 03:45:50 -0700 (PDT) Message-ID: <5a865811-a6c0-47ad-b8a0-265bb31d4124@beagleboard.org> Date: Mon, 22 Jul 2024 16:15:41 +0530 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: net: ti,cc1352p7: Add boot-gpio To: Conor Dooley Cc: 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 , greybus-dev@lists.linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> <20240719-beagleplay_fw_upgrade-v1-1-8664d4513252@beagleboard.org> <20240719-scuttle-strongbox-e573441c45e6@spud> Content-Language: en-US From: Ayush Singh In-Reply-To: <20240719-scuttle-strongbox-e573441c45e6@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/19/24 20:25, Conor Dooley wrote: > On Fri, Jul 19, 2024 at 03:15:10PM +0530, Ayush Singh wrote: >> 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 > I think this needs a description that explains what this is actually > for, and "boot-gpios" is not really an accurate name for what it is used > for IMO. I was using the name `boot-gpios` since cc1352-flasher uses the name boot-line. Anyway, would `bsl-gpios` be better? Or for more descriptive names, I guess it can be `bootloader-config-gpios` or `bootloader-backdoor-gpios`. Ayush Singh