From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (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 A3B97322C6D for ; Tue, 30 Dec 2025 18:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767118262; cv=none; b=CId4+LI7V1J3ISvYMufyRKteQyu+e+cLzDHAVg6TpU5ueI+Y5rXf4RvZ3Kds4kJ7HudSYyH+CNqbFMsAO2c4w3ijrqmgYvCI1nVaw3rZnbdJoJ8TSI27R0cjBCKLooyX7myWpEdjUbHxmomMOiayN41woKqwgOohznrfcY0FOBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767118262; c=relaxed/simple; bh=TPtWoE4C3jRebC+9Hd/fYSLNQqRY65T1NXTeH1DCygs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fFu+VCwQ83OmhixOage5lBfCJ18hJLEy9oQI1Hx0KCHvXF56BF1f9lj4A0UJFe9S4OF83J1YvT7GJp+75t7efBj9CqWEVi+fJ82LIsSgeXZQqdZ5klW8ccuZFBFa3YZiIyq1Cv7nSI3+E0BU+dsvWD9NTso+u069K5AsP4+vKa0= 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=gp2ahs32; arc=none smtp.client-ip=209.85.216.46 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="gp2ahs32" Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-34c1d84781bso11567070a91.2 for ; Tue, 30 Dec 2025 10:11:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767118260; x=1767723060; 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; bh=wiqtyI0E+EZ2TXt7IOrDDwvPaZp+SknY+Ea1unU062o=; b=gp2ahs32IzCjIw06uLOX9joppinreo8/MHeGq9gZVuKQRB/I+Fj878pzYjDSt3i+ik YCqR7uD6CGX1Bfy4tf08jeU+I2ypnyitJ0i4ZH8LK0dpch6MaZEGlDfcQwMMGPFCfH8Y lTeJdXxwj1Yj9AICIC+Uptv5n24FzSF6ddlQ9DO48Z40D0BHYwHZSztTnxeqmlVA2g0q 0Im0LYIXx+32K7MGuICESO/hHYLr48/5kxBZCFdZZoLMEC4Cp9XIo8wT+tRhtQ5ozEp/ Iu1+Z/rXlu9PVNnauD7QEt9P62uWJFlSZrYH10QrRSA9CRBs+R6feTaTFSL+xUyUf48X W/VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767118260; x=1767723060; 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; bh=wiqtyI0E+EZ2TXt7IOrDDwvPaZp+SknY+Ea1unU062o=; b=PTrIe0+nEbauLfdsmtxC4eVIzagql9L/BTw5OmJDj1aM8zZc+mPL4dPOplwbb9EVWQ 1NOnqEtOQOw4NYTe7xeLjhkaxj+VTV+VEj99O6+W8SBTTqF5n82wWv0ey10BR2fXOCul KLjzPoLvtzQPE+e9RMDFqj/AtEk7UnLI0fv+6LrnKOrRf+sfcqPZ5JVqASE2nDfM7tJB 8mpAjeMoxyrxhjVE+GTEKXfVMRLyog/GdRFSg1zxBpqukmrEjA2dX3ZUd8JDCGk4EfDN HCdmxR2uTE+MulUQxOKm0ailSEEqs61830OsfNEAvj9kpxag2D5lxDGwoEdhMyFQCyuv 0Njg== X-Forwarded-Encrypted: i=1; AJvYcCXDMyJJ6+Uu6tmHECWBmWtPspd7OXYPxoi4wrt7BxV2jfqi4ve/XBucawGkOQzis2oplDBfbFfh0w==@vger.kernel.org X-Gm-Message-State: AOJu0YzDcqihwjImovW7tnkyQkhZHACm+uV+klJzefV+3rIaDA3rSnJX WMif3I2/CoZmo75k1fimFZCRk7Ou2QobILLEvWJevsm7NVRG4jrjpqgr X-Gm-Gg: AY/fxX5NHL+PHVZdIQpt0n0rBI9WhPdycYTAAVMPsha8nmrRJ53kIXz4uNA0uTP5HiF rijAM67xbqk2TBSk5Fek7i8Q1lWfCHEcomNHk+pp68zbvBbB9n0S8fG90Soij55oxfd8j/m92qZ IIjlc/GK+sNnXNF7fhzWKSQQ/tEOINjfQAtGcfqjeE6SLhw4HdWtIy6obXi1Sj18i5t76ptZr3E h++tKypErwY6BOQQ/doH/sTdLwuUhPmWIE/BIzoU3i2wFBLnGdOmbgtHgZ7czDPHokwdD631mSR TzLbdnrbdT8LdlPMukjqZboeXuhGvizw4ANoLuE90xD3rH+MQ+VAmkpAQzvsVchgyEbpQzfGC2j MG1KB8Nrd+csFkkNW5cmMRh82jBUfCkUGBAO3aUmxFkiL8JdMV22L29L+uBXjyp4QYctlO8DCUL GCHFfwQ7GO66yZuiTZLE9veisOp97pXM/cOGOj5HpZEfKAjDxV1a+J2K0T5nCRFTohSqNoTESgF sO5ot/MB8Bew3S7g8/vgQ== X-Google-Smtp-Source: AGHT+IFysb5O/IJUVTITdM4KylhE1TplZEdTk/XkUcd/+h52MkW7iQODmWt+Z3OinYOcQ+IJmSy8Wg== X-Received: by 2002:a17:90b:1f86:b0:340:2a16:94be with SMTP id 98e67ed59e1d1-34e921137c6mr25807297a91.4.1767118259879; Tue, 30 Dec 2025 10:10:59 -0800 (PST) Received: from visitorckw-work01.c.googlers.com.com (25.118.81.34.bc.googleusercontent.com. [34.81.118.25]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c1e7bc69728sm29598278a12.19.2025.12.30.10.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 10:10:59 -0800 (PST) From: Kuan-Wei Chiu To: airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, sre@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, lgirdwood@gmail.com, broonie@kernel.org Cc: jserv@ccns.ncku.edu.tw, eleanor15x@gmail.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org, linux-serial@vger.kernel.org, linux-sound@vger.kernel.org, Kuan-Wei Chiu Subject: [PATCH 2/6] dt-bindings: misc: google,android-pipe: Convert to DT schema Date: Tue, 30 Dec 2025 18:10:27 +0000 Message-ID: <20251230181031.3191565-3-visitorckw@gmail.com> X-Mailer: git-send-email 2.52.0.358.g0dd7633a29-goog In-Reply-To: <20251230181031.3191565-1-visitorckw@gmail.com> References: <20251230181031.3191565-1-visitorckw@gmail.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the Android Goldfish QEMU Pipe binding to DT schema format. Move the file to the misc directory as it represents a miscellaneous communication device. Update the example node name to 'pipe' to comply with generic node naming standards and fix the mismatch between unit address and reg property in the original example. Signed-off-by: Kuan-Wei Chiu --- .../devicetree/bindings/goldfish/pipe.txt | 17 --------- .../bindings/misc/google,android-pipe.yaml | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/goldfish/pipe.txt create mode 100644 Documentation/devicetree/bindings/misc/google,android-pipe.yaml diff --git a/Documentation/devicetree/bindings/goldfish/pipe.txt b/Documentation/devicetree/bindings/goldfish/pipe.txt deleted file mode 100644 index 5637ce701788..000000000000 --- a/Documentation/devicetree/bindings/goldfish/pipe.txt +++ /dev/null @@ -1,17 +0,0 @@ -Android Goldfish QEMU Pipe - -Android pipe virtual device generated by android emulator. - -Required properties: - -- compatible : should contain "google,android-pipe" to match emulator -- reg : -- interrupts : - -Example: - - android_pipe@a010000 { - compatible = "google,android-pipe"; - reg = ; - interrupts = <0x12>; - }; diff --git a/Documentation/devicetree/bindings/misc/google,android-pipe.yaml b/Documentation/devicetree/bindings/misc/google,android-pipe.yaml new file mode 100644 index 000000000000..12b0cfc815e4 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/google,android-pipe.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/google,android-pipe.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Android Goldfish QEMU Pipe + +maintainers: + - Kuan-Wei Chiu + +description: + Android QEMU pipe virtual device generated by Android emulator. + +properties: + compatible: + const: google,android-pipe + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + pipe@ff018000 { + compatible = "google,android-pipe"; + reg = <0xff018000 0x2000>; + interrupts = <0x12>; + }; -- 2.52.0.358.g0dd7633a29-goog