Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp310296ybb; Thu, 28 Mar 2019 03:04:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy10c4SQHTFPcHAcaefXSnIc4sQrEMJBtw6iqaOeF+OYBP+oX8w70T++1h6U8H1Ex3o0ykU X-Received: by 2002:a62:6c6:: with SMTP id 189mr39623017pfg.36.1553767450809; Thu, 28 Mar 2019 03:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553767450; cv=none; d=google.com; s=arc-20160816; b=z1gqmfZfPpTCBFgbwvuGJICG6yOlM1ETuBtUZhXa48PR7P8N7dl6fFJcXii2rf7dXZ IBLFXMD4IML2+43Pzi/YU9fx4YEPW5cpyAcvJxcaYG/VydAQsLSiCTwNecnTs+95BeUi y4Q3KRzEUUrryhU0vg0EUoT85dPTMuq/nmELhtXFCvDYmlefmIErIs1CVqFPdthmyrEx WOrZFEUTM7gsAu7rbdc98Y8bOda12wC0JSvi18qMIKho+QdFYIRzRFrl2WpGWJod44Ai oFlsnWhF7smxZNfdIoosIAtUpLNqclAqFqfFEbFv5GHTR3Zmgfw7jsDvU3xV8BmmomXY h6yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=9gJSVONBxLIZb3KhJ3D+2GYvPMFJcj7xfXWOLFiI6Uk=; b=zqgINMCT0Q1x6IX1zs9w96g26sngaN5qlSTXebQusRWg9sxAG/nuk4djgu0PNwwFuf yWFqXghAzVqssXFcXpSx5RGWmIQEZ/m2qtYRAoccRUCD6hbpQeY1LuIWK/9c//hqjgem h1BhOUcJdJmIaWeSnoKFgPnVCNKJLR0nerjmuCl1ZgbS0OliyeTlUIKdBx32+bs0X5+f hd1z5EauHZZKB5EeXdU1K0r+3EKsuXC/LPBc2vdazjEk3EPLKDkLV8KNlng7KnLUG4oO 8+O6qX7nGwivhDK+4aDl6Oo9hqvMMJg72U2bgd8UY+8Ap/g+8WuQgpleaKOl4e7ubiOL afng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zxlDHLil; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si15790578pgp.68.2019.03.28.03.03.54; Thu, 28 Mar 2019 03:04:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zxlDHLil; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726243AbfC1KDR (ORCPT + 99 others); Thu, 28 Mar 2019 06:03:17 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43557 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbfC1KDR (ORCPT ); Thu, 28 Mar 2019 06:03:17 -0400 Received: by mail-wr1-f67.google.com with SMTP id k17so14110662wrx.10 for ; Thu, 28 Mar 2019 03:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=9gJSVONBxLIZb3KhJ3D+2GYvPMFJcj7xfXWOLFiI6Uk=; b=zxlDHLilTbuIYbU26AeGTVV/M7lcLD3piIwWEn+kfoI5PeUr1EH659o+mN2QoKQCYN IGFce3yqQ1SemDjVbBWXRieNM3eNf21odTEXhLWJj9Fg8DYNCIjKFQ/x5PBvBaL923kD iIjU6C2/nDuTeW2uIP49utyuhxbUifue7kA6wR7a2AZ9cqQ/SbMoujGX0+1OUhB3oH9l Ww9Lmft8psz+7LlVxcdgqrME81kqp8FUYw6+u6i7zsQad/ASPcb4ZqjSVkw3vHQLFx9X O4k522kusVOmJmlr6Ws1K32E2EKufYuH39EFGQ4n9UVFGYS6Kkagl0X9ZAQeNpMAX2B5 kIrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9gJSVONBxLIZb3KhJ3D+2GYvPMFJcj7xfXWOLFiI6Uk=; b=HdK3V3EaXaud9oWLY4vhxXpJ8N1KUoNKZEGOkIF2LtoKDir27yOef5WHJaZa6KElTk WKnshDtF7kRVHa1ca9uheZGqPIiShaPSIf3FxGJC4xv0WUrtlb77o6mEkKRHVpgPxNAR w1J253kWCcb0e6llMa0mSbQFffu3Ib0SVWWW3JHyatJCR8LhGjIe+Uz6LGuVYl9X22rr WE7pJN7n2eBlRSiJSRx92aS/Gf3IKIzKt+DhwxIRJMoNqlI0EzbkevFqRdKIDAq3mUEX nlfZRFHNfAPBT2JtMsjgFVB8SkUebWenoX1MZZRqfAcuD7vN3fso64xzpx6aZqf5QgX5 laNQ== X-Gm-Message-State: APjAAAULzPIJJdBqonJBJ2vvbqjvGEa6s4qune2pjD6uZBelrEGFmqm7 9b/yNsulDESPUQovWFIhLN80RA== X-Received: by 2002:a5d:474d:: with SMTP id o13mr26822461wrs.278.1553767395366; Thu, 28 Mar 2019 03:03:15 -0700 (PDT) Received: from loys-ubuntu-BY1835A49200471.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id q8sm1230315wmq.35.2019.03.28.03.03.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Mar 2019 03:03:14 -0700 (PDT) From: Loys Ollivier To: Johan Hovold , Matthias Brugger Cc: Loys Ollivier , Colin Ian King , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH RFC 0/1] gnss: get serial speed from subdrivers Date: Thu, 28 Mar 2019 11:03:08 +0100 Message-Id: <1553767389-22857-1-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Here's a patch that moves the currently hardcoded, default serial speed to the subdrivers. If the default speed is not specified by the subdriver then it is read from the device tree. Please let me know what you think ! Cheers, Loys Loys Ollivier (1): gnss: get serial speed from subdrivers drivers/gnss/mtk.c | 6 +++++- drivers/gnss/serial.c | 21 +++++++++++++-------- drivers/gnss/serial.h | 3 ++- drivers/gnss/ubx.c | 3 ++- 4 files changed, 22 insertions(+), 11 deletions(-) -- 2.7.4