From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 095A14A13B9 for ; Thu, 27 Aug 2026 19:16:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787858219; cv=none; b=hf7JpenBv/dnqSN1dl1ZNrv7D/6nv7b0pxB1EZfuT7Axaexn/r0n07flpx3hggpAD4v0NU2mAGqW0llR+hALlyOz7A5m/7XBizIVG2HL57c+htsiux+uFecv6N/FJHiNtkNRJDZ+AX5iDNfdv8hQ8LrEnJIPTkOZ1tQo//3U//k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787858219; c=relaxed/simple; bh=W65090XdDBw7UhVDTVjxJFTTrT5+H9xvtxq4LX1QU9A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OXQaVZOGk7V2i5vOqhK/Xkf8MxaRXh/xUHMjKQnjkFHXYyQqD3fKfzMWAI3KRCXFv8cAvqHI3UAWxNhB+a/Cao/vyzga7H35TOCe8MxAZSSb1QZ/dIupn7s+X0odndAokE4uAWuze6+ipVRehyPDWfGhiQi0VkaBtOziduKjgqo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GW8W0t6t; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GW8W0t6t" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-47fe89fb333so119586f8f.3 for ; Thu, 27 Aug 2026 12:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787858214; x=1788463014; 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:content-type; bh=W65090XdDBw7UhVDTVjxJFTTrT5+H9xvtxq4LX1QU9A=; b=GW8W0t6twdwAwLTLmEFFYso9t53eB4DYNG5Jl6InpAiPhtoLrqulQ8Q7HYCexTRJnl qpq9hsFycSUNuqH3FuzZH9BJUbKOsoLuNsg3RrQENKG2zv4Gbzd7oaB7UM2TXRIEqkrG ABVoR8qctgtdkXDboWNhbuW0lKmnyLJHWWMVy2FZqbLoJoDnVTMvksZmXPSEhbv8Q7k6 ljmEb9l5sJOrGtphawVzDsVaNBGCRtg056ovub4SBtU4JP/jmNh5OtWPCj3axfQVCQEj bG2YCQvk0ifJiH/PCn8hvTpe1Cqb9RX+wCaiHO7wEB43GnTzieKamLmA/jzbBtCaMMNZ zg6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787858214; x=1788463014; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=W65090XdDBw7UhVDTVjxJFTTrT5+H9xvtxq4LX1QU9A=; b=GIUkpRjuVzBddU9ErQXPFLJu+4Yu6EwnUtxK4nA+Bwlo+kFk841NmxN4O5RU7uAAFN QUVBD4IB2QWAI+F9xt6P0OJGNUUQKuF2xDoYOVbPO/za4tfzK5FqnrC1Klpa+qludL1N uwWlv/TnndRrVpX1fdg7Ie+3Au44pHyDwLLFT9qks3692cCJVxnm0jE0kBoZ7cV9EfV7 L38HULzRT69DmUqpysysu0siVNz81DXhZHrm2Hc5uFJTwfjH96LFjVhSql/nFoeUwUWu NwLWU2+tBKYwZsPAbqegRk9yzJxqIOofgjXSTp2zJL5x7sVc1OjqQEMNIlLm+bYuFW8x GhHQ== X-Forwarded-Encrypted: i=1; AHgh+Roud2nqcJfpjzi1iOFMNQKUs39ni7TrUzXgCcMRwcOIe9zWHL1Ozj3j8neKR+tu31dxSTCP7zApBVqr@vger.kernel.org X-Gm-Message-State: AFuF++muFpeufs62O7jfqetgizEDHo6kCO5nH+2IIagXrCv9u1lY6vUH JeKSCRtG7guGXi5gusOB3fOEeiqrtkBkpByZLtflQrYTwF7I/w4LYkuz X-Gm-Gg: AR+sD12KWyb+/E8l2ICa7sLwXIfPgW7BQ9kkrx1Pr8wE/UNSe0WYgLksZv2YsIO8vxI 4fsDAIMpAxMTuv0hWAIkJDCIkPRirLl7J55Ckx89MEn2+NFNLV0s7eEmWU/capwJDd+pyDxc0Z3 QHoR3e92Bhs4xMfj5hCBsEMzITa7O7t+2NaJXwYZdhI7rqcMvQaFq1t77cNfzdDtyl8pQLCgf04 OTf/nONkWF4F6zlVRFEBDugYfJB4aWUV1MjkiORtfU4SWuHH4QhuQXH0kAD+e2uvgEYg2y8htk/ Ij7rNxsl4GmWEDkf60WcRr+reP64HsnUIFgrA7nEqOq19+F7ncG3Xlk93L9aahPLvX8jPHnoohV OY4eXeIZOxgC6LnBmvkfYOi6gzuTzSKNP9bsSzimasWltmlkWtDC8QRvrugNZtOqwf4wRdtNxzK 70jKdVFmrEDiOJymRJ9FGXJ8UYyw9YdomdBZHqggEUctT5IWPXcQUYMuvra+g= X-Received: by 2002:a05:6000:2489:b0:482:e4bc:51a8 with SMTP id ffacd0b85a97d-482f7992e40mr1312918f8f.7.1787858213511; Thu, 27 Aug 2026 12:16:53 -0700 (PDT) Received: from m2.. ([37.142.156.156]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-482e27aa050sm10505002f8f.12.2026.08.27.12.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2026 12:16:53 -0700 (PDT) From: Michael Zaidman To: linusw@kernel.org Cc: bentiss@kernel.org, brgl@kernel.org, brunoceg1@gmail.com, contact@christina-quast.de, daniel.beer@igorinstitute.com, germain.hebert@ca.abb.com, gregkh@linuxfoundation.org, jikos@kernel.org, jirislaby@kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, michael.zaidman@gmail.com, rio@r26.me Subject: Re: [PATCH 01/13] HID: ft260: add serial driver Date: Thu, 27 Aug 2026 22:16:40 +0300 Message-ID: <20260827191640.11725-1-michael.zaidman@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Tue, 25 Aug 2026 at 09:49 +0200, Linus Walleij wrote: > What kind of "enum" is this that re-assigns 0x00, 0x01 etc to > several enumerators? > > Either this is four different enums or you should just do a > series of #defines instead if they are all really coming from > the same place, because using an enum like this does not > make sense: it's like numering pears, apples, oranges > and peaches in the same enum or something. > > Also use the UART_ infix as mentioned in the GPIO patch > so you don't need to immediately change it in the next > patch. Agreed. v2 will use #defines with the UART_ infix in this patch so the GPIO patch does not rename them. On Tue, 25 Aug 2026 at 10:12 +0200, Linus Walleij wrote: > You need to CC the TTY maintainers and linux-serial on patches like this, > just keep in mind when resending, thanks! Will CC linux-serial and the TTY maintainers on v2. Thanks, Michael