Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2712546pxb; Mon, 25 Apr 2022 00:12:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ+Sr5DH9Vk1BOkqgA3xtQfUSd0Jd7A9m2pqoKmqOogjEP0qYBK+zvlijCxtojrXXqgR4s X-Received: by 2002:a65:6e0e:0:b0:399:26d7:a224 with SMTP id bd14-20020a656e0e000000b0039926d7a224mr13969816pgb.437.1650870776268; Mon, 25 Apr 2022 00:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650870776; cv=none; d=google.com; s=arc-20160816; b=ajxqAy6ntRqguwE6+sx12/6auhLcbauwZKG4EWsIiij1hU71uIYLfIAIF1JAzH7uUh uLVBZPxrOcTUQ4+ISzt+3HsmzqvSl080brj1eyghhyl0o+Kxl/MZXkWFy0ph+9PFf6Au 0i7pw+iIJHz4CwC3FYlRqClb8pWi4BROro7+osdAHcdm5nCxSO5iQSBM92W1XQBmUyGu GDZ4jLtDxkD5V0knXhcCTpiNSXiKbaJLBPA39O6NIlqZR0OQkToIOQ3P2FS7hAdGJMH8 tc7jiHYaHa55bSt5PblgwzV7EKb480+SNQ8bNB95AvxX94asAbo4k9N0ulWZqBgieyhQ QVmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HcEOj4EmRV2bT/d0f7+I1phF7xYEnU+HoITpUoil1Mw=; b=oYTjM1gM8Gu9O9cUoshGCzCIUDsqnJLoCsFBnfY37Pwgl6i8W1xrzn62KRojHorMar OIZPmSmCV/w3KFBuL+DmU5dhJRgL/lCq4XNdf8Yi2zGK5IS9VaL+OmL7JgvG2izEgyFB z90YmUtRRtDW7gQG3lUJk/sONf1u9B1AqyQ5BMKrUokhAn1YDQtARYtzIC2Z+if5IhAV eslFtEjHha1DYjlDnOlQnBNZI2vT5RNgcqsypwiDMGfJQFIM//JP2qK3Iuy6rA5wrxZ6 HHlFSk/haX2qI1PtwOsn2oMqxHwFeucXnPz0Yq3yXNu3EY9QlF1RaGWicLXZDmXsZU/o +NPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u/kUitkf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170903024700b00153b2d164bbsi19073187plh.195.2022.04.25.00.12.40; Mon, 25 Apr 2022 00:12:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u/kUitkf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbiDWPND (ORCPT + 99 others); Sat, 23 Apr 2022 11:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231442AbiDWPNB (ORCPT ); Sat, 23 Apr 2022 11:13:01 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41FE81BBF91 for ; Sat, 23 Apr 2022 08:10:04 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id d12so315258ybc.4 for ; Sat, 23 Apr 2022 08:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HcEOj4EmRV2bT/d0f7+I1phF7xYEnU+HoITpUoil1Mw=; b=u/kUitkfNhZi0kJxhasNAWpadIX8okuT+xHKh/AncBUmqZhr5dcUqMZGoO8lFrxth6 3edvzEpOuHdb6/JRsEZbN+oJeG6wBT52Kex7kih9ogV9o+RTFwO5+lyElLepmmpW49II RKi32p7JayVvs/AaCwophRvemsGk24kke3CwEWWq2YzjNlyTwfsWzxaC2Hw3L/RYLNxn SG1RTUdFWjhZcpV6c0XgeMg0vvv1w0pcUBgW2fixeB8AXBYhaC6I/UJh8XQIv8uxTWPz zvDFY+Tm8k+LpUbZDYpOn7D3W84FNURm4Am3ItNYQRsL9T67Yp2BVldKdfO2gDXtwj5e eLVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HcEOj4EmRV2bT/d0f7+I1phF7xYEnU+HoITpUoil1Mw=; b=f44FE5ywBaXVgJdWACz1zOAlW/kNSwpNyBHTpn25fcXNyr197OT1gEBCWY+6n5cCgr z/6po5pdQX3ysa2Zw0yzFFCE/BRL1FIWzI3nMLghnqFmzilANy0JEbmrFtSMHFzifacr j+SUKmlS6pfcKAnHSCYGSMXbj6H8lnS23mn4DAN8ShJ9cWGvshyJ/TrC/fSjKIGLMf3e 5Ow0UUUb7EanhhIrpqwu4zaqjTFSPur9etheW/orGlJ2dBgAvSkqx1B/ps1mSvjHZXx5 PEv34NJpdT0L4ww8sbzI9LoZ4Ejfk2e6QFUxISgqp43p3W0/mTF6Jokmhn1AKFg2cC9O BlEw== X-Gm-Message-State: AOAM53105r4ClA2BleGrjeHk170tqHNI3Dm83DuiHF+wMDOXvkRDe80g xtwLdgAkJS8MKRfzC9+63/t40QPW9LvYaCuKophCog== X-Received: by 2002:a5b:451:0:b0:648:2a28:973f with SMTP id s17-20020a5b0451000000b006482a28973fmr2538584ybp.291.1650726603099; Sat, 23 Apr 2022 08:10:03 -0700 (PDT) MIME-Version: 1.0 References: <20220414214337.311880-1-linus.walleij@linaro.org> In-Reply-To: From: Linus Walleij Date: Sat, 23 Apr 2022 17:09:49 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: gnss: Add Broacom BCM4751 family bindings To: Dmitry Osipenko Cc: Johan Hovold , Rob Herring , David Heidelberg , Svyatoslav Ryhel , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 23, 2022 at 4:12 PM Dmitry Osipenko wrote: > On 4/23/22 00:50, Linus Walleij wrote: > > On Mon, Apr 18, 2022 at 1:19 PM Dmitry Osipenko > > wrote: > > > >> What are the chances of seeing the kernel driver for BCM4751+? > > > > The kernel does not normally drive the GPS. The kernel has a small driver > > dealing with hardware power on/off of the GPS and exposing > > /dev/gnss0 to userspace. > > > > See Johans lecture at: > > https://events19.linuxfoundation.org/wp-content/uploads/2017/12/The-GNSS-Subsystem-Johan-Hovold-Hovold-Consulting-AB.pdf > > IIUC, driver also should be needed for the firmware uploading, similarly > to the BCM WiFi/BT chips, isn't it? As far as I can tell from the filesystem on this phone there is no firmware so it is flashed into the GPS chip. > > gpsd is the most common userspace daemon for GPS. > > gpsd will then talk to /dev/gnss0 as any other TTY IIUC. > > > > Replicant has a free implementation of the "MEIF" API for this GPS, > > I think what is needed is really for someone to pick up, polish and > > contribute that to gpsd > > https://git.replicant.us/contrib/PaulK/bcm4751/ > > My main curiosity is about whether you already have a working driver > prototype, something you could share with us all, so we could start > playing with it too :) It's on my TODO whenever there is time, but I have small kids so not so much time... I was hoping for the jolly people in postmarketOS to chime in because they seem to have a bunch of people with lots of time on their hands available :D Yours, Linus Walleij