Beside the push gates, crafter-review runs the pre-send review of a kernel contributor's workbench: --mode series over a format-patch export with its cover letter, --mode reply over a mail draft. The inventory partitions a cover letter, a plain mail and the camera review's shape; ten kernel lenses join the table with their gates (structure, code, artifact truth) and the persona gate - one maintainer-persona instance per --reviewers entry, its whole pass gating its blocks and pruning the units that are not theirs. A series' code units are keyed on the code like the push gates'; every text unit on its text, the references it cites and the anchor when it is dated. The references an artifact cites are prefetched through utilities/lore.py into the gate-state, with a digest in the run layer, and a persona's calibration map is its lore listing. The kernel schema carries the persona vocabulary, the kernel note kinds, the predicted review and the not-mine list; the matrix the persona holes, the thin and the modelled units; gates clean without a persona pass is GATES CLEAN. A reply's gate-state sits beside the draft and is read once; a kernel mode needs --subsystem, defaults the effort to max and the trees to work/linux,work/milos-linux, and excuses no unit from the holes. The kernel lenses and the common text ship verbatim; the table lists them after the push gates' lenses and the config template holds them off, so a repository that never turns them on changes nothing. Prompts, keys and plans were checked byte for byte against the pipeline these modes replace, on its own artifacts: two replies and a series, every system prompt, user prompt, job and reuse key identical.
37 lines
1 KiB
Diff
37 lines
1 KiB
Diff
From 4444444444444444444444444444444444444444 Mon Sep 17 00:00:00 2001
|
|
From: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
|
Date: Thu, 25 Sep 2026 09:01:00 +0200
|
|
Subject: [PATCH 1/2] nfc: widget: add the driver
|
|
|
|
The widget answers on I2C and reports its revision at probe. The probe
|
|
reads the revision register once and keeps it for the sysfs attribute.
|
|
|
|
Tested on the board as of 2026-09-20 with v1 of the firmware.
|
|
|
|
Signed-off-by: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
|
Reviewed-by: Some Reviewer <reviewer@example.org>
|
|
---
|
|
drivers/nfc/widget.c | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
create mode 100644 drivers/nfc/widget.c
|
|
|
|
diff --git a/drivers/nfc/widget.c b/drivers/nfc/widget.c
|
|
new file mode 100644
|
|
index 0000000..a1b2c3d
|
|
--- /dev/null
|
|
+++ b/drivers/nfc/widget.c
|
|
@@ -0,0 +1,12 @@
|
|
+// SPDX-License-Identifier: GPL-2.0
|
|
+#include <linux/i2c.h>
|
|
+
|
|
+static int widget_probe(struct i2c_client *client)
|
|
+{
|
|
+ int rev;
|
|
+
|
|
+ rev = i2c_smbus_read_byte_data(client, 0x00);
|
|
+ if (rev < 0)
|
|
+ return rev;
|
|
+ return 0;
|
|
+}
|
|
--
|
|
2.51.0
|