From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 AC51C322B for ; Thu, 15 Feb 2024 00:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955840; cv=none; b=uGpHdgmraWhrQ5XNfz0sQbEmyhbmvDUgTFJsN3aA2m7S5cjCL2bfYClUZvC3zMzGZN9QHWLRRUAZ/G+eLchbnhvlvoFl5U+YClBdsry66xgpQHE5KrKP7u50WJtK1aKEPvpupOK9bCj8Ifaw0Pvdoo9HZCSvLnPETU6ohvwqhEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955840; c=relaxed/simple; bh=MoY8zd5LHcnN/kn1Yc6yYVDv8A/j96P+/bHPEamCQx4=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jFjriB+NoYQxlFoQWwRen7FkqqIdq+8ltTzUprYBx0xf0euaTjZ63C/hHewwYWaC1YnWG2i12YC4btXjXL7dVcRJX8dCESTkMmJiycdv4pQOhoRRyGno5GUlxjywO6mjmBjQEk593bQJkj6pY/FAY1ycRA8XVDpYQaKY31h6zoE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=H2aojETz; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="H2aojETz" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-511972043c3so340190e87.1 for ; Wed, 14 Feb 2024 16:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707955837; x=1708560637; darn=lists.linux.dev; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MoY8zd5LHcnN/kn1Yc6yYVDv8A/j96P+/bHPEamCQx4=; b=H2aojETzRj7zcwLHD4J4TQ4+uSy10BdF8hCFCyeKZV44WiiM2ziNeJ+Hhimzi2UOAw 1hZOx1D12tV17sHEq6fVEbAKi2tAlQO8pPSvLFtiwDgBlVRkb+p6IVrBAUcWSjjKQpA1 DP8ZCDEpfkk2xwYJrmS9pcLkUt5g8kn/K4NUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707955837; x=1708560637; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=MoY8zd5LHcnN/kn1Yc6yYVDv8A/j96P+/bHPEamCQx4=; b=moXJxi7CYcavzNoOUrxvABll63XoAo6n3vNNFbOS9nkFGuc/lEKTP6O+rTw/SQyR9J ZgWIKkhdsvJ6MxMrQAFIriO0z50d5mRgUBLue6WPynl04N/pH0V9zTyUtozLte8QsNOy RnaeqxQAVdbKzwBmJhf8gZef2rMd0Hiw6sst9vvk6N27xW8SehWwrQ28EYuFTU85BD9M HYFblCA8iLtoJCIYo3lBdcxCL68NENj86elOckRofBwbVjmn4BbraxkoeCE2G4btpONo 6X/wfqIZxvEIEZFnJOBzYGOiwUPt2pgZPGkjfMnd+smJpmnkN2AJIru+usU6HD3OKr02 O8UQ== X-Forwarded-Encrypted: i=1; AJvYcCVPKLtQsNzIU+F1fe4LH/hrV2AiKiwv1QoSnvpTvSa/qDij2yC8jJlpHlkWLK2qkJDZRYveRS0A65v9PjJ+lKVTCg8zQTBKrA== X-Gm-Message-State: AOJu0YyBv11vVyuOxb5oBBBCy9gV5HP2ct1X3g2zKq3S3eyybPjyCRju iTXHh+Q03wZfRQY7dgmTLQseVtOpok/EMcDJnVpSJggR4z3FF6e8flsrECGYJFNksNtITjXMXY8 A01PNjom1/B+L+HcmEVvzyyaVLLAUWHSy7nI3 X-Google-Smtp-Source: AGHT+IGyK/V+b6ReG/wqHqXSPazELs/LPvoaEiaFNzPjPQahgGbt5hpPQ9anxbvIUKEHmI0AXlLFR3H6hDqkCDMBBq0= X-Received: by 2002:a05:6512:3584:b0:511:ab1b:1db9 with SMTP id m4-20020a056512358400b00511ab1b1db9mr212121lfr.33.1707955836868; Wed, 14 Feb 2024 16:10:36 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 14 Feb 2024 16:10:36 -0800 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: References: <20240210070934.2549994-1-swboyd@chromium.org> <20240210070934.2549994-19-swboyd@chromium.org> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 14 Feb 2024 16:10:36 -0800 Message-ID: Subject: Re: [PATCH 18/22] dt-bindings: chrome: Add binding for ChromeOS Pogo pin connector To: Doug Anderson Cc: chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, patches@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Pin-yen Lin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Benson Leung , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Quoting Doug Anderson (2024-02-13 17:17:34) > Hi, > > On Fri, Feb 9, 2024 at 11:10=E2=80=AFPM Stephen Boyd wrote: > > > > Describe the set of pins used to connect the detachable keyboard on > > detachable ChromeOS devices. The set of pins is called the "pogo pins". > > It's basically USB 2.0 with an extra pin for base detection. We expect > > to find a keyboard on the other side of this connector with a specific > > vid/pid, so describe that as a child device at the port of the usb > > device connected upstream. > > Can you remind me what the side effects would be if a different > VID/PID shows up there? I know it's not an end-user scenario, but I > have a pre-production "coachz" keyboard that's actually programmed > incorrectly and shows up as the wrong PID. Presumably I could either > throw the old hardware away or figure out a way to re-program it and > it's really not a big deal, but just curious what happens... As far as I know nothing happens besides ChromeOS userspace treats the keyboard as "external" so things like smarter base detection, e.g. wraparound keyboard detection or kickstand mode, may not work. I think you get a popup box telling you the keyboard isn't the trusted one.